How-To Guide

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 983 of 1852
Nov 30, 2020
RX23W Group 33. 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 the BRR register (refer to section 33.2.11, Bit Rate Register (BRR)).
Note 2. Writable only when the SCR.TE bit is 0 and the SCR.RE bit is 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 33.2.11, Bit Rate Register
(BRR)
.
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 33.6.4, Receive Data Sampling Timing and Reception Margin.
Note 1. S is the value of S in the BRR register (refer to section 33.2.11, Bit Rate Register (BRR)).
Address(es): SMCI1.SMR 0008 A020h, SMCI5.SMR 0008 A0A0h, SMCI8.SMR 0008 A100h, 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:
00000000
Bit Symbol Bit Name Description R/W
b1, b0 CKS[1:0] Clock Select
b1 b0
0 0: PCLK (n = 0)*
1
0 1: PCLK/4 (n = 1)*
1
1 0: PCLK/16 (n = 2)*
1
1 1: PCLK/64 (n = 3)*
1
R/W*
2
b3, b2 BCP[1:0] Base Clock Pulse Selects the number of base clock cycles in combination with the SCMR.BCP2
bit.
Table 33.8 lists the combinations of the SCMR.BCP2 bit and SMR.BCP[1:0] bits.
R/W*
2
b4 PM Parity Mode (Valid only when the PE bit is 1)
0: Selects even parity
1: Selects odd parity
R/W*
2
b5 PE 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.
R/W*
2
b6 BLK Block Transfer
Mode
0: Non-block transfer mode operation
1: Block transfer mode operation
R/W*
2
b7 GM GSM Mode 0: Non-GSM mode operation
1: GSM mode operation
R/W*
2
Table 33.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)*
1
0 0 1 128 clock cycles (S = 128)*
1
0 1 0 186 clock cycles (S = 186)*
1
0 1 1 512 clock cycles (S = 512)*
1
1 0 0 32 clock cycles (S = 32)*
1
(Initial Value)
1 0 1 64 clock cycles (S = 64)*
1
1 1 0 372 clock cycles (S = 372)*
1
1 1 1 256 clock cycles (S = 256)*
1