EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies /    yes ..if u r using port0

   yes ..if u r using port0

|

Microcontroller › 8051 › pull up resistor ›    yes ..if u r using port0

October 22, 2011 at 12:30 pm #6738
Qaisar
Participant

 

  yes ..if u r using port0 as i/o pin u must have to connect pull up resistor .

 if u are not using pull up resistor it gives logic 0 but will not gives logic 1 , instead it floats (high z) .

 

2nd question is why it does not have built in pull up resistor.

 

 The P0 port is characterized by two functions.

PO is  used to interface external external memory . 

If u have to interface external memory  then the

 address/data  is applied on it. Port 0 is also designated as AD0-AD7, allowing it to be used for both address and data..address and data is multiplexed.

Otherwise, all bits of this port are configured as I/O pins.

 

when extrnal memory is connected to port 0 then microcontroller will provide internal power source to its pins so there is no need to connect external pull up resistor.

 

 

 

 

RSS Recent Posts

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 Arrowfly LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Arrowfly
Privacy Policy | Advertising

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise