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.

AM68A: CPTS output trigger generation

Part Number: AM68A


Tool/software:

Dear All,

we have a input PPS signal and Input 10MHz clk. we want to use CPTS module to generate output trigger signal for a sensor.

We connected input PPS to MCU_CPTS0_HW2TSPUSH ( MCU domain) or CPTS0_HW2TSPUSH ( main domain)

We connected input 10MHz clk to MCU_CPTS0_RFT_CLK ( MCU domain) or CPTS0_RFT_CLK ( main domain)

On what pin can we generate the output signal ( where should we route the TS_GENFn) ?

1) In MCU domain , can we rout it to 

-> MCU_TIMER_IO1 pin (B26)

-> SYNC0_OUT (AB26)

-> SYNC1_OUT (AD28)

-> SYNC2_OUT (T28)

-> SYNC3_OUT (Y27)

2)  In MAIN domain , can we rout it to 

-> TIMER_IO1 pin (AG25)

-> SYNC0_OUT (AB26)

-> SYNC1_OUT (AD28)

-> SYNC2_OUT (T28)

-> SYNC3_OUT (Y27)

3) Or are there any other option to do this?

Best Regards,

d.

 

  • Hi,

    We connected input PPS to MCU_CPTS0_HW2TSPUSH ( MCU domain) or CPTS0_HW2TSPUSH ( main domain)

    Yes, you have to enable HWPUSH in CPTS for logging EVENTS based on input PPS.

    We connected input 10MHz clk to MCU_CPTS0_RFT_CLK ( MCU domain) or CPTS0_RFT_CLK ( main domain)

    Yes, you can feed CPTS ref clock using external clock.
    If input clock is 10MHz, CPTS counter tick value is 100usec not 1nsec.

    On what pin can we generate the output signal ( where should we route the TS_GENFn) ?

    1) In MCU domain , can we rout it to 

    -> MCU_TIMER_IO1 pin (B26)

    -> SYNC0_OUT (AB26)

    -> SYNC1_OUT (AD28)

    -> SYNC2_OUT (T28)

    -> SYNC3_OUT (Y27)

    You can generate output any of above.
    In case if you choose output is TIMER then it will be input to timer module, which is internal signal can't catch out of SOC.
    If you want to monitor by tasking out from SOC then you need to route to any of SYNCx_OUT.

    Best Regards,
    Sudheer

  • Hi Kumar,

    thank you for the replay.

    There are two CPTS module one on MAIN domain and one on MCU domain?

    The CPTS  Main module can generate to  SYNC2_OUT (T28) pin and also the CPTS  MCU domain can generate to same pin  SYNC2_OUT (T28) ?

    The Timer output pins MCU_TIMER_IO1 pin (B26) and TIMER_IO1 pin (AG25) also physical pins so it is possible to rout the TS_GENFn to those pins and monitor the signal on  MCU_TIMER_IO1 pin (B26) and TIMER_IO1 pin (AG25) output pin?

    Best Regards,

    d.

  • Hi,

    There are two CPTS module one on MAIN domain and one on MCU domain?

    MCU Domain CPTS is MCU_CPSW's CPTS.
    Main Domain you have Main_CPSW's and NAVSS CPTS.

    The CPTS  Main module can generate to  SYNC2_OUT (T28) pin and also the CPTS  MCU domain can generate to same pin  SYNC2_OUT (T28) ?

    From Timesync out point of view only 4 SYNCn_OUT are available. You can route any of CPTS GENF to SYNCn_OUT.
    But, you can map two CPTS Modules Input to same output.

    You can route MCU_CPSW to SYNC0_OUT, Main_CPSW to SYNC1_OUT like this.

    The Timer output pins MCU_TIMER_IO1 pin (B26) and TIMER_IO1 pin (AG25) also physical pins so it is possible to rout the TS_GENFn to those pins and monitor the signal on  MCU_TIMER_IO1 pin (B26) and TIMER_IO1 pin (AG25) output pin?

    Routing of CPTS_GENF to Timer is internal route you can configure GENF and select input clock to Timer module.
    Based on timer configuration, you can monitor output signal on TIMER_IO pins (which is reference to GENF input clock to timer).

    Best Regards,
    Sudheer