Chapter 14 8-Bit Serial I/O; Overview Of 8-Bit Serial I/O - Fujitsu F2MC-8L F202RA Hardware Manual

F2mc-8l 8-bit microcontroller
Hide thumbs Also See for F2MC-8L F202RA:
Table of Contents

Advertisement

CHAPTER 14 8-BIT SERIAL I/O

14.1

Overview of 8-Bit Serial I/O

The 8-bit serial I/O has a function that serially transfers 8-bit data in synchronization
with a shift clock. It can select one shift clock from three internal shift clocks and one
external shift clock. It can also select LSB first or MSB first as the data shift direction.
Serial I/O Function
The 8-bit serial I/O function serially inputs and outputs 8-bit data in synchronization with a shift clock.
Converts 8-bit parallel data to 8-bit serial data and outputs it. Also inputs 8-bit serial data, converts the
data to 8-bit parallel data, and stores it.
Can select one shift clock from three internal shift clocks and one external shift clock.
Can control shift clock input/output and output internal shift clocks.
Can select LSB first or MSB first as the data shift direction.
Table 14.1-1 Shift Clock Cycle and Transfer Rate
Shift clock
Internal shift clock
(output)
External shift clock
(input)
F
: Oscillation frequency
CH
t
: Instruction cycle
INST
*
: When the highest speed clock of a general mode is selected with the system clock control register (SYCC)
(CS1 and CS0 bits of SYCC = 11
Serial Function Switching
The 8-bit serial I/O and UART cannot be used simultaneously because they use the same pin. For this
reason, the serial function switching circuit must be used to switch the 8-bit serial I/O and UART. For more
information on the serial function switching circuit, see Section "13.4.7 Serial Switch Register (SSEL) ".
Selecting the 8-bit serial I/O with this serial function switching circuit enables P30/UCK/SCK to be used as
the serial clock I/O pin (SCK) of the serial I/O, and P31/UO/SO to be used as the data output pin (SO). This
selection also enables P32/UI/SI to be used as the data input pin (SI).
Note:
This chapter describes pin function switching and the register function, etc., on the assumption that the 8-
bit serial I/O is selected with the serial function switching circuit.
314
Clock cycle
Frequency (Hz)
2t
INST
8t
INST
32t
INST
2t
or lower
1/(2t
INST
, 1 instruction cycle = 4/F
B
(F
CH
1/ (2t
)
INST
1/ (8t
)
INST
1/ (32t
)
INST
) or lower
INST
)
CH
Transfer rate
=12.5MHz, At maximum speed*)
1562.5 kbps
390.6 kbps
97.66 kbps
DC to 1562.5 kbps

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents