M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 389

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
SIM interface
374
2.5.6 Clock Signals in used for the SIM Interface
In conforming to the SIM interface, the UART clock signal within the SIM card needs to conform to the
UART2 clock signal within the microprocessor. Two examples are given here as means of generating a
UART2 clock signal within the microprocessor.
Let F be the clock signal within the SIM card and D be the bit rate adjustment factor, then the formula for
the UART clock signal becomes as follows. Figure 2.5.20 shows an example of connection.
• In the case of setting a value equal to or less than (1/256 X 1/16) in the division rate of UART2 clock
Table 2.5.8 shows an example of setting in the UART2 bit rate generator.
• In the case of setting a value equal to or greater than (1/256 X 1/16) in the division rate of UART2 clock
Table 2.5.9 shows an example of setting in the timer Aj counter.
f
16 x
f
= f
16 x
1
1
* In the case of setting a value equal to or less than (1/256 X 1/16) in the division rate of UART2 clock
* In the case of setting a value equal to or greater than (1/256 X 1/16) in the division rate of UART2 clock
UART2 clock signal within microprocessor = UART clock within SIM card
Let X
generator becomes
Bit rate generator = 92
UART2 clock signal within microprocessor = UART clock within SIM card
Let X
set in the timer Aj counter becomes
Timer Aj counter = 464
Set the bit rate generator to "0", turn the source clock signal to timer output and set an optional value
Choose f
in the timer.
x
1
x
x
Timer Aj counter + 1
Bit rate generator + 1
IN
IN
Timer Aj counter + 1
Bit rate generator + 1
= 16 MHz, timer Ai counter = 3, bit rate generator = 0, F = 1860, and D = 1, then the value to be
Bit rate generator + 1
= 16 MHz, timer Ai counter = 1, F = 372, and D = 1, then the value to be set in the bit rate
1
for the UART’s source clock signal and set an optional value in the bit rate generator.
1
1
1
1
1
x
x
1
2
x
flip-flop
x
x
flip-flop
x
16
0 + 1
1
16
1
1
=16 X
x
x
= f
x
Bit rate generator + 1
F/D
1
1
16
1
1
2
x
=16 x
Timer Ai counter + 1
x
1
1
2
x
3 + 1
372/1
1
1
1
x
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
1
2
x
x
16
x flip-flop x
1
1860/1
1
Mitsubishi microcomputers
M16C / 62 Group
F/D
1

Related parts for M30622MA-XXXFP