cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L011F4 ADC Reading problem

Muhammed Güler
Senior III

In a previous project, I configured the PA0, PA1 PA2 inputs as ADC and read them with DMA without any problems. Since I need to use PA0 and PA1 for another job, I shifted the ADC inputs to PA7 and PB1. but I was not able to read these channels with DMA. Is there a limitation of L0 series with ADC and DMA that I am not aware of?

1 REPLY 1
TDK
Guru

> Is there a limitation of L0 series with ADC and DMA that I am not aware of?

The DMA doesn't care (or know) about what pins you're using. ADC results are placed in ADC->DR regardless of the pin used and the DMA picks them up from there.

Must be another bug somewhere.

If you feel a post has answered your question, please click "Accept as Solution".