Skip to main content
Visitor II
October 25, 2022
Question

Is it possible to change certain pin's "pull-up under reset"?

  • October 25, 2022
  • 1 reply
  • 830 views

in STM8L151G3 the PA0, PB0 and PB4 is configured with pull-up under reset. I wonder if we can change it back to floating under reset?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    November 1, 2022

    What do you mean by "change it back"?

    The behaviour of the pins under reset is fixed and documented in the data sheet, e.g. as foot note under table 27:

    All pins except PA0, PB0 and PB4 are floating under reset. PA0, PB0 and PB4 are configured with pull-up under reset.

    Does it answer your question?

    Regards

    /Peter