2025-02-06 05:40 AM - last edited on 2025-02-06 06:50 AM by SofLit
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?
Figure 1
2025-02-06 05:52 AM
Hello,
From the datasheet ADC12 starts from IN0. Could you please double check?
2025-02-06 05:57 AM
Yes, starts from IN0. You didn't understand the question. ADC12 maybe it's ADC1 and ADC2?
2025-02-06 05:59 AM - edited 2025-02-06 06:48 AM
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:
Refer also to this application note AN3116 "STM32™’s ADC modes and their applications" / section 2.2 Dual fast interleaved mode: