
Serial Interface
13-14
SBO
SBI
SBT
SBO
SBI
SBT
SBO
SBI
SBO
SBI
SBT
SBT
Reception
Transmission
Transmission/
reception
Transmission/
reception
External
clock
External
clock
Bi-directional transfer
Undirectional transfer
<UART mode>
■
UART mode connection
Two different connection methods are possible, one for unidirectional transfer, and the other for bi-directional
transfer.
The SBO pin is always an output, and the SBI pin is always an input.
Fig. 13-2-8 Connections
■
UART mode bit rates
In UART mode, it is necessary to select an appropriate bit rate and serial interface input clock.
For example, when IOCLK = 15 MHz and the bit rate is 19.2 kbit/s, the timer function is used to divide the clock
signal. The division ratio is determined as follows:
Timer division ratio = INT (IOCLK frequency/bit rate/8 + 0.5)
In the example described above, the timer division ratio is 98.
In the timer 3 base register, set TM3BR = 97 and set SC0CK2 to 0 = "100". IOCLK divided by 98 will then be
supplied to the serial interface as the input clock. The bit rate error is calculated as follows:
Bit rate error = ABS (division ratio x 8 x bit rate/IOCLK frequency - 1)
In this example, the bit rate error is 0.35 %.
Typical examples are shown in Tables 13-2-2 through 13-2-4.
Note: When 1/8 of an external clock signal is used as the clock source, the high and low widths of the external
clock must be at least 10, 5, or 2.5 SYSCLK cycles when (MCLK frequency/SYSCLK frequency) = 1, 2, or
4, respectively.
If the division ratio is large, use either a prescaler or a cascaded connection for the timer.
Summary of Contents for MN103001G/F01K
Page 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 8: ......
Page 9: ...Table of Contents List of Figures and Tables 0 ...
Page 26: ...xviii ...
Page 27: ...1 0 1 General Specifications ...
Page 35: ...2 CPU 2 ...
Page 57: ...3 Extension Instruction Specifications 3 ...
Page 96: ...Extension Instruction Specifications 3 40 ...
Page 97: ...4 Memory Modes 3 4 ...
Page 102: ...Memory Modes 4 6 ...
Page 103: ...5 Operating Mode 5 ...
Page 107: ...6 Clock Generator 6 13 ...
Page 111: ...7 Internal Memory 7 ...
Page 114: ...Internal Memory 7 4 ...
Page 115: ...8 Bus Controller BC 8 ...
Page 189: ...9 Interrupt Controller 9 ...
Page 220: ...Interrupt Controller 9 32 ...
Page 221: ...10 8 bit Timers 9 10 ...
Page 254: ...8 bit Timers 10 34 ...
Page 255: ...11 16 bit Timers 11 ...
Page 292: ...16 bit Timers 11 38 ...
Page 293: ...12 Watchdog Timer 11 12 ...
Page 302: ...Watchdog Timer 12 10 ...
Page 303: ...13 Serial Interface 13 ...
Page 354: ...Serial Interface 13 52 ...
Page 355: ...14 A D Converter 14 ...
Page 367: ...15 I O Ports 15 ...
Page 431: ...16 Internal Flash Memory 16 ...
Page 439: ...17 17 Ordering Mask ROM ...
Page 442: ...Ordering Mask ROM 17 4 ...
Page 443: ...Appendix ...