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.

The ADC conversion for 10-bit result on TMS570LS2125

Guru 16800 points

Hello,

I think that there are two procedures to generate 10-bit ADC result.

1. ADOPMODECR.10/12BIT = 1h and ADEVMODECR.EV DATA FMT = 2h
2. ADOPMODECR.10/12BIT = 0h and ADEVMODECR.EV 8BIT = 0h

Because the conversion time for '2' is shorter two cycles than '1', the '2' suits in terms of the speed.
Is my understanding correct?

Also, if there is another difference between '1' and '2' outside of the conversion time, could you teach me?

Best Regards.

Nomoto

  • Nomoto-san,

    You are correct - the option # 2 will complete a 10-bit conversion in two fewer cycles than option # 1.

    There are differences in the way the conversion result and the channel id are stored in the event group memory depending on the option you choose. You need to take care of this only if you are reading the conversion results directly from the event group's result memory. This does not appear to be the case as the EV 8BIT field only affects reads from the FIFO interface.

    The differences in the way the results are stored are described in section 19.3.9 starting on page 684 of SPNU499b.

    Regards, Sunil