I’m new to the capabilities of the TX2 video engine but I was wondering about something …
I have an IMX185 camera which is streaming video into the TX2 with a fixed speed of 25fps.
The IMX185 does not have any hardware trigger or synchronization features by itself.
Imagine you’re filming a LED being blinked at the same speed (25Hz) then depending on when in time the camera stream would be turned on the LED would either be constant off or constant on (as it is running at the same speed as the camera)
The LED is being blinked by an external circuit and not the Jetson, however, I have the LED tied into a GPIO input on the Jetson so my hope was that somehow I could synchronize the video stream to its rising edge using interrupts or something.
One way I could think off (quite advanced) would be to start a timer off the Start Of Frame interrupt from the MIPI feed (if that is even possible?) and then time the difference between the GPIO and the SOF signal - then I could either increase or decrease the camera frame rate (not sure if this can be done in real time?) to make them come as close to each other as possible.
Something like this:
Any suggestions or pointers ?