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.

MSPM0L1227: SYSCONFIG max ADC channel

Part Number: MSPM0L1227
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi,
I can select only 12 ADC ch in sysconfig (Software view).

Under "Reserved Peripheral" view I can see all ADC 21ch but here I can't generate the .c and .h files.

Regards, Holger

  • Hello Holger,

    The "12' you seen is the amount of the memory registers which are used for conversion results storage in the ADC. Each memory can be configurated with an input channel. This ADC has 21ch but 12 memory registers. It means that if you need to convert the input on 21 external channel, you need to configurate the input channel for the conversion results storage memory register manually after one sequence conversion completed. Please pay attention to distinguishing the concepts of " ADC channel" and "ADC conversion memory"

    Best Regards,

    Janz Bai

  • Hi Janz,
    is there an example project for manual reconfiguration in our SDK?

    Regards, Holger

  • Hello Holger,

    I am sorry that we don't have this kind of example in SDK now. You can refter to the code generated in "ti_msp_dl_config.c" file when you set the channel for conversion memory in Sysconfig. 

    For example, you configurate the conversion memory 0~11 to the channel 0~11, after the sequence conversion completed, you re-initialize the conversion memory channel (about the code, please refer to the code generated by Sysconfig when you configurate ADC conversion memory channel), you can just use conversion memory 0~8 for your channel 12~20 and don't use memory 9~11.

    Best Regards,

    Janz Bai

  • Hi Janz,

    > This ADC has 21ch but 12 memory registers.
    where is this limitation documented?

    Regards, Holger

  • Hello Holger,

    You can find it in the TRM: the Figure 14-1 ADC Block Diagram

    Best Regards,

    Janz Bai