Skip to main content
sav gas
Associate II
June 12, 2017
Question

Adc conversion

  • June 12, 2017
  • 2 replies
  • 762 views
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

    This topic has been closed for replies.

    2 replies

    Nesrine M_O
    Associate
    June 12, 2017
    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
    sav gasAuthor
    Associate II
    June 12, 2017
    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