R5F21324CNSP#U0 Renesas Electronics America, R5F21324CNSP#U0 Datasheet - Page 201

MCU 1KB FLASH 16K ROM 20-LSSOP

R5F21324CNSP#U0

Manufacturer Part Number
R5F21324CNSP#U0
Description
MCU 1KB FLASH 16K ROM 20-LSSOP
Manufacturer
Renesas Electronics America
Series
R8C/3x/32Cr
Datasheet

Specifications of R5F21324CNSP#U0

Core Processor
R8C
Core Size
16/32-Bit
Speed
20MHz
Connectivity
I²C, LIN, SIO, SSU, UART/USART
Peripherals
POR, PWM, Voltage Detect, WDT
Number Of I /o
15
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-LSSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
R8C/32C Group
REJ09B0573-0100 Rev.1.00 Dec. 18, 2009
Page 172 of 573
15.3
Figure 15.2
15.3.1
15.3.2
Peripheral function 1
Peripheral function 2
When the DTC is activated, control data is read from the DTC control data area to perform data transfers and
control data after data transfer is written back to the DTC control data area. Twenty-four sets of control data can
be stored in the DTC control data area, which allows 24 types of data transfers to be performed.
There are two transfer modes: normal mode and repeat mode. When the CHNE bit in the DTCCRj (j = 0 to 23)
register is set to 1 (chain transfers enabled), multiple control data is read and data transfers are continuously
performed by one activation source (chain transfers).
A transfer source address is specified by the 16-bit register DTSARj, and a transfer destination address is
specified by the 16-bit register DTDARj. The values in the registers DTSARj and DTDARj are separately fixed
or incremented according to the control data on completion of the data transfer.
The DTC is activated by an interrupt source. Figure 15.2 is a Block Diagram Showing Control of DTC
Activation Sources.
The interrupt sources to activate the DTC are selected with the DTCENi (i = 0 to 3, 5, 6) registers.
The DTC sets 0 (activation disabled) to the corresponding bit among bits DTCENi0 to DTCENi1, DTCENi3 to
DTCENi7 in the DTCENi register during operation when the setting of data transfer (the first transfer in chain
transfers) is either of the following:
• Transfer causing the DTCCTj (j = 0 to 23) register value to change to 0 in normal mode
• Transfer causing the DTCCTj register value to change to 0 while the RPTINT bit in the DTCCRj register is 1
If the data transfer setting is not either of the above and the activation source is an interrupt source for timer RC
or the flash memory, the DTC sets 0 to the interrupt source flag corresponding to the activation source during
operation.
Table 15.3 shows the DTC Activation Sources and Interrupt Source Flags for Setting to 0 during DTC
Operation.
If multiple activation sources are simultaneously generated, the DTC activation will be performed according to
the DTC activation source priority.
If multiple activation sources are simultaneously generated on completion of DTC operation, the next transfer
will be performed according to the priority.
DTC activation is not affected by the I flag or interrupt control register, unlike with interrupt request operation.
Therefore, even if interrupt requests cannot be acknowledged because interrupts are disabled, DTC activation
requests can be acknowledged. The IR bit in the interrupt control register does not change even when an
interrupt source to enable DTC activation is generated.
(interrupt generation enabled) in repeat mode
flash memory)
Function Description
(timer RC,
Overview
Activation Sources
Block Diagram Showing Control of DTC Activation Sources
Set the interrupt source flag
in the status register to 0.
Peripheral interrupt
Peripheral interrupt
request
request
Select interrupt source or
DTC activation source
Interrupt controller
Clear control
DTCENi
Interrupt request
Select DTC activation or
interrupt generation.
Set the bit among bits DTCENi0 to DTCENi1,
DTCENi3 to DTCENi7 (i = 0 to 3, 5, 6) to 0.
DTC activation
request
DTC
15. DTC

Related parts for R5F21324CNSP#U0