2025-06-19 3:47 AM
When Pb4 is reset, it is at a high level. Can't this be configured in the hardware? It's too disgusting. The PCB has been designed and encountered this pit.
Solved! Go to Solution.
2025-06-19 4:00 AM
PB4 is NRST - it's active low, so you'd expect its default state to be high.
This power-up state is clearly documented:
2025-06-19 4:00 AM
PB4 is NRST - it's active low, so you'd expect its default state to be high.
This power-up state is clearly documented:
2025-06-19 5:26 AM
In addition to @Andrew Neil 's comments: no, it cannot be configured in hardware. An external pulldown could help here.
2025-06-19 5:42 AM
How many resistors are suitable for external pull-down? I don't know what is suitable for internal pull-up,
2025-06-19 5:43 AM
I know what you're saying, but it's frustrating to see that such high-end chips don't have internal settings. It's common for us to use MCU to control IO high and low levels, and this kind of setting makes users make mistakes. I think it's not just me, many users have used it before.
2025-06-19 6:15 AM
If you pull NRST low, that will keep the microcontroller in reset - it will never start!
2025-06-19 6:17 AM
@奥特曼9527 wrote:it's frustrating to see that such high-end chips don't have internal settings.
Do you know of any chips which do have such settings?
It's a standard part of the design process to understand what the power-up state of the IOs will be, and design the rest of the circuit accordingly.
You should be able to find the (approximate) value of the internal pullup in the datasheet.
2025-06-19 6:34 AM
This is already such a bad design for 2025 that I am very concerned about ST's leadership position.
2025-06-19 6:46 AM
You're being dramatic. There are a very limited number of IO pins that have non-floating status at reset. There are good reasons why (so chip isn't bricked). Yes, you need to learn which ones they are so you are not bit by this. But it's been in the chips for 20+ years. I don't think ST will live or die by that decision.
2025-06-19 6:58 AM
So, again, who do you see with chips which do have this feature?