Skip to main content
Luiz Guilherme
Associate II
May 2, 2017
Question

ADC multichannel

  • May 2, 2017
  • 2 replies
  • 866 views
Posted on May 02, 2017 at 21:14

How to make a code from 2 channels for conversion.

please!!

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    May 2, 2017
    Posted on May 03, 2017 at 00:25

    For what processor, using what tools and libraries?

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Luiz Guilherme
    Associate II
    May 3, 2017
    Posted on May 03, 2017 at 13:46

    STM32L0538, Using the HAL library and the code in c

    Technical Moderator
    May 3, 2017
    Posted on May 03, 2017 at 15:34

    Hi,

    I would recommend you the ready-use example in the STM32CubeL0 firmware package relevant to the STM32L053R8-Nucleo to understand the principle:

    STM32Cube_FW_L0_V1.9.0\Projects\STM32L053R8-Nucleo\Examples\ADC\ADC_Sequencer

    This example

    showing

    how to use the ADC sequencer to convert several channels: t

    hree channels converted are, in order, one external channel and two internal channels (VrefInt and temperature sensor)

    Hope this bring you some help.

    Imen
    "When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
    Luiz Guilherme
    Associate II
    May 3, 2017
    Posted on May 03, 2017 at 16:31

    thanks for listening