I am trying to establish a Video stream using the OV2740 and the denebola RDK.
I configured the OV2740 with the RDK via I2C and configured the CSI-Block of the RDK accordingly. For the configuration I used the attached config files from the following old thread: CX3 RAW8 data stream
One of the main problems right now is that there is no MIPI CLK signal.
I already checked if the camera is active and in streaming mode.
Other signals I measured were:
MIPI DAT: some Signal => image attached
PCLK: 80MHz-Clk Signal
HSYNC: no Signal
VSYNC: no Signal
If you need any more information (such as other measurements, config or firmware files etc), I can provide them.
Thank you in advance!
As there is no MIPI clock signal, it seems that may be the camera is not configured properly. Also, can you share the MIPI receiver configuration screenshot from the CX3 configuration utility.
CX3 Configuration Tool Help available in Cypress EZ-USB Suite (Eclipse) at Help > Help Contents > Cypress EZ-USB Guides > EZ-USB Suite Guide > CX3 Configuration Utility.
Please find the attached screenshot for the reference
unfortunately, I can't show the receiver configuration in the CX3 configuration utility, because every time I open it, I receive an error.
So, I attached the config file I use here, which i copied from the stated old thread above.
I used the same MIPI settings for the camera, regarding CLKs and packet sizes.
What is the error that you are getting while opening the CX3 Configuration utility? Let us know.
The configuration file you have shared shows that the fifo delay time is not within the range. It can be solved by increasing Fifo delay to 250 bytes.(Refer the attachment)
- The PHY delay value should be set by calling CyU3PMipicsiSetPhyTimeDelay ( uint8_t tdTerm, uint8_t thsSettleDelay ) and passing the second parameter ( i.e uint8_t thsSettleDelay) as per the value seen in right bottom corner of the MIPI Receiver Configuration(Please refer the attachment). Also refer the FX3APIguide for details
- This function should be not be called while the MIPI-CSI PLL clocks are active. Either call after calling CyU3PMipicsiSetIntfParams() with wakeOnConfigure set to False (before calling CyU3PMipicsiWakeup() ),
Also, the data format is RAW8 in the config file but the OV2740 supports RAW10 output data format.
I attached the error message (Image) and the error log, which occurs when opening the config file.
This also happens with the new fifo delay value (250).
I chose the data format RAW8 only because of the above stated thread. I didn't try switching to RAW10 yet, because most of the other values have to be adjusted accordingly. Therefore, I set the data format also in the camera settings to 8 bit.
I call the function "CyU3PMipicsiSetPhyTimeDelay (0,9)" right after the "CyU3PMipicsiSetIntfParams(&null_RAW8_1080P, CyFalse)" function call.
Again, I got the value for the function (thsSettleDelay = 9) from the stated thread, because I couldn't see the calculations in the CX3 configuration utility.
Thanks and regards,
From the error logs it seems there is some problem with the plugins. Let me know which SDK version are you working on
Can you share your project file to get better clarity on the problem
For the CX3 Configuration Utility error, can you re install the SDK 1.3.4
The projects file you shared are not helpful. Can you share the files related to your project (for eg cycx3_uvc.c) i.e the .c , .h files
You don't need to share the sensor.c & sensor.h files
CX3 Configuration Utility is expected to work after re installing the SDK. Can you check it in some other PC. As you said there is no MIPI clock signal (CSI clock), it seems that there is some problem with the sensor settings.
Can you please check the sensor settings again.
>> Is it possible that the clock signal is correct and it is only not visible for me? (I am using a 2GS/s 200MHz oscilloscope)
Yes this is possible. It seems that this is a hardware limitation(oscilloscope).
Can you probe HSYNC and VYNC and share the traces. You can refer Q10 of this KBACX3 Hardware: Frequently Asked Questions - KBA91295 . Also get the debug logs for MIPI errors.