cancel
Showing results for 
Search instead for 
Did you mean: 

[SOlved]Nucleo401RE multi channel adc using dma example

sanjuchopracool
Associate II
Posted on March 21, 2015 at 15:09

I am newbie to stm32. On nucleo401 board i want to use six analog inputs together. ST suggest that we should use stm32cube (HAL) instead of Standard Peripheral Library. But i can't find the example of multichannel adc using dma with st32cube HAL Library. I tried myself but my example did not work. There are some examples in stm32cubef4 but all of them are using only 1 channel. Please provide me the multichannel adc working example using HAL.

#nucleo-adc
3 REPLIES 3
sanjuchopracool
Associate II
Posted on March 22, 2015 at 12:59

FInally i solved this. There was a bug related to SCAN MODE ENable in HAL ADC

HNguy.14
Associate II

can you share your project for me?

I want read 2 pins ADC use DMA but i can not

Please help me

sanjuchopracool
Associate II

I have made this repo public. You can check file

https://bitbucket.org/sanjuchopracool/robot/src/master/line_sensor.cpp