HD6417615 Hitachi Semiconductor, HD6417615 Datasheet - Page 624

no-image

HD6417615

Manufacturer Part Number
HD6417615
Description
Hardware Manual
Manufacturer
Hitachi Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6417615ARBPV
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
HD6417615ARF
Quantity:
8
Part Number:
HD6417615ARF
Manufacturer:
HIT
Quantity:
5 510
Part Number:
HD6417615ARF
Manufacturer:
ABB
Quantity:
5 510
Part Number:
HD6417615ARF
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6417615ARFV
Manufacturer:
HITACHI
Quantity:
239
Part Number:
HD6417615ARFV
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
HD6417615ARFV
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Figure 14.22 Sample Flowchart for Serial Data Transmission and Reception
No
No
No
from SCFRDR, and clear RDF
Read ORER flag in SC2SSR
Read TDFE flag in SC1SSR
to SCFTDR and clear TDRE
Read RDF flag in SC1SSR
Clear TE and RE bits to 0
Start of transmission/
All data transferred?
End of transmission/
flag to 0 in SC1SSR
flag to 0 in SC1SSR
Write transmit data
Read receive data
Initialization
ORER = 1?
TDFE = 1?
in SCSCR
RDF = 1?
reception
reception
No
Yes
Yes
Yes
Error handling
Yes
1
2
4
5
3
1. PFC initialization: Set the TxD and
2. SCIF status check and transmit data
3. Receive error handling: If a receive
4. SCIF status check and receive data
5. Serial transmission/reception
Note: When switching from transmitting
RxD pins, and the SCK pin if
necessary, with the PFC.
write: Read SC1SSR and check that
the TDFE flag is set to 1, then write
transmit data to SCFTDR and clear
the TDFE flag to 0. Transition of the
TDFE flag from 0 to 1 can also be
identified by a TXI interrupt.
error occurs, read the ORER flag in
SC2SSR, and after performing the
appropriate error handling, clear the
ORER flag to 0.
Transmission/reception cannot be
resumed if the ORER flag is set to 1.
read: Read SC1SSR and check that
the RDF flag is set to 1, then read
receive data from SCFRDR and
clear the RDF flag to 0. Transition of
the RDF flag from 0 to 1 can also be
identified by an RXI interrupt.
continuation procedure: To continue
serial transmission/reception, finish
reading the RDF flag, reading
SCFRDR, and clearing the RDF flag
to 0, before the MSB (bit 7) of the
current frame is received. Also,
before the MSB (bit 7) of the current
frame is transmitted, read 1 from the
TDFE flag to confirm that writing is
possible, then write data to SCFTDR
and clear the TDFE flag to 0.
or receiving to simultaneous
transmitting and receiving, first
clear the TE bit and RE bit to 0,
then set the TE bit and RE bit to
1 simultaneously.
611

Related parts for HD6417615