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.

TMS570LC4357: Generate output signal to indicate start of ADC conversion

Other Parts Discussed in Thread: HALCOGEN

Hi Sunil,

I'd like to be able to see when my ADC1 module conversions are being triggered by the PWM module. Is the EXT_ENA pin the best (only?) way to do this? If so, how do I set this up? Currently I don't see anything on the output of the pin.

Thanks,

Kevin

  • Hi Kevin,

    I have split this post to a new thread to keep the topics separate. This makes it easier to search topics and enhances the usability of this forum.

    The EXT_ENA signal rising edge represents the start of the sampling period of an ADC conversion sequence. The other option is to output the internal event being used to trigger the ADC. There is some delay between the trigger event and the ADC sampling actually starting, but this would be in terms of VCLK cycles, so may be negligible to observe on a scope.

    AD1EXT_ENA is available to be output on two terminals:

    • V8 = MIBSPI5SOMI[3]/DMM_DATA[15]/I2C2_SCL/AD1EXT_ENA, OR
    • G16 = MIBSPI3SIMO/AD1EXT_SEL[0]/ECAP3

    AD1EXT_ENA is not the default function chosen to be output on either of these terminals. So you do need to configure the PINMUX tab in HALCoGen to output the AD1EXT_ENA on either (or both) terminal(s).

    Regards, Sunil