Skip to main content
quintananegrete
Visitor II
June 27, 2016
Question

stm32f746g-disco. Problem with adc. multichannel

  • June 27, 2016
  • 1 reply
  • 531 views
Posted on June 27, 2016 at 11:14

Good morning, sorry for my bad english

I have a problem, with the adc

peripheral. I want to take 2

measurements, each from a different channel. My idea is to use ''NbrOfCurrentConversionRank'' to differenciate a channel, from de other channel, but

''NbrOfCurrentConversionRank''

is always set to 0, and this variable don't exist in ''stm32f7xx_hal_adc.c''. Could it be a failure in libraries??

    This topic has been closed for replies.

    1 reply

    slimen
    Visitor II
    June 28, 2016
    Posted on June 28, 2016 at 10:59

    Hi towi.towi,

    You can use Rank parameter instead of NbrOfCurrentConversionRank .

    Regards