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.

RM46L852: RM46L852

Part Number: RM46L852

Hello,


Is it possible to use ADC1 to convert channels 1 to 12 at the same time that the ADC2 converts the channels 13 to 24 ?. How would the programming be?

  • My guess is that it is not possible. I am interested to see what the official reply to this is.
  • Hello Cesar,

    ADC1 and ADC2 share pins AD1IN[15:8] with AD2IN[15:8] and AD1IN[23:16] with AD2IN[7:0]. So, in short, the channels you are identifying with ADC2 do not match the datasheet.

    However, assuming your intention is to say that ADC1 converts the lower 12 channels, AD1IN[11:0], at the same time that ADC2 converts the upper 12, AD2IN[15:12, 7:0], then the answer is that they can be very close since both operate relatively independently. i.e., each has its own ADC groups that can be configured to associate a group of channels, and each can be triggered using the event triggers defined in the datasheet. If both ADC1 and ADC2 event trigger options are the same (i.e., default, option A or option B) then, in theory, you can select common trigger sources for both ADC1 and ADC2 such that when the trigger asserts, the conversion on each ADC core will start.

    As an easy example, if you setup the RTI to fire an interrupt every 10ms, this could be used as a trigger for one of the ADC groups for both ADC1 and ADC2. When the RTI compare reaches the prescribed count and the interrupt asserts, the conversion on both cores will start. The only ppotential for differences would be latency of the interrupt reaching the ADC cores and any synchronization differences between the two ADC clocks.
  • Thanks Chuck. It will help me with my project.