cancel
Showing results for 
Search instead for 
Did you mean: 

What shall i do with the NPOR pin in the stm32f0x8 line mcu?

Benjamin Gao
Associate II
Posted on February 11, 2017 at 19:26

Hi everyone!

In

RM0091 i was told that  the stm32f0x8 is some special, it's NPOR pin must be held low until VDD is stable, and when VDD is stable, the reset state can be exited either by putting the NPOR pin in high impedance.

Does this mean i should connect this pin pull down to GND, and wait for VDD stable, then set the reigster to make the pin high 

impedance? But how can the mcu knows VDD is on what status? Is there any other method to handle this pin?

Thanks~

Benjamin

5 REPLIES 5
Posted on February 11, 2017 at 22:57

No it sounds like you need an external chip which externally clamps the pin low (open-collector) until the supply thresholds. Something like an MCP120

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on February 12, 2017 at 03:24

Hi Clive, the 

MCP120 is exactly what i need, thanks a lot!

Posted on February 12, 2017 at 03:27

and what does '

putting the NPOR pin in high impedance

' mean, should this code be ran after the MCU is on?
ANURAG AKBARI
Associate
Posted on February 16, 2017 at 20:27

Can any one help me to understand NPOR pin feature in STM32F0x8 series. 

What is the purpose of this pin and how to use this pin.

I am new to stm32 series microcontroller.

Posted on February 16, 2017 at 22:36

Understand that the role of designer means you need to read and digest the technical documentation. In ST's case this would be the Data Sheet and Reference Manual.

The part you are talking about is a 1.8V powered device, as such it doesn't have an internal POR (Power On Reset) circuit, you must provide this externally as part of your power supply design/strategy. Synchronous circuits need an effective reset circuit, this is not achieved with a simplistic R-C circuit, which is prone to fail under regular operating conditions, ie user initiated resets, or brief interrupt of supply. The latter can leave the chip in an indeterminate state.

The NPOR signal is expected to clamp the pin to ground for a period of time after the supply (yours) has stabilized.

The suggested circuit would be a laser trimmed MCP120 (or equivalent device) attached to VDDA and with something like a 10 or 47K pull-up to VDDA

NPOR type inputs are NOT unique to STM32, but common over a lot of processors from the last several decades. The NRST and NPOR type pins should not be actively driven by push-pull drivers, or directly to supply pins.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..