R01UH0822EJ0100 Rev.1.00
Page 593 of 1041
Jul 31, 2019
RX13T Group
23. Serial Communications Interface (SCIg, SCIh)
(2) Smart Card Interface Mode (SCMR.SMIF = 1)
Note 1. n is the decimal notation of the value of n in BRR (refer to section 23.2.11, Bit Rate Register (BRR)).
Note 2. Writable only when TE in SCR = 0 and RE in SCR = 0 (both serial transmission and reception are disabled).
CKS[1:0] Bits (Clock Select)
These bits select the clock source for the on-chip baud rate generator.
For the relationship between the settings of these bits and the baud rate, refer to
section 23.2.11, Bit Rate Register
.
BCP[1:0] Bits (Base Clock Pulse)
These bits select the number of base clock cycles in a 1-bit data transfer time in smart card interface mode.
Set these bits in combination with the SCMR.BCP2 bit.
For details, refer to
section 23.6.4, Receive Data Sampling Timing and Reception Margin
Note 1. S is the value of S in BRR (refer to section 23.2.11, Bit Rate Register (BRR)).
Address(es): SMCI1.SMR 0008 A020h, SMCI5.SMR 0008 A0A0h, SMCI12.SMR 0008 B300h
b7
b6
b5
b4
b3
b2
b1
b0
GM
BLK
PE
PM
BCP[1:0]
CKS[1:0]
Value after reset:
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b1, b0
Clock Select
b1 b0
0 0: PCLK (n = 0)*
0 1: PCLK/4 (n = 1)*
1 0: PCLK/16 (n = 2)*
1 1: PCLK/64 (n = 3)*
b3, b2
Base Clock Pulse
Selects the number of base clock cycles in combination with the SCMR.BCP2
bit.
Table 23.8 lists the combinations of the SCMR.BCP2 bit and SMR.BCP[1:0] bits.
b4
Parity Mode
(Valid only when the PE bit is 1)
0: Selects even parity
1: Selects odd parity
b5
Parity Enable
When this bit is set to 1, a parity bit is added to transmit data, and the parity of
received data is checked. Set this bit to 1 in smart card interface mode.
b6
Block Transfer
Mode
0: Non-block transfer mode operation
1: Block transfer mode operation
b7
GSM Mode
0: Non-GSM mode operation
1: GSM mode operation
Table 23.8
Combinations of the SCMR.BCP2 Bit and SMR.BCP[1:0] Bits
SCMR.BCP2 Bit
SMR.BCP[1:0] Bits
Number of Base Clock Cycles for 1-Bit Transfer Period
0
0
0
93 clock cycles (S = 93)*
0
0
1
128 clock cycles (S = 128)*
0
1
0
186 clock cycles (S = 186)*
0
1
1
512 clock cycles (S = 512)*
1
0
0
32 clock cycles (S = 32)*
(Initial Value)
1
0
1
64 clock cycles (S = 64)*
1
1
0
372 clock cycles (S = 372)*
1
1
1
256 clock cycles (S = 256)*