r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 475

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
22.4
Table 22.5
i = 0 or 1
Notes:
Transfer data formats
Transfer clocks
Transmit start conditions
Receive start conditions
Interrupt request
generation timing
Error detection
The UART mode allows data transmission and reception after setting the desired bit rate and transfer data format.
Table 22.5 lists the UART Mode Specifications. Table 22.6 lists the Registers Used and Settings in UART Mode.
1. If an overrun error occurs, the receive data (b0 to b8) in the UiRB register will be undefined.
2. The framing error flag and the parity error flag are set to 1 when data is transferred from the UARTi
receive register to the UiRB register.
Clock Asynchronous Serial I/O (UART) Mode
Item
UART Mode Specifications
• Character bits (transfer data): Selectable among 7, 8 or 9 bits
• Start bit: 1 bit
• Parity bit: Selectable among odd, even, or none
• Stop bits: Selectable among 1 or 2 bits
• The CKDIR bit in the UiMR register is set to 0 (internal clock): fj/(16(n+1))
• The CKDIR bit is set to 1 (external clock): fEXT/(16(n+1))
• To start transmission, the following requirements must be met:
• To start reception, the following requirements must be met:
• For transmission: One of the following can be selected.
• For reception:
• Overrun error
• Framing error
• Parity error
• Error sum flag
fj = f1, f8, f32, fC n = setting value in the UiBRG register: 00h to FFh
fEXT: Input from the CLKi pin,
n = setting value in the UiBRG register: 00h to FFh
- The TE bit in the UiC1 register is set to 1 (transmission enabled).
- The TI bit in the UiC1 register is set to 0 (data present in the UiTB
- The RE bit in the UiC1 register is set to 1 (reception enabled).
- Start bit detection
- The UiIRS bit is set to 0 (transmit buffer empty):
- The UiIRS bit is set to 1 (transfer completed):
When data is transferred from the UARTi receive register to the UiRB
register (at completion of reception).
This error occurs if the serial interface starts receiving the next unit of data
before reading the UiRB register and receive the bit one before the last
stop bit of the next unit of data.
This error occurs when the set number of stop bits is not detected.
This error occurs when parity is enabled, and the number of 1’s in the
parity and character bits do not match the set number of 1’s.
This flag is set to 1 if an overrun, framing, or parity error occurs.
register).
When data is transferred from the UiTB register to the UARTi transmit
register (at start of transmission).
When data transmission from the UARTi transmit register is completed.
(1)
Specification
22. Serial Interface (UARTi (i = 0 or 1))
Page 443 of 740
(2)
(2)

Related parts for r5f21346mnfp