Hi,

anyone on this?

As I see, it is impossible to set multiple channels on STM32F4xx.
To have multiple ADC channels configured for an STM32, it is required to
have DMA enabled for the ADC, which seems not to be supported on STM32F4.

Is that correct? So the F4s can use only one pin in ADC?

Στις Πέμ, 10 Δεκ 2020 στις 4:04 μ.μ., ο/η Fotis Panagiotopoulos <
f.j.pa...@gmail.com> έγραψε:

> Hi everybody!
>
> I am trying to use the ADC on an STM32F427.
> I am able to properly register the driver and access the ADC device.
>
> However, I am really confused on the proper use of the driver.
> I have 8 ADC-capable pins on my board that I want to read.
>
> I want to achieve the following sequence:
> 1. Select the desired pin.
> 2. Trigger a single conversion, and wait for it to finish.
> 3. Read the result.
>
> What is the correct way to achieve this?
>

Reply via email to