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.

TMS320F2803x ONESHOT ADC conversions



Hello,

The TMS320F2803x ADC module datasheet describes a feature called ONESHOT mode. First, correct me if I'm wrong, I understand this to mean that if I set, say, 3 SOCs to trigger on the same source that after one trigger only the first SOC will convert, then after the next trigger the second SOC will convert etc. No overflow occurs.

Second, I can't find a way to turn this mode on or off! The control bit doesn't seem to be in the ADC register set. Is this a feature for another processor and a mistake was made in the datasheet? It would be useful to me because I am trying to interleave a sequence of conversion in round robin mode between high priority conversions that trigger on another source. Since it is happening often, it would be nice to reduce bandwidth by interrupting after the last RR EOC instead of interrupting on every conversion for a single SOC and then manually changing the channel associated with the SOC in the ISR.

Thanks

  • The following information describes the ONESHOT functionality.  It is intended to update the documentation to reflect this, however, I do not have a schedule currently.

    The ONESHOT bit is the 15th bit of the SOCPRICTL register which is the same as the ADCSOCPRIORITYCTL register.  This name should be updated in the errata and also this bit needs to be added to the documentation.  We are currently working on these updates.  The bit is already available in the F2803x Adc.h header file.

    The SOCFLG bit is referring to the bits in the ADCINTFLG register.