Skip to main content
Visitor II
November 24, 2022
Question

STM32MP157CAC3 Setting PD13 pin to low in sleep mode

  • November 24, 2022
  • 2 replies
  • 894 views

Hi,

We are using SEEED studio 102110318 module which uses STM32MP157CAC3 processor. We want to know if there is any way we can keep processor pin PD13 pin to low state in suspend state. We want the pin to maintain low state while in sleep mode. We have added pullup on this pin in Hardware which is affecting one of our peripheral operation in sleep mode. For this reason we want this pin to be set low which will solve the issue. We do not have any other option to remove pullup in hardware as our device production is completed

Regards

Narendra Singh

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    November 24, 2022

    Hi @kumar singh​ 

    If you are referring to HW STANDBY mode (as per Reference Manual) with VDDCORE in shutdown, there is no way to have a GPIO active in that state (as per HW, all GPIOs are in high-z during STANDBY as thr is no core supply).

    I see no SW solution for that.

    Few HW possible solution :

    • Look at PWR_ON signal (which is low in STANDBY) and use PWR_ON (with a diode) to force your PD13 to low. You will have some unwanted power consumption in your board pull-up on PD13
    • Connect the pull-up high-side to a platform supply which is OFF in STANDBY

    Regards.

    Visitor II
    November 24, 2022

    Hi Patrick,

    Thanks for your clarification. We were looking for SW fix if possible as our finished product is already delivered to client. Hence its difficult to do rework at this moment. Its a blunder we didn't test the use case before delivering. Now we are not left with any solution other than to remove pull up in hardware(pull up removal will solve our problem). Anyway, Thanks a lot.

    Regards

    Narendra Singh