M-V850E-IA4 Renesas Electronics America, M-V850E-IA4 Datasheet - Page 654

no-image

M-V850E-IA4

Manufacturer Part Number
M-V850E-IA4
Description
KIT EVAL V850E IA4 UPD70F3186
Manufacturer
Renesas Electronics America
Datasheets

Specifications of M-V850E-IA4

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
<R>
<R>
<R>
16.3.5 DMA channel control registers 0 to 3 (DCHC0 to DCHC3)
n (n = 0 to 3).
652
The DCHC0 to DCHC3 registers are 8-bit registers that control the DMA transfer operating mode for DMA channel
These registers can be read or written in 8-bit or 1-bit units. (However, bit 7 is read-only.)
Reset sets these registers to 00H.
Cautions 1. If transfer has been completed with the MLEn bit set to 1 and if the next transfer request is
2. Set the MLEn bit when the target channel is in one of the following periods (the operation is
3. If DMA transfer is forcibly terminated in the last transfer cycle with the MLEn bit set to 1, the
4. Upon completion of DMA transfer (during terminal count), each bit is updated with the Enn
5. Be sure to read (clear to 0) the TCn bit after end of DMA transfer (after terminal count). The
6. Do not set the Enn and STGn bits while DMA is suspended. Otherwise, the operation is not
7. Do not end DMA transfer by clearing the Enn bit to 0.
8. The relationship between the status of DMA transfer and the register value is as follows.
• DMA transfer is in progress:
• DMA transfer is aborted:
• DMA transfer is stopped (ended): TCn bit = 1
made by DMA transfer (hardware DMA) that is started by an interrupt from an on-chip
peripheral I/O, the next transfer is executed with the TCn bit set to 1 (not automatically
cleared to 0).
not guaranteed if the bit is set at any other time).
• Period from system reset to the generation of the first DMA transfer request
• Period from completion of DMA transfer (after terminal count) to the generation of the next
• Period from forced termination of DMA transfer (after the INITn bit was set to 1) to the
operation is performed in the same manner as when transfer is completed (the TCn bit is set
to 1). (The Enn bit is cleared to 0 upon forced termination, regardless of the value of the
MLEn bit.)
In this case, the Enn bit must be set to 1 and the TCn bit must be read (cleared to 0) when the
next DMA transfer request is made.
bit cleared to 0 and then the TCn bit set to 1. If the statuses of the TCn bit and Enn bit are
polled and if the DCHCn register is read while each bit is updated, therefore, a value
indicating the status “transfer not completed and prohibited” (TCn bit = 0 and Enn bit = 0)
may be read (this is not abnormal).
TCn bit does not have to be read (cleared to 0) only if the following two conditions are
satisfied.
If even one of these conditions is not satisfied, be sure to read (clear to 0) the TCn bit before
the next DMA transfer request is generated.
The operation cannot be guaranteed if the next DMA transfer request is generated while the
TCn bit is set to 1.
guaranteed.
• The MLEn bit is set to 1 upon end of DMA transfer (during terminal count).
• The next DMA transfer start factor is an interrupt from the on-chip peripheral I/O (hardware
DMA transfer request
generation of the next DMA transfer request
DMA)
CHAPTER 16 DMA FUNCTIONS (DMA CONTROLLER)
User’s Manual U16543EJ4V0UD
TCn bit = 0, Enn bit = 1
TCn bit = 0, Enn bit = 0

Related parts for M-V850E-IA4