Skip to main content
TSu.1
Associate II
October 25, 2022
Question

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

  • October 25, 2022
  • 1 reply
  • 1427 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

    Peter BENSCH
    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

    In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.