cancel
Showing results for 
Search instead for 
Did you mean: 

Adc conversion

sav gas
Associate II
Posted on June 12, 2017 at 13:02

Hi all,

I'm using STM32F030 in Nucleo-64 board.

I wish to obtain simply the result of adc conversion of two inputs, using DMA.

But in the project of the attachment I read random values in ADC_buffer[0], 

ADC_buffer[1]. 

I don't understand where are my errors.

Someone can help me?

Thanks

2 REPLIES 2
Nesrine M_O
Lead II
Posted on June 12, 2017 at 17:05

Hi

gastone.saviolo

,

Please try to start from ready examples under the STM32F0 cube firmware package:

STM32Cube_FW_F0_V1.8.0\Projects\STM32072B_EVAL\Examples\ADC

-Nesrine-

sav gas
Associate II
Posted on June 12, 2017 at 17:19

Hi Nesrine,

I tested that project, but i'm not able to make this changements:

  1. set two input adc channels (PA0, PA1)
  2. read the converted values

Thanks,

sav gas