Re: newbie question: Memory maped IO vs Port IO

From: Michael R. Kesti (mkesti_at_gv.net)
Date: 03/13/04


Date: Fri, 12 Mar 2004 21:10:47 -0800

gt wrote:

>Could someone explain memory mapped IO and Port IO?

Some processors provide seperate address space for I/O. When they do,
they have a control bus signals, in addition to read and write signals,
that select whether the address bus currently holds a memory or a port
address. These signals are driven according to the machine instructions
being executed at the time.

>When should I use one or the other?

When a processor provides no seperate port addressing you have no choice.
Otherwise, whether you use one or the other is a function of the hardware
design.

> why some devices
>support port IO only?

Processors come in a great many flavors, each with their own variations.
Whether they provide seperate memory and port spaces is just one of those
variations and is one of the many things to be considered when choosing
a processor for an application.

-- 
========================================================================
          Michael Kesti            |  "And like, one and one don't make
                                   |   two, one and one make one."
          mkesti@gv.net            |          - The Who, Bargain


Relevant Pages

  • Re: NTP + PPS on Atom motherboards
    ... is that you are feeding the serial port a TTL level signal. ... board manufacturers buy for 5 cents a piece) will handle the TTL levels. ... Of course that level conversion will slow down the signals as well. ...
    (comp.protocols.time.ntp)
  • Re: EPROM to RS232
    ... If you can deal with a parallel port, ... provides signals at 5V. ... One problem is that using a 555 for the clock is going to be tricky, ... the counters to address the EPROM. ...
    (sci.electronics.basics)
  • Re: Affordable way for 1MHz - 4MHz capture and analysis??
    ... I cant comment on this further without knowing how you modulate. ... As horrible as it sounds using an old clunker and a DOS version with debug will allow you to poll the printer port and print a report on completion. ... data signals and power from an external coil to a series of smaller ...
    (rec.radio.amateur.antenna)
  • Re: LRM question: What is the correct interpretation of an inout signal with a default value that is
    ... the inout port is left open ... Inside the architecture for that entity that inout signal gets used ... Basic signals are those that determine the driving values for all ...
    (comp.lang.vhdl)
  • Re: Please advice for USB interaction
    ... USB port for this. ... I hope you understand that a USB port accepts only digital signals and ... If you use the serial port, ...
    (comp.os.linux.hardware)