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.

TMDXIDK437X: ADC support

Expert 1130 points

Part Number: TMDXIDK437X

Hi,

I am looking for a code example AM437x ADC - simultaneous sampling of both ADC for the purpose of motor control, and could not find any.

I am trying to sample both ADCs and have "Start convert" signal depend on a timer to capture motor currents.

The examples I could find were very basic and I also could not find associated documentation to get me started.

I saw an example that uses PRU to ADC sampling, But I need PRUs for other purposes.

 

  • Hi,

    There are examples for ADC0 (TS ADC) in the following locations:

    • <PDK>\packages\ti\starterware\examples\adc
    • <PDK>\packages\ti\board\diag\adc

    There aren't any examples for ADC1 (MCR ADC), or for simultaneous ADC1/ADC0 sampling mode.

    My suggestion is you being with the Starterware example, then create a new example for ADC1. Finally, extend the example for to include simultaneous ADC1/ADC0 sampling mode.

    I'll share this PRSDK gap with our development team.

    Regards,
    Frank