Serial Interface Clock Timing; Panasonic - Panasonic MN10285K User Manual

Panax series microcomputer
Table of Contents

Advertisement

Do not change the clock source
once you select it. Selecting the
clock source while you set up
the count operation control will
corrupt the value in the binary
counter.
In the bank and linear address-
ing versions of the MN102
series, it was necessary to set
TM1EN and TM1LD to 0
between steps 3 and 4, to
ensure stable operation. This is
unnecessary in the high-speed
linear addressing version.
Panasonic Semiconductor Development Company
3.
Set the TM1LD bit of the TM1MD register to 1. This loads the value in the
base register to the binary counter. At the same time, select the clock source
as B
/4 by writing b'00' to TM1S[1:0].
OSC
TM1MD (example)
Bit:
7
6
5
4
TM1
TM1
EN
LD
Setting:
0
1
0
0
4.
Set TM1LD to 0 and TM1EN to 1. This starts the timer. Counting begins at
the start of the next cycle. When the binary counter reaches 0 and loads the
value x'26' from the base register, in preparation for the next count, a timer 1
underflow occurs. The serial interface operates in sync with this underflow
output.
Figure 5-12 shows an example timing chart.
B
/4
OSC
TM1BR
00
26
TM1BC
00
26
TM1 output
(To serial I/F)
Figure 5-12 Serial Interface Clock Timing
The interrupt process is repeated each time the buffer receives another byte of
serial data.
136

Panasonic

Serial Interface Setup Examples
3
2
1
0
TM1
TM1
S1
S0
0
0
0
0
00 26 00 26 00 26 00 26 00 26 00 26 00 26 00 26 00 26 00 26
MN102H75K/F75K/85K/F85K LSI User Manual
Serial Interfaces
x'00FE21'
indicates 25, 24-02, and 01.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn102f75kMn102f85kMn102h75kMn102h85k

Table of Contents