RX610 Group
20. Serial Communications Interface (SCI)
R01UH0032EJ0120 Rev.1.20
Page 615 of 1006
Feb 20, 2013
20.2.4
Transmit Shift Register (TSR)
TSR is a shift register that transmits serial data.
To perform serial data transmission, the SCI first automatically transfers transmit data from TDR to TSR, and then sends
the data to the TxDn pin.
TSR cannot be directly accessed by the CPU.
20.2.5
Serial Mode Register (SMR)
Note:
Some bits in SMR have different functions in serial communications interface mode and smart card interface
mode.
(1) Serial Communications Interface Mode (SMIF in SCMR = 0)
Addresses: SCI0.SMR 0008 8240h, SCI1.SMR 0008 8248h, SCI2.SMR 0008 8250h, SCI3.SMR 0008 8258h
SCI4.SMR 0008 8260h, SCI5.SMR 0008 8268h, SCI6.SMR 0008 8270h
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
0
0
0
0
0
0
0
0
CM
CHR
PE
PM
STOP
—
CKS[1:0]
Bit
Symbol
Bit Name
Function
R/W
b1, b0
CKS[1:0]
Clock Select
b1 b0
00: PCLK clock (n = 0)
*
1
01: PCLK/4 clock (n = 1)
*
1
10: PCLK/16 clock (n = 2)
*
1
11: PCLK/64 clock (n = 3)
*
1
R/W
*
4
b2
Reserved
This bit is read as 0. The write value should be 0.
R/W
*
4
b3
STOP
Stop Bit Length
(Valid only in asynchronous mode)
0: 1 stop bit
1: 2 stop bits
R/W
*
4
b4
PM
Parity Mode
(Valid only when the PE bit is 1 in asynchronous mode)
0: Selects even parity
1: Selects odd parity
R/W
*
4
b5
PE
Parity Enable
(Valid only in asynchronous mode)
•
When transmitting
0: Parity bit addition is not performed
1: The parity bit is added
•
When receiving
0: Parity bit checking is not performed
1: The parity bit is checked
R/W
*
4
b6
CHR
Character Length
(Valid only in asynchronous mode)
0: Selects 8 bits as the data length
*
2
1: Selects 7 bits as the data length
*
3
R/W
*
4
b7
CM
Communications Mode
0: Asynchronous mode
1: Clock synchronous mode
R/W
*
4
Notes: 1. n is the decimal notation of the value of n in BRR (see section 20.2.9, Bit Rate Register (BRR)).
2. In clock synchronous mode, this bit setting is invalid and a fixed data length of 8 bits is used.
3. LSB-first is fixed and the MSB (bit 7) in TDR is not transmitted in transmission.
4. Writable only when TE in SCR = 0 and RE in SCR = 0 (both serial transmission and reception are disabled).
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...