- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On page 64 of document 001-75779 Rev. *K, section 9 : Connecting Two Image sensors, the last paragraph says "
"As shown in the connection diagram, Frame Valid 2, Line Valid 2, and PCLK 2 signals are connected to FX3, but they
are not utilized by the GPIF II block because the image sensors are assumed to be synchronized. These signals are
connected to FX3 so it can monitor the signals to check the accuracy of the synchronization between the image sensors
during debug and development"
Now I found a problem that most likely is due to two sensor out of sync. Thus, I would like to know how to modify firmware to check delay between Frame Valid 1 and Frame Valid 2, Line Valid 1 and Line Valid 2, and PCLK 1 and PCLK 2?
Thank you in advance.
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
To check the time difference between two Frame valid on FX3, you can use a different firmware like gpioApp from the FX3 SDK and configure two GPIO to which the frame valid signals are connected. In the GPIO configuration, register for CY_U3P_GPIO_INTR_POS_EDGE interrupt for both the GPIO. On getting the interrupt, use CyU3PGetTime to get the OS timer ticks when interrupts associated with both GPIO is triggered.
Please note that the minimum OS timer tick value is 1ms so if the difference between both frame valid is <1ms then How to Get a 0.1-µs Unit Timestamp with FX3 – KBA2... - Cypress Developer Community KBA can used to get timestamp with lower resolution.
The time difference between two interrupts can be printed through UART using CyU3PDebugPrint API in the thread entry function
Rashi