English
Language : 

HD64F2145 Datasheet, PDF (577/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
19.4.2 LPC I/O Cycles
There are ten kinds of LPC transfer cycle: memory read, memory write, I/O read, I/O write, DMA
read, DMA write, bus master memory read, bus master memory write, bus master I/O read, and
bus master I/O write. Of these, the chip's LPC supports only I/O read and I/O write cycles.
An LPC transfer cycle is started when the /)5$0( signal goes low in the bus idle state. If the
/)5$0( signal goes low when the bus is not idle, this means that a forced termination (abort) of
the LPC transfer cycle has been requested.
In an I/O read cycle or I/O write cycle, transfer is carried out using LAD3 to LAD0 in the
following order, in synchronization with LCLK. The host can be made to wait by sending back a
value other than B′0000 in the slave’s synchronization return cycle, but with the chip’s LPC a
value of B′0000 is always returned.
If the received address matches the host address in an LPC register (IDR, ODR, STR, TWR), the
host interface enters the busy state; it returns to the idle state by output of a state count 12
turnaround. Register and flag changes are made at this timing, so in the event of a transfer cycle
forced termination (abort) before state #12, registers and flags are not changed.
State
Count
1
2
3
4
5
6
7
8
9
10
11
12
13
I/O Read Cycle
Contents
Drive Value
Source (3 to 0)
Start
Host 0000
Cycle type/direction Host 0000
Address 1
Host
Bits 15 to
12
Address 2
Host Bits 11 to 8
Address 3
Host Bits 7 to 4
Address 4
Host Bits 3 to 0
Turnaround
(recovery)
Host 1111
Turnaround
None ZZZZ
Synchronization Slave 0000
Data 1
Data 2
Turnaround
(recovery)
Turnaround
Slave
Slave
Slave
Bits 3 to 0
Bits 7 to 4
1111
None ZZZZ
I/O Write Cycle
Contents
Drive Value
Source (3 to 0)
Start
Host 0000
Cycle type/direction Host 0010
Address 1
Host
Bits 15 to
12
Address 2
Host Bits 11 to 8
Address 3
Host Bits 7 to 4
Address 4
Host Bits 3 to 0
Data 1
Host Bits 3 to 0
Data 2
Turnaround
(recovery)
Turnaround
Synchronization
Turnaround
(recovery)
Turnaround
Host
Host
Bits 7 to 4
1111
None
Slave
Slave
ZZZZ
0000
1111
None ZZZZ
Rev. 2.0, 08/02, page 537 of 788