Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Startup pins status

Status
Not open for further replies.

HighTechPower

Member level 5
Joined
Jul 10, 2020
Messages
91
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
703
Hi. I want to know what happens immediately after microcontroller is given power. Does all bits goes high at startup for a very short period of time? If yes then how to keep them low even at very startup.
 

To pull a terminal down briefly at powerup...
Attach a capacitor to ground. Attach a resistor to V+.
A sensible R value is 1-100 kohm. Size the C value to create your desired time delay. As the cap charges, the resistor pulls the terminal high.
 
Hi,

In detail the datasheet will give answers.
There may be pins that are "floating" after power up, there may be pins that are pulled to a known level (dedicated I2C pins may be internally pulled up).
To be sure you need to read the datasheets - like all of us.

So at most microcontrollers I've seen the port pins go "high impedance" and not "HIGH" as you assumed.
The usual method to get a known state at power up is to use external pull up or pull down resistors. Whether an additional capacitor is useful depends on your requirements.

Klaus

Note: at most of my microcontroller projects there are some pins externally pulled HIGH or LOW. Like /SS, /CS, /RD, /WR...
This avoids short circuit that happens when multiple bus partners actively drive data lines at the same time.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top