ML63611 User’s Manual
Chapter 12 Serial Port (SIO)
12 – 23
OPTION B (D): 1.5 V (3.0 V), With regulator
circuit for LCD bias
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
(3) Synchronous external clock mode
The synchronous external clock mode is selected by setting SRMOD (bit 0 of SRCON0) to “1” and SRCLK
(bit 0 of SRCON1) to “0”.
Figure 12-10 is the receive timing chart for the synchronous external clock mode.
The synchronous external clock receive procedure is indicated below.
First set the receive format (data bit length, parity bit, etc.) in SRCON1 and SRCON0.
①
Set SREN (bit 3 of SRCON0) to “1” (receive enable).
②
At the positive edge of the receive shift clock input through PC.2/RXC pin, the receive data from
PC.0/RXD pin is written to the receive register.
③
Receive operation ends.
If an overrun error occurs the OERR flag in status register (SSTAT) is set to “1”.
④
Received data is transferred to SRBUFL/H.
If a parity error occurs, the PERR flag of status register (SSTAT) is set to “1”.
⑤
The serial port receive interrupt request signal (SRINT) is generated.
⑥
At the negative edge of SRINT, SREN is reset to “0”.
Repeat step
①
the required number of times.
In the synchronous external clock mode the receive baud rate is determined by the external clock (RXCI).
Allow at least five clocks (approx. 153 µs) of TBCCLK between the time the receive is enabled (SREN =
“1”) and the time the external clock (RXCI) is input.
Содержание ML63611
Страница 9: ...Chapter 1 Overview...
Страница 33: ...Chapter 2 CPU and Memory Spaces...
Страница 42: ...Chapter 3 CPU Control Functions...
Страница 49: ...Chapter 4 Interrupt INT...
Страница 62: ...Chapter 5 Clock Generator Circuit OSC...
Страница 71: ...Chapter 6 Time Base Counter TBC...
Страница 75: ...Chapter 7 Timers TIMER...
Страница 99: ...Chapter 8 100 Hz Timer Counter 100HzTC...
Страница 103: ...Chapter 9 Watchdog Timer WDT...
Страница 108: ...Chapter 10 Ports INPUT I O PORT...
Страница 140: ...Chapter 11 Melody Driver MELODY...
Страница 152: ...Chapter 12 Serial Port SIO...
Страница 179: ...Chapter 13 LCD Driver LCD...
Страница 200: ...Chapter 14 Battery Low Detect Circuit BLD...
Страница 204: ...Chapter 15 Power Supply Circuit POWER...
Страница 215: ...Chapter 16 A D Converter ADC...
Страница 238: ...Appendixes...
Страница 271: ...ML63611 User s Manual First Edition May 2001 Second Edition June 2001 2001 Oki Electric Industry Co Ltd PEUL63611 02...