Transfer Cycles; Effect Of Source And Destination Addresses; Effect Of Byte Pin Level; Effect Of Software Wait - Renesas M16C/62P Series Hardware Manual

6-bit single-chip microcomputer
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
14.1

Transfer Cycles

The transfer cycle consists of a memory or SFR read (source read) bus cycle and a write (destination write) bus
cycle. The number of read and write bus cycles is affected by the source and destination addresses of transfer.
During memory extension and microprocessor modes, it is also affected by the BYTE pin level. Furthermore, the
bus cycle itself is extended by a software wait or RDY signal.
14.1.1

Effect of Source and Destination Addresses

If the transfer unit and data bus both are 16 bits and the source address of transfer begins with an odd address,
the source read cycle consists of one more bus cycle than when the source address of transfer begins with an
even address.
Similarly, if the transfer unit and data bus both are 16 bits and the destination address of transfer begins with an
odd address, the destination write cycle consists of one more bus cycle than when the destination address of
transfer begins with an even address.
14.1.2

Effect of BYTE Pin Level

During memory extension and microprocessor modes, if 16 bits of data are to be transferred on an 8-bit data bus
(input on the BYTE pin = high), the operation is accomplished by transferring 8 bits of data twice. Therefore,
this operation requires two bus cycles to read data and two bus cycles to write data. Furthermore, if the DMAC
is to access the internal area (internal ROM, internal RAM, or SFR), unlike in the case of the CPU, the DMAC
does it through the data bus width selected by the BYTE pin.
14.1.3

Effect of Software Wait

For memory or SFR accesses in which one or more software wait states are inserted, the number of bus cycles
required for that access increases by an amount equal to software wait states.
14.1.4

Effect of RDY Signal

During memory extension and microprocessor modes, DMA transfers to and from an external area are affected
by the RDY signal. Refer to 8.2.6 RDY Signal.
Figure 14.6 shows the example of the Transfer Cycles for Source Read. For convenience, the destination write
cycle is shown as one cycle and the source read cycles for the different conditions are shown. In reality, the
destination write cycle is subject to the same conditions as the source read cycle, with the transfer cycle changing
accordingly. When calculating transfer cycles, take into consideration each condition for the source read and the
destination write cycle, respectively. For example, when data is transferred in 16 bit units using an 8-bit bus ((2) on
Figure 14.6), two source read bus cycles and two destination write bus cycles are required.
Rev.2.41
Jan 10, 2006
REJ09B0185-0241
http://www.xinpian.net
Page 132 of 390
提供单片机解密、IC解密、芯片解密业务
14. DMAC
010-62245566 13810019655

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pM16c/62pt

Table of Contents