Operation Of Serial Input; Serial Input Operation - Fujitsu Semiconductor Controller MB89950/950A Hardware Manual

F2mc-8l 8-bit microcontroller
Table of Contents

Advertisement

9.6

Operation of Serial Input

The 8-bit serial I/O can perform serial input of 8-bit data synchronized with a shift clock.
I Serial input operation
Serial input can operate using an internal or external shift clock. When serial in operation is enabled, input
from the serial data input pin (SI) is stored in SDR register. Serial output is performed at the same time.
G
Internal shift clock
Figure 9.6-1 "Serial input settings (when using internal shift clock)" shows the settings required to operate
serial input using an internal shift clock.
Figure 9.6-1 Serial input settings (when using internal shift clock)
Starting serial input operation stores the value of the serial data input pin (SI) to the SDR register,
synchronized with the rising edge of the selected internal shift clock. At this time, the device being
communicated with (a serial output) must have data set in the SDR register and be waiting for input of the
external shift clock.
G
External shift clock
Figure 9.6-2 "Serial input settings (when using external shift clock)" shows the settings required to operate
serial input using an external shift clock.
Figure 9.6-2 Serial input settings (when using external shift clock)
Enabling serial input operation stores the data on the SI pin to the SDR register, synchronized with the
rising edge of the external shift clock. When serial input completes, read the SDR register and enable
operation (SMR: SST = "1") promptly to input next data.
Bit 7
Bit 6
Bit 5
DDR4
X
X
SMR
SIOF
SIOE
SCKE
SDR
Bit 7
Bit 6
Bit 5
DDR4
X
X
SMR
SIOF
SIOE
SCKE
SDR
Bit 4
Bit 3
Bit 2
X
X
0
X
SOE
CKS1
CKS0
1
X
other than "11"
Stores the received data.
Bit 4
Bit 3
Bit 2
0
X
0
X
SOE
CKS1
CKS0
0
X
1
1
Shows the received data.
CHAPTER 9 8-BIT SERIAL I/O
Bit 1
Bit 0
X
X
BDS
SST
: Used bit
1
: Unused bit
X
1 : Set "1"
0 : Set "0"
Bit 1
Bit 0
X
X
BDS
SST
: Used bit
1
: Unused bit
X
1 : Set "1"
0 : Set "0"
183

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb89950 seriesMb89950a series

Table of Contents