cancel
Showing results for 
Search instead for 
Did you mean: 

multiple ADC for gpio

AVazquez
Associate III

Hi!! I have STM31mp157C and I want to use the ADC. 

I am exploring the available GPIOs and have observed that some are present in both ADC1 and ADC2.

For example, according to the datasheet, PA4 can be used with ADC1/ADC2.

unnamed.png

Is there any difference between measuring from ADC1 or ADC2?

Is there any use for a GPIO to be in both ADC1 and ADC2 (such as performance improvement, special modes of operation or similar)?

 

Thanks!

A.

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

HI @AVazquez 

Either ADC1 and ADC2 have same performance.

Double connection allows more flexibility in channel assignment and might allows some particular usages in dual-ADC mode (simultaneous or alternate sampling). It is also due to some legacy with MCUs products.

Even is quite old, this AN could help to understand the various modes AN3116: STM32™'s ADC modes and their applications.

We provide the HW, it is sometimes up to our customers to find differentiator use cases to create added value on their final products.

Regards.

 

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
PatrickF
ST Employee

HI @AVazquez 

Either ADC1 and ADC2 have same performance.

Double connection allows more flexibility in channel assignment and might allows some particular usages in dual-ADC mode (simultaneous or alternate sampling). It is also due to some legacy with MCUs products.

Even is quite old, this AN could help to understand the various modes AN3116: STM32™'s ADC modes and their applications.

We provide the HW, it is sometimes up to our customers to find differentiator use cases to create added value on their final products.

Regards.

 

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.