cancel
Showing results for 
Search instead for 
Did you mean: 

Hi! I m using uC STM32G491 and I have 2 ADC triggered by TIM1 CCR3. First ADC1 converts 1 channel and ADC2 converts 2 channels in scan mode. How can I know in which JDRy registers it will be stored each conversion result?

OIoni.1
Associate II

Conversion of ADC1 and first channel of ADC2 will finish theoretically at the same time.

1 REPLY 1
Igor Cesko
ST Employee

Hi OIoni.1 ,

Each ADC has set of ADC_JDRy registers - where "y" is the conversion result in the injected sequence.

Example:

ADC1 converts only channel 4.

ADC2 converts in sequence channel 7 and the channel 3.

The result from ADC1 channel 4 is stored in ADC1_JDR1 (first converted in sequence).

The result from ADC2 channel 7 is stored in ADC2_JDR1 (first converted channel in sequence).

The result from ADC2 channel 3 is stored in ADC2_JDR2 (second converted channel in sequence).

Regards

Igor