English
Language : 

HD64570 Datasheet, PDF (295/469 Pages) Hitachi Semiconductor – Serial Communications Adaptor
Table 6.6 shows a memory-to-MSCI chained-block multi-frame transfer using four descriptors and
four buffers. In this example, data is added to the buffer during transmission. As described in the
table, after steps 1 and 2, the MPU writes additional transmit data to buffers 2 and 3 and at the
same time updates EDA to the start address of the descriptor indicating buffer 0. In this way, the
DMAC transfers the data in buffers 2 and 3 after the data in buffer 1. Since the DMAC remains
enabled after one frame has been transferred in multi-frame transfer mode, some frame end
interrupts (DMIB) remain unprocessed. The number of unprocessed interrupts is stored in the
frame end interrupt counter (FCT). When the FCT value is 1111 and frame transfer continues, a
counter overflow error occurs and the DMAC terminates data transfer after transmitting the
current frame. The FCT value is then reset to 0000, and a DMIA interrupt is generated (if
enabled). For details, see sections 6.2.8, DMA Mode Register (DMR), and 6.2.9, Frame End
Interrupt Counter (FCT).
Table 6.6 Memory-to-MSCI Chained-Block Multi-Frame Transfer Mode (transmit data
added during transmission)
DMAC
Step Operation
MPU
CDA EDA DE Bit
Operation Value Value Value Note
1
—
A0 ‡ CDA A0
A2
1
A2 ‡ EDA
1 ‡ DE bit
Specifies the buffer containing
data to be transmitted using CDA
(see figure 6.16)
2
Reads data —
from buffer 0
A0
A2
1
3
A1 ‡ CDA
—
A1
A2
1
4
—
Loads
A1
A3
1
transmit data
into buffer 2
A3 ‡ EDA
5
—
Loads
A1
A0
1
transmit data
into buffer 3
A0 ‡ EDA
6
Reads data —
from buffer 1
A1
A0
1
Adds transmit data to the buffer,
and rewrites EDA.
7
A2 ‡ CDA
—
A2
A0
1
An: Start address of each descriptor
CDA: Current descriptor address register
EDA: Error descriptor address register
DE bit: Bit 1 of the DMA status register (DSR)
(see figure 6.16)
Rev. 0, 07/98, page 279 of 453