Skip to main content
Associate II
June 19, 2025
Solved

H743 PB4 defaults to a high level issue.

  • June 19, 2025
  • 2 replies
  • 599 views

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.

Best answer by Andrew Neil

PB4 is NRST - it's active low, so you'd expect its default state to be high.

This power-up state is clearly documented:

AndrewNeil_0-1750330754274.png

https://www.st.com/resource/en/reference_manual/rm0433-stm32h742-stm32h743753-and-stm32h750-value-line-advanced-armbased-32bit-mcus-stmicroelectronics.pdf#page=533

 

 

2 replies

Andrew Neil
Andrew NeilBest answer
Super User
June 19, 2025

PB4 is NRST - it's active low, so you'd expect its default state to be high.

This power-up state is clearly documented:

AndrewNeil_0-1750330754274.png

https://www.st.com/resource/en/reference_manual/rm0433-stm32h742-stm32h743753-and-stm32h750-value-line-advanced-armbased-32bit-mcus-stmicroelectronics.pdf#page=533

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate II
June 19, 2025

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.

Andrew Neil
Super User
June 19, 2025

@奥特曼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.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
TDK
Super User
June 19, 2025

In addition to @Andrew Neil 's comments: no, it cannot be configured in hardware. An external pulldown could help here.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate II
June 19, 2025

How many resistors are suitable for external pull-down? I don't know what is suitable for internal pull-up,

Andrew Neil
Super User
June 19, 2025

If you pull NRST low, that will keep the microcontroller in reset - it will never start!

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.