This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365<-> OV5642 interface: No video data received

Hi,

I am trying to interfaced OV5642 image sensor with DM365 processor. The OV5642 image sensor is sending YCbCr 4:2:2 interleaved data with separate VSYNC, HSYNC and PCLK. I am capturing 1280x720P data from OV sensor. The PCLK is coming at 24MHz, VSYNC is at 7.5 fps and I am able to see the data coming on all data lines using CRO.

On the DM365 side, I have configured the ccdc in YCbCr_SYNC_8 mode and I am receiving the interrupts at regular interval but when I see the data in frame buffer, it has definite pattern ( 0x02,0x03,0x02,0x03) . The register dump file is attached hereby.

Also, I have following queries.

.       Do we need to configure PPLN,SPH,LNH,LNV register? As per our understanding, the ISIF will internally take care based on VSYNC and HSYNC signals that are Coming from external sensor.

Sensor data lines are connected to CIN lines and so we are setting YCINSWAP bit as 1. Please confirm.

Can anyone offer help on solving this problem?

Thanks in advance!!!

0x01C71000 : 0x3   
0x01C71004 : 0x2000
0x01C71008 : 0x0   
0x01C710c  : 0x0   
0x01C71014 : 0x0   
0x01C71018 : 0x0   
0x01C7101c : 0x9ff 
0x01C71020 : 0x1   
0x01C71024 : 0x1   
0x01C71028 : 0x2cf 
0x01C7102c : 0xffff
0x01C71030 : 0xff  
0x01C71034 : 0x50  
0x01C71038 : 0x0   
0x01C7103c : 0x430 
0x01C71040 : 0x0   
0x01C71044 : 0x0   
0x01C71048 : 0x0   
0x01C7104c : 0x0   
0x01C71050 : 0x200 
0x01C71054 : 0x200 
0x01C71058 : 0x200 
0x01C7105c : 0x200 
0x01C71060 : 0x0   
0x01C71064 : 0x0   
0x01C71068 : 0x0   
0x01C7106c : 0x0   
0x01C71070 : 0x0   
0x01C71074 : 0x169 
0x01C71078 : 0x0   
0x01C7107c : 0x0   
0x01C71080 : 0x0   
0x01C71084 : 0x0   
0x01C71088 : 0x812 
0x01C7108c : 0x0   
0x01C71090 : 0x0   
0x01C71094 : 0x0   
0x01C71098 : 0x0   
0x01C7109c : 0x0   
0x01C710a0 : 0x0   
0x01C710a4 : 0x0   
0x01C710a8 : 0x0   
0x01C710ac : 0x0   
0x01C710b0 : 0x0   
0x01C710b4 : 0x0   
0x01C710b8 : 0x0   
0x01C710bc : 0x0   
0x01C710c0 : 0x0   
0x01C710c4 : 0x0   
0x01C710c8 : 0x0   
0x01C710cc : 0x0   
0x01C710d0 : 0x0   
0x01C710d4 : 0x0   
0x01C710d8 : 0x0   
0x01C710dc : 0x0   
0x01C710e0 : 0x0   
0x01C710e4 : 0x0   
0x01C710e8 : 0x0   
0x01C710ec : 0x0   
0x01C710f0 : 0x0   
0x01C710f4 : 0x0   

--
Regards,
Krunal

  • Hi Krunal,

    Would you please post your ov5642 register set which you are using to capture 1280x720P data?


    Actually I am trying to interfaced OV5642 image sensor with zynq board zc702. And I am not able to get the VSYNC.

    Thanks in advance.

    Regards,

    Mayank

  • Hi krunal, couple of,questions,before answering. 1. When you say no valid video data, your DQBUF is successful and you are not able to see any valid video when played in raw player? 2. When you say data is 0x01 0x02 0x03 0x04 and so on.., do you mean to say all msb data is zero and only lsb is valid in each 2 bytes?