Notes On Using 8-Bit Serial I/O; Figure 8.9-1 Idle State Of Shift Clock - Fujitsu F2MC-8L Series Hardware Manual

8-bit microcontroller
Hide thumbs Also See for F2MC-8L Series:
Table of Contents

Advertisement

CHAPTER 8 8-BIT SERIAL I/O
8.9

Notes on Using 8-bit Serial I/O

This section lists points to note when using the 8-bit serial I/O.
Notes on Using 8-bit Serial I/O
Error on starting serial transfer
As activating the serial transfer by software (SMR: SST = "1") is not synchronized with the
falling edge (output) or rising edge (input) of the shift clock, there is a delay of up to one cycle of
the selected shift clock before the first serial data I/O occurs.
Malfunction due to noise
In serial data transfer, malfunction of the serial I/O may occur if unwanted pulses (pulses
exceeding the hysteresis width) occur on the shift clock due to external noise.
Notes on setting by program
Write to the serial mode register (SMR) and serial data register (SDR) when serial I/O is
stopped (SMR: SST = "0").
Do not modify other SMR register bits when starting/enabling serial I/O transfer (SMR: SST =
"1").
When using an external shift clock for shift clock input and when serial data output is
enabled (SMR: SOE = "1"), the output level on the SO pin when the external shift clock is
input is the most significant bit (when MSB first is selected) or least significant bit (when LSB
first is selected). This applies even if serial transfer is stopped (SMR: SST = "0").
The interrupt request flag bit (SMR: SIOF) is not set if serial I/O transfer is stopped (SMR:
SST = "0") at the same time as serial data transfer completes.
The operatin cannot be resumed exiting the interrupt operetion if the SIOF bit is "1" and the
interrupt request enable bit is enabled (SIOE = "1"). Always clear the SIOF bit.
Transfer speed of serial I/O
The serial data output pin (SO) for serial I/O is a CMOS output and is not suitable for high-
speed transfer. Care is required when using serial I/O with a high-speed shift clock.
Idle state of shift clock
Hold the external shift clock at the "H" level during the delay time between transfers of 8-bit data
(idle state). When set as the shift clock output (SMR: SCKE = "1"), the internal shift clock (SMR:
CKS1, CKS0 = other than "11
Figure 8.9-1 shows the idle state of the shift clock.
External shift
clock
212
") outputs an "H" level during the idle state.
B

Figure 8.9-1 Idle State of Shift Clock

Idle state
8-bit data transfer
8-bit data transfer
Idle state
Idle state

Advertisement

Table of Contents
loading

Table of Contents