Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
CHAPTER  15   DMA  CONTROLLER 
CHAPTER  15   DMA  CONTROLLER 
 
 
The RL78/G1A has an internal DMA (Direct Memory Access) controller. 
Data can be automatically transferred between the peripheral hardware supporting DMA, SFRs, and internal RAM 
without via CPU. 
As a result, the normal internal operation of the CPU and data transfer can be executed in parallel with transfer 
between the SFR and internal RAM, and therefore, a large capacity of data can be processed.  In addition, real-time 
control using communication, timer, and A/D can also be realized. 
 
15.1  Functions of DMA Controller 
 
{  Number of DMA channels: 2 channels  
{  Transfer unit: 8 or 16 bits 
{  Maximum transfer unit: 1024 times 
{  Transfer type:  2-cycle transfer (One transfer is processed in 2 clocks and the CPU stops during that processing.) 
{  Transfer mode: Single-transfer mode 
{  Transfer request: Selectable from the following peripheral hardware interrupts 
• A/D converter 
• Serial interface 
(CSI00, CSI01, CSI10, CSI11, CSI20, CSI21, UART0 to UART2) 
•  Timer (channel 0, 1, 2, 3) 
{  Transfer target: Between SFR and internal RAM 
 
Here are examples of functions using DMA. 
•  Successive transfer of serial interface 
•  Consecutive capturing of A/D conversion results 
<R> 
•  Capturing port value at fixed interval 
 
R01UH0305EJ0200  Rev.2.00 
 
 
668  
Jul 04, 2013