English
Language : 

SH7730 Datasheet, PDF (809/1188 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7780 Series
Section 23 Serial Communication Interface with FIFO A (SCIFA)
Initialization
Clear TE and RE bits in SCASCAR to 0
Set TFRST and RFRST bits in
SCAFCR to 1
1
Set CKE[1:0] bits in SCASCAR
(leaving TE and RE bits cleared to 0)
2
Set CA bit in SCASMR to 1
Set CKS[1:0] bits
3
Set value in SCABRR
4
Clear TFRST and RFRST bits to 0
5
Set transmit trigger number in
TTRG[1:0] in SCAFCR, write transmit
data exceeding transmit trigger
6
number, and clear TDFE
flag to 0 after reading 1 from it
Wait
1-bit interval elapsed?
Yes
End
7
No
1. Be sure to set the TFRST bit in
SCAFCR to 1, to reset the FIFOs.
2. Set the clock selection in SCASCAR.
Be sure to clear bits RIE, TIE, TE,
and RE to 0.
3. Set the clock source selection in
SCASMR.
4. Write a value corresponding to the
bit rate into SCABRR.
5. Clear the TFRST and RFRST bits in
SCAFCR to 0.
6. Set the transmit trigger number, write
transmit data exceeding the transmit
trigger number, and clear the
TDFE flag to 0 after reading it.
7. Wait one bit interval.
Figure 23.15 Sample SCIFA Initialization Flowchart (3)
(Simultaneous Transmission and Reception)
Rev. 1.00 Sep. 19, 2007 Page 761 of 1136
REJ09B0359-0100