Professional Documents
Culture Documents
Device Communication
Error Detection
Data Buffering
I/O MODULE
DIAGRAM
Memory
mapped I/O
Isolated I/O
Programmed I/O
operation)
I/O modules gets data from peripheral whilst CPU does other work I/O module interrupts CPU
test
write
I/O COMMANDS
control
read
Design Issues 4 techniques in common use: Multiple interrupt lines Software poll Daisy chain Bus arbitration
DMA Function
DMA involves an additional module on the system bus. The DMA module is capable of imitating the processor and taking over control of the system from the processor. It needs to do this to transfer data to and from memory over the system bus.
External Interface
o Used to connect devices to the I/O module. o A common characteristic of interface is whether it is serial or parallel. o Parallel Interface Multiple lines connect the peripheral and the I/O module. So multiple bits are transferred at once. Used in high speed peripherals such as hard disk, printer, scanner. o Serial Interface There is only one line to transmit data and bits are transferred one at a time. Used in slower devices such as mouse and keyboard.