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.

Why Pull UP Resistors In MUX control lines ?

Status
Not open for further replies.

ranaya

Full Member level 1
Joined
Jan 22, 2012
Messages
99
Helped
4
Reputation
8
Reaction score
9
Trophy points
1,288
Location
Kelaniya
Activity points
2,173
Hello all......

Can any 1 explain me what is the importance of using pull up resistors in multiplexer control lines ?? In many circuits I have seen this, :

ddw.JPG

Current flows from vcc to digital pin of MCU.
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
49,387
Helped
14,435
Reputation
29,134
Reaction score
13,225
Trophy points
1,393
Location
Bochum, Germany
Activity points
284,249
Can any 1 explain me
Not without knowing what's on the left side. Pull-up makes sense e.g. for 8051 port0, which has open drain outputs. In other cases, it may be waste of components and energy, respectively brainless copy-and-paste.
 

demetal

Full Member level 5
Joined
May 2, 2011
Messages
275
Helped
21
Reputation
42
Reaction score
21
Trophy points
1,298
Location
Kingdom Of Kochi
Activity points
3,173
The pull-up resistor ensures that the wire is at a defined logic level even if no active devices are connected to it... It helps to maintain a logic state even if the input to the mux is disconnected suddenly and avoids error outputs... It actually maintains a state of logic High when input is inactive and an activeness of input will override the logic High state...
 

Tahmid

Advanced Member level 5
Joined
Jun 17, 2008
Messages
4,758
Helped
1,792
Reputation
3,576
Reaction score
1,651
Trophy points
1,393
Location
Silicon Valley, California, USA (from Dhaka, Bangl
Activity points
30,543
The pull-up resistors shouldn't be necessary if the microcontroller outputs are always either driven high or low.

However the pull-up resistors may be used to ensure that there is a logic level present at all times as demetal has said. This could be, as FvM has said, if the outputs are open-drain, or if they have mistakenly been configured as inputs or if the outputs are high-impedance tri-state, eg when the microcontroller is reset, etc.

Hope this helps.
Tahmid.
 

nikhildascl

Full Member level 3
Joined
Apr 15, 2012
Messages
150
Helped
15
Reputation
30
Reaction score
14
Trophy points
1,318
Location
Kerala, India
Activity points
2,115
But how the data's are differentiated? What will be the voltage at the pin if the data is logic high or logic low?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top