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.

TDA3x Starter Kit - External Trigger for OV10640_IMI camera

Hi,

We have TDA3x starter kit from D3 Engineering along with OV10640_IMI sensor. We would like to trigger the camera at 20 FPS using an externally generated 20 Hz signal (outside TDA3x). What are the ways we could go about doing this? Is there a GPIO pin which we can configure to pass the signal to the camera? 

One idea we have is, to use a GPIO to receive the 20 Hz signal and set the GPIO interrupt. In the interrupt routine, we can send a trigger command (if possible). This would be a software method and might result in small delays (which might be fine, we don't know yet).

Another way is to generate new square wave based on the input square wave and (assuming there is a route from a GPIO on TDA3x to deserializer), pass this output square wave to deserializer, which will then go through the backward channel of SerDes pair to the camera. If anyone has any ideas about what's a good place to start with, it would be greatly appreciated.

Thanks,

Keerthi

  • Hi Keerthi,

    I think this question is more for Omnivision, as first you need to make sure that OV10640 can generate output based on the input signal provided. Once you confirm this, then we can see how we can provide this signal..
    There is a FSIN input to the OV10640, which typically used to synchronize multiple OV10640s, but please check with omnivision to see if this input can be used to trigger/start its output. so that you could control fps output from ov10640.

    Rgds,
    Brijesh
  • Hi Brijesh,

    I meant that the input signal (20 Hz pulse) will be given to the TDA3x, which will then generate the suitable FSIN signal to the OV10640. What I am not sure about TDA3x starter kit is this:

    Is there a GPIO on TDA3 which is connected to the 964 deserializer? If there is, we can send that output FSIN signal to the deserializer, which will then send it over FPD-Link through the back channel to the serializer at the camera side. I confirmed from D3 that the camera's FSIN is connected to serializer GPIO.

    I will check with omnivision meanwhile, regarding FSIN and it's recommended use.

    Thanks,

    Keerthi

  • Hi Brijesh,

    The OV10640 can stream at 20 FPS when given a trigger FSIN signal. Do you know if there is a pin on the starter kit where we can send the external trigger and make it pass it to the 964 Deserializer?

    Thanks,

    Keerthi
  • Hi Keerthi,

    There are several GPIOs on Deserializer, which can be forwarded to serializer and serializer can output them, so you could connect to FSIN. I think this is one way to send FSIN from deserializer to all the way to sensor.

    Rgds,
    Brijesh
  • Yes, I figured that out. What I don't know (or yet to figure out) is whether the TDA3x starter kit's schematics allow a connection between a TDA GPIO output pin to 964 Deserializer's GPIO input pin. I have checked the schematics provided by D3 and it wasn't obvious if such a connection exists.

    There is J28 connector on board which has two inputs and outputs through which we can supply a signal and it reaches TDA, but I not sure how to forward that to the 964's input. Any suggestions?

  • I finally figured out that there is a connection from GPIO4_5 to 964's input GPIO0 which can take in the frame sync signal and pass it to serializer and hence the camera. I am now able to trigger the camera using trigger signal generated on TDA3x using its EPWM module. Even though this is not true "external" signal, we are ok with this since we can sync this PWM module with the external signal and achieve the same results.

    Thanks Brijesh for your help so far.

  • Great
    I am closing this thread.

    Rgds,
    Brijesh