Rev.2.00 Oct 16, 2006 page 81 of 354
REJ09B0340-0200
M30245 Group
2. SIM interface
In conforming to the SIM interface, the UART clock signal within the SIM card needs to conform to the
UARTi (i=0 to 3) clock signal within the microprocessor. Two examples are given here as means of
generating a UARTi clock signal within the microprocessor.
* In the case of setting a value equal to or less than (1/256 X 1/16) in the division rate of UARTi clock
Choose f
1
for the UART’s source clock signal and set an optional value in the 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 UARTi clock
Set the bit rate generator to “0”, turn the source clock signal to timer output and set an optional value
in the timer.
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.4.19 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 UARTi clock
UARTi clock signal within microprocessor = UART clock within SIM card
f
1
x
x
= f
1
x
x flip-flop x
Let X
IN
= 16 MHz, timer Aj counter = 1, F = 372, and D = 1, then the value to be set in the bit rate
generator becomes
16 x
x
=16 X
x
x
Bit rate generator = 92
Table 2.4.8 shows an example of setting in the UARTi 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 UARTi clock
UARTi clock signal within microprocessor = UART clock within SIM card
f
1
x
x
x
x
= f
1
x
x
x
Let X
IN
= 16 MHz, timer Aj counter = 3, bit rate generator = 0, F = 1860, and D = 1, then the value to be
set in the timer Ak counter becomes
16 x
x
x
x
=16 x
x
x
Timer Ak counter = 464
Table 2.4.9 shows an example of setting in the timer Ak counter.
2.4.7 Clock Signals in used for the SIM Interface
Bit rate gen 1
1
16
1
1
Timer Aj c 1
F/D
1
16
1
2
1
1 + 1
1
372/1
1
flip-flop
1
Timer Ak c 1
16
1
Bit rate gen 1
1
flip-flop
F/D
1
1
Timer Aj co 1
2
1
0 + 1
1
16
1
2
1
1860/1
1
Bit rate gen 1
1
1
Timer Ak c 1
1
3 + 1
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...