Jump to content

Recommended Posts

Posted

Hi,

I am looking for programming sequence to configure the Omnivision 5640 camera for different resolution in C code. Could you please point me to the programming sequence or driver code.

Thanks in advance.

Posted

Hi @PRALHADRAO

Please take a look at the Zybo Z7's Pcam 5C demo: https://digilent.com/reference/programmable-logic/zybo-z7/demos/pcam-5c. The initialization sequence can be found in the demo's OV5640.h header: https://github.com/Digilent/Zybo-Z7-SW/blob/5d358aa3469869382f9fb515b65af3469775e3c8/src/Zybo-Z7-20-pcam-5c/src/ov5640/OV5640.h. You can see a variant configuration which narrows the width of the camera output by half here: https://github.com/Digilent/ZedBoard-FMC-Pcam-Adapter-Dual-Camera/blob/b286db9baca9092f234c3fe6a75d8a9ba755e9f4/sdk/appsrc/ZedBoard_FMC_Pcam_Adapter_DEMO/cam/OV5640.h#L344C22-L344C54.

Otherwise, additional information can be found in the OV5640 datasheet.

Thanks,

Arthur

Posted

Thanks Arthur,

 

Basically, we have following questions related to Digilent OV5640 camera:

1. Whether it supports RGB888? Kindly provide register programming sequence or programming manual or pointer would help.

2. Is there programming guide for OV5640 in general for different formats like RAW8, RAW10, RGB555, RGB565, RGB444.

Could you please provide an email of any contact @Digilent for further assistance?

 

Regards,

Pralhadrao, Synopsys

pralhad@synopsys.com

Posted

Digilent does not provide a full programming manual for this device. The demos linked above are the main example code we provide for the use of the Pcam 5C and they only support the RAW10 format. The best resource for information needed to potentially modify the examples for other data formats will be the OV5640 datasheet, which can be found here. Unfortunately, it also does not include all register settings used and such modifications could be involved, potentially requiring changes to the video pipeline hardware in addition to the software. Similar changes have been discussed in this thread: 

This forum is the primary support channel, such that other users can benefit from any questions received. I've reached out internally to see if we have any additional information that we may be able to provide on using other data formats.

Thanks,

Arthur

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...