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.

TMS320F28375S: Confirm the usage of ADC

Guru 24520 points
Part Number: TMS320F28375S

Hi TI Experts,

Please let me confirm the following questions. When set the following value for ADC registers to device.
ADCSOCPRICTL.SOCPRIORITY=0Ch…SOC12-SOC15 are in round robin mode.
ADCBURSTCTL.BURSTSIZE=3h…4 SOCs converted

[Question.1]
When happen the focused converter trigger for SOC0 by using ADCSOCFRC1, what is the value of RRPOINTER?

I think that that value is "15d", right? And if happen the trigger of BURSTTRIG, this device will convert the following sequence, right?
SOC12 -> SOC13 -> SOC14 -> SOC15

[Question.2]
When set the focused converter trigger for SOC13 by using ADCSOCFRC1, what is the value of RRPOINTER? Will The value be "13d"?
I would like to know whether the RRPOINTER will update only by the BURSTTRIG or not.

If you have any questions, please let me know.
Best regards.
Kaka

  • Hi ,

    Would anyone please provide comment for me??
  • Hi Kaka,

    In your first case software triggering SOC0 will not cause any change to the RRPOINTER because SOC0 is not a RR SOC because the SOCPRIORITY register is set to 12. The location of the RRPOINTER will determine what SOCs get converted when the burst trigger is received. Since the burst size is 4 and there are 4 RR SOCs then SOC12, SOC13, SOC14, and SOC15 will always get converted on each burst trigger. This should usually start with SOC12, because the reset state of the RR pointer is 16, unless...

    In the second case, if you software trigger any of the RR SOCs, theat SOC will indeed convert (just that SOC) and the RR pointer will be changed. This will affect where subsequent burst triggers start from. So if you software force SOC13, the RR pointer will be 13 and therefore the next burst will start with SOC14 (and will convert SOC14, SOC15, SOC12, and SOC13 in that order).
  • Hi Devin,

    Thank you for your kind response.
    I got it. If I get more questions, please let me confirm them.

    Best regards.
    Kaka