Skip to main content
Associate III
Feb 6, 2025 1:40 PM UTC
Solved

Number of the ADCs in STM32F103RB

Hello,
I look at the STM32F103RB datasheet and see that this microcontroller should have 2  ADCs. When I open Table 5 (see Figure 1 below in this post) in this datasheet, I see only ADC12_IN10 and so on, that is, only ADC12. Why?

Mykola_Levun_0-1738849201381.png

                              Figure 1

 

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Feb 6, 2025 1:59 PM UTC

No. ADC12_INx means it's a shared channels between ADC1 and ADC2 (two separated ADCs).

Used for example to Speed up the conversion using the interleaved mode, both ADCs are converting the same channel:

SofLit_0-1738850523119.png

Refer also to this application note AN3116 "STM32™’s ADC modes and their applications" / section 2.2 Dual fast interleaved mode:

SofLit_1-1738850861461.png

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

4 replies

mƎALLEm
ST Technical Moderator
Feb 6, 2025 1:52 PM UTC

Hello,

From the datasheet ADC12 starts from IN0. Could you please double check?

SofLit_0-1738849916350.png

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate III
Feb 6, 2025 1:57 PM UTC

Yes, starts from IN0. You didn't understand the question. ADC12 maybe it's ADC1 and ADC2?

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Feb 6, 2025 1:59 PM UTC

No. ADC12_INx means it's a shared channels between ADC1 and ADC2 (two separated ADCs).

Used for example to Speed up the conversion using the interleaved mode, both ADCs are converting the same channel:

SofLit_0-1738850523119.png

Refer also to this application note AN3116 "STM32™’s ADC modes and their applications" / section 2.2 Dual fast interleaved mode:

SofLit_1-1738850861461.png

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.