English
Language : 

M32C80 Datasheet, PDF (135/352 Pages) Renesas Technology Corp – 16/32-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M32C/80 SERIES
M32C/80 Group
12. DMAC
12.1 Transfer Cycle
Transfer cycle contains a bus cycle to read data from a memory or the SFR area (source read) and a bus
cycle to write data to a memory space or the SFR area (destination write). The number of read and write
bus cycles depends on source and destination addresses. In memory expansion mode and microprocessor
mode, the number of read and write bus cycles also depends on DS register setting. Software wait state
________
insertion and the RDY signal make a bus cycle longer.
12.1.1 Effect of Source and Destination Addresses
When a 16-bit data is transferred with a 16-bit data bus and a source address starting with an odd
address, source read cycle is incremented by one bus cycle, compared to a source address starting with
an even address.
When a 16-bit data is transferred with a 16-bit data bus and a destination address starting with an odd
address, a destination write cycle is incremented by one bus cycle, compared to a destination address
starting with an even address.
12.1.2 Effect of the DS Register
In an external space in memory expansion or microprocessor mode, transfer cycle varies depending on
the data bus used at the source and destination addresses. See Figure 8.1 for details about the DS
register.
• When an 8-bit data bus (the DSi bit in the DS register is set to "0" (i=0 to 3)), accessing both source
address and destination address, is used to transfer a 16-bit data, 8-bit data is transferred twice.
Therefore, two bus cycles are required to read the data and another two bus cycles to write the data.
• When an 8-bit data bus (the DSi bit in the DS register is set to "0" (i=0 to 3)), accessing source
address, and a 16-bit data bus, accessing destination address, are used to transfer a 16-bit data, 8-
bit data is read twice but is written once as 16-bit data. Therefore, two bus cycles are required for
reading and one bus cycle is for writing.
• When a 16-bit data bus, accessing source address, and an 8-bit data bus, accessing destination
address, are used to transfer a 16-bit data, 16-bit data is read once and 8-bit data is written twice.
Therefore, one bus cycle is required for reading and two bus cycles is for writing.
12.1.3 Effect of Software Wait State
When the SFR area or memory space with software wait states is accessed, the number of CPU clock
cycles is incremented by software wait states.
Figure 12.6 shows an example of a transfer cycle for the source-read bus cycle. In Figure 12.6, the
number of source-read bus cycles is illustrated under different conditions, provided that the destination
address is an address of an external space with the destination-write cycle as two CPU clock cycles
(=one bus cycle). In effect, the destination-write bus cycle is also affected by each condition and the
transfer cycles change accordingly. To calculate a transfer cycle, apply respective conditions to both
destination-write bus cycle and source-read bus cycle. As shown in example (2) of Figure 12.6, when an
8-bit data bus, accessing both source and destination addresses, is used to transfer a 16-bit data, two
bus cycles each are required for the source-read bus cycle and destination-write bus cycle.
________
12.1.4 Effect of RDY Signal
________
In memory expansion or microprocessor mode, the RDY signal affects a bus cycle if a source address or
_______
destination address is allocated address in an external space. Refer to 7.2.6 RDY Signal for details.
Rev. 1.00 Nov. 01, 2005 Page 116 of 330
REJ09B0271-0100