Skip to main content
YRAGO
Visitor II
October 4, 2018
Question

Is it possible and how to use other GPIOs than ADC_INxx as analog inputs ?

  • October 4, 2018
  • 2 replies
  • 739 views

The Reference Manual of the STM32L1 talks about "Up to 40 external I/OS can be used far data acquisition purpose in conjonction with the ADC interface".

The ADC_INxx pins number is smaller...

I saw that we can root pins with the "Routing Interface" peripheral.

Is it possible and how to use other GPIOs than ADC_INxx as analog inputs ?

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    October 4, 2018

    >>Is it possible and how to use other GPIOs than ADC_INxx as analog inputs ?

    NO

    You can put the pins in to an analogue mode, in this context it will turn off the schmitt trigger on the digital side of the input.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    waclawek.jan
    Super User
    October 4, 2018

    They are not available in every 'L1 model, and not in every 'L1 package.

    I looked into STM32L151xD datasheet and counted 43 ADC_IN pins (although they repeat so can't be used simultaneously).

    JW