Section 14 Serial Communication Interface with FIFO (SCIF)
Rev. 2.00 Mar 09, 2006 page 616 of 906
REJ09B0292-0200
•
Serial Data Transmission (Synchronous Mode)
Figure 14.18 shows a sample flowchart for serial transmission.
Use the following procedure for serial data transmission after enabling the SCIF for
transmission.
End
Read TDFE flag in SC1SSR
Initialization
Write transmit data to SCFTDR
and clear TDFE flag to 0
in SC1SSR
TDFE = 1?
All data transmitted?
Read TEND flag in SC1SSR
TEND = 1?
Clear TE bit to 0 in SCSCR
Start of transmission
Yes
No
No
No
2
1
3
Yes
Yes
1. PFC initialization: Set the TxD pin,
and the SCK pin if necessary, with
the PFC.
2. SCIF status check and transmit data
write: Read SC1SSR and check that
TDFE =1, then write transmit data to
the transmit FIFO data register
(SCFTDR) and clear the TDFE flag
to 0.
3. Serial transmission continuation
procedure: To continue serial
transmission, read 1 from the TDFE
flag to confirm that writing is possible,
then write data to SCFTDR, and then
clear the TDFE flag to 0.
Figure 14.18 Sample Serial Transmission Flowchart
Содержание SH7616
Страница 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Страница 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Страница 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Страница 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Страница 662: ...Section 14 Serial Communication Interface with FIFO SCIF Rev 2 00 Mar 09 2006 page 636 of 906 REJ09B0292 0200 ...
Страница 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Страница 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Страница 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Страница 935: ...SH7616 Hardware Manual ...