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.

f28027 ADC SOC question

Other Parts Discussed in Thread: CONTROLSUITE

I have a question about the C2000 Launchpad ADCs.


I was looking at the Example_2802xAdcSoc.c in the controlSUITE.

I'm curious as to why ADC_SocChanNumber_A4 was added to both ADC_SocNumber_0 and ADC_SocNumber_1.

Does this add any extra benefit?

Can multiple channels be put on the same soc?

Lastly, as I understand, SOCs are converted in a round-robin fashion.  So is the interrupt bit raised when both SOC1 and SOC2 finish?

Thanks

  • Hi Zach,

    I think the duplicate channels are to address the first sample erratum.  See the device errata here: http://www.ti.com/lit/er/sprz292m/sprz292m.pdf.

    Each SOC can convert any channel.  This allows you to generate arbitrary channel sequences, including oversampling a single channel using multiple SOCs all configured for the same channel.

    The interrupt position is configurable; you can have the ISR be triggered from the EOC of any SOC.  Round robin priority will usually result in the configured SOCs being converted from lowest to highest SOC numbers.