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.

TDA4AL-Q1: How to handle external PPS(Pulse Per Second) with Processor SDK?

Part Number: TDA4AL-Q1

Tool/software:

Hello
I need to synchronize camera in R5 with external PPS signal. Could you provide sample code if you have?
If no sample code is available, could you guide following things?
- GPIO on TDA4AL EVM can receive PPS signal in R5
- Available HW timer for PPS in R5
I'm using Processor SDK RTOS J721Se 09.00.00.

Thanks in advance.

Wilson

  • Hi Wilson,

    Could you elaborate your usecase here?

    I need to synchronize camera in R5 with external PPS signal

    Where are sending the PPS signal from?

    Are you using csirx to capture the frames on R5?

    Regards,

    Nikhil

  • Hi Nikhil,

    I'm doing a feasibility study to sync the camera on TDA4 with other cameras.
    One camera is connected to TDA4AL EVM for ISP processing, and the others are connected to capture card on PC. Capture card vendor provides the device(called tirgger box) that sends PPS and capture card uses PPS for sync.
    I'm planning to implement PPS synced timer on TDA4AL and control fsync of camera based on timer. I asked available timer and GPIO for this.
    And, I'm using csirx on R5 to get camera frame.

    Best regards,

    Wilson.

  • Hi Wilson,

    You could use ePWM to generate signals, or use any GPIO and toggle the same based on the PPS received.

    I'm not sure if this has anything to be done with csirx as here you are trying to synchronize the sensor. 

    Are you using a deserializer here or are you connecting the sensor directly to TDA4AL EVM? Could you please check if the Des has a way to generate FSYNC signal to control the sensor.

    Regards,

    Nikhil