Renesas F-ZTAT H8 Series Hardware Manual page 327

8-bit single-chip microcomputer
Hide thumbs Also See for F-ZTAT H8 Series:
Table of Contents

Advertisement

Transmitting Multiprocessor Data: Figure 10.21 shows a typical flow chart for multiprocessor
serial data transmission. After SCI3 initialization, follow the procedure below.
Start
1
Read bit TDRE in SSR
TDRE = 1?
Set bit MPBT in SSR
Write transmit data to TDR
Continue
2
transmitting?
Read bit TEND in SSR
TEND = 1?
Break output?
3
Set PDR = 0 and PCR = 1
Clear bit TE in SCR3 to 0
Figure 10.21 Typical Multiprocessor Data Transmission Flow Chart
Yes
Yes
No
Yes
Yes
End
10. Serial Communication Interface
1.
Read the serial status register (SSR), and
after confirming that bit TDRE = 1, set bit
MPBT (multiprocessor bit transmit) in SSR
No
to 0 or 1, then write transmit data in the
transmit data register (TDR).
When data is written to TDR, TDRE is
automatically cleared to 0.
2.
To continue transmitting data, read bit
TDRE to make sure it is set to 1, then
write the next data to TDR.
When data is written to TDR, TDRE
is automatically cleared to 0.
No
3.
To output a break signal at the end of data
transmission, first set the port values
PCR = 1 and PDR = 0, then clear bit TE
No
in SCR3 to 0.
Rev.3.00 Jul. 19, 2007 page 301 of 532
REJ09B0397-0300

Advertisement

Table of Contents
loading

Table of Contents