2022-04-21 10:30 AM
I am using STM32L4S9AII6 MCU.
I am exploring options to ensure that certain outputs are forced to a known safe state during power up. I want to be able to take advantage of the MCU's built in GPO pull-up and pull-down configuration features, but I am worried about the interval of time between when the MCU receives supply power at startup to when the MCU gets to initializing the GPO pins as pull-ups or pull-downs at the beginning of the program.
If I configure a GPO pin as a pull-up or a pull-down, does that hardware configuration remain physically in place through the power cycle process?
Solved! Go to Solution.
2022-04-21 10:43 AM
>>If I configure a GPO pin as a pull-up or a pull-down, does that hardware configuration remain physically in place through the power cycle process?
NO
Assume anything you want in specific states at power-up, through initialization is done externally.
The initial register states should be in the RM, with most going into floating input states.
Watch also what the ROM Boot Loader might have expectations on for specific pin usages, in AN2606
2022-04-21 10:43 AM
>>If I configure a GPO pin as a pull-up or a pull-down, does that hardware configuration remain physically in place through the power cycle process?
NO
Assume anything you want in specific states at power-up, through initialization is done externally.
The initial register states should be in the RM, with most going into floating input states.
Watch also what the ROM Boot Loader might have expectations on for specific pin usages, in AN2606