Program Example For 8-Bit Serial I/O - Fujitsu Semiconductor Controller MB89950/950A Hardware Manual

F2mc-8l 8-bit microcontroller
Table of Contents

Advertisement

CHAPTER 9 8-BIT SERIAL I/O
9.10

Program Example for 8-bit Serial I/O

This section gives program example for 8-bit serial I/O.
I Program example for serial output
G
Processing description
• Outputs 8-bit serial data (55
completed.
• The interrupt processing routine resets the transfer data and continues output.
• Operates as an internal shift clock and outputs the shift clock from the SCK pin.
• With a main clock oscillation frequency F
shift function (1 instruction cycle = 4/F
follows.
Transfer speed = 5 MHz/4/32 = 39 kbps
Interrupt cycle = 8 x 32 x 4/5 MHz = 204.8 µs
190
) from the SO pin of serial I/O, then generates an interrupt when transfer is
H
of 5 MHz, the highest speed clock selected by the speed-
CH
), and a 32 t
CH
shift clock, the data transfer rate will be as
inst

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb89950 seriesMb89950a series

Table of Contents