why is this difference in memory Mapped and port mapped interafcing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

why is this difference in memory Mapped and port mapped interafcing

736件の閲覧回数
adityanagal
Contributor III

Hi ,

In the memory mapped I/O interfacing , peripherals are connected/interfaced over the address bus. If there are 32 address lines , then theoretically we can interface 2 power 32 devices to the CPU. This interfacing also includes MEMR  and MEMW (Memory Read and Memory write signals).

In the Port Mapped I/O interfacing , peripherals are again connected to the same address lines . Just the instructions for reading and writing would be different like inportb  and outportb  and the control signals would be IOR and IOW (IO READ and IO WRITE) . But the number of devices which can be interfaced will probably be less i.e. 2 power 16 . 

Why is this difference between Memory Mapped I/O and Port Mapped I/O. 

Regards, 

Aditya Nagal

0 件の賞賛
1 返信

605件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Aditya

this depends in internal processor architecture, as memory and port may

use different internal processor buses. Please check processor manual with

description of internal mapping of peripherals.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛