Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

I/O Ports of Microprocessors and Microcontrollers....

Status
Not open for further replies.
One of the differences between mircroprocessors and microcontrollers is that The latter has i/p and o/p ports,while the former doesnt....Now i dont really get this point...What is an i/p or o/p port supposed to do???Does it mean that u can connect a microcontroller directly to a say a segment LED display....but for a microprocessor u hav to go through an interfacing device???Moreover what does this interfacing device actually do???
 

Papabravo

Well-Known Member
Input Ports and Output Ports are "addressable" entities in the processor architecture that allow values to be read or written from or to them. In a single chip device that address decoding and "interfacing" is done internally so that the actual pins can be used as digital inputs, digital outputs, analog inputs, or analog outputs.

In a microprocessor you have to decode the address and route data to or from the processor. That is the purpose of interfacing.

Last question is weather you can connect a device like a 7-segment directly to a processor's pins. You can IF, the processor pins can supply sufficient current to light the segments. Some can, but most cannot.
 
Suppose we wish to display the data stored in the accumulator by means of the LED display....Can we do it just by connecting the LED display to the microprocessor????Dont we need some interfacing device???Assuming that the microprocessor provides the necessary current....
 

Nigel Goodwin

Super Moderator
Most Helpful Member
Suppose we wish to display the data stored in the accumulator by means of the LED display....Can we do it just by connecting the LED display to the microprocessor????Dont we need some interfacing device???Assuming that the microprocessor provides the necessary current....

A micro-processor is just one of many components required to make a 'computer' - a micro-controller is a complete 'computer' on a single chip.

Micro-processsors don't have 'ports', they are one of the many external chips required to make a useable computer with it - amongst other things, the port chips have current sinking and sourcing capacity, which the uP doesn't.
 

Nigel Goodwin

Super Moderator
Most Helpful Member
Am familiar with some other properties of microprocessors,including the ones u mentioned....its the port stuff which confuses me....

For a micro-processor it has to latch the output signals, and provide current drivers.

Bear in mind a micro-processor essentially only has address and data lines, you use those to select either memory or devices, ports etc.
 

BrownOut

Banned
I like to think of the I/O's on my microcontroller in terms of the parallel port on my PC. From a structural as well as programming standpoint, they are very similar.
 
Status
Not open for further replies.

EE World Online Articles

Loading
Top