HD6433935 Hitachi, HD6433935 Datasheet - Page 315

no-image

HD6433935

Manufacturer Part Number
HD6433935
Description
8-Bit MICROCONTROLLER
Manufacturer
Hitachi
Datasheet
Figure 10-19 Example of Multiprocessor Data Transmission Flowchart
2
3
1
Sets bits SPC31 and
SPC32 to 1 in SPCR
Read bit TEND
Read bit TDRE
Clear bit TE to
Write transmit
Continue data
Set bit MPDT
Break output?
Set PDR = 0,
transmission?
data to TDR
TDRE = 1?
TEND = 1?
0 in SCR3
PCR = 1
in SSR
in SSR
in SSR
Start
End
Yes
Yes
No
Yes
No
Yes
No
No
1.
2.
3.
Read the serial status register (SSR)
and check that bit TDRE is set to 1,
then set bit MPBT in SSR to 0 or 1 and
write transmit data to the transmit data
register (TDR). When data is written to
TDR, bit TDRE is cleared to 0 automatically.
When continuing data transmission, be
sure to read TDRE = 1 to confirm that a
write can be performed before writing data
to TDR. When data is written to TDR, bit
TDRE is cleared to 0 automatically.
If a break is to be output when data
transmission ends, set the port PCR to 1
and clear the port PDR to 0, then clear bit
TE in SCR3 to 0.
303

Related parts for HD6433935