402
Start transmitting and receiving
Initialization
Read TDRE bit in SSR
Total
count transmitted and
received?
Transmitting/receiving ends
(1)
(2)
No
Yes
TDRE = 1?
Write transmit data to TDR
and clear TDRE bit in
SSR to 0
RDRF = 1?
No
Yes
Yes
No
Read ORER bit in SSR
Error handling
(3)
ORER = 1?
No
Read RDRF bit in SSR
(5)
Yes
(4)
Read receive data in
RDR and clear RDRF bit
in SSR to 0
Clear TE and RE bits in
SCR to 0
Note:
When switching from transmitting or receiving to simultaneous transmitting and
receiving, clear both the TE bit and the RE bit to 0, then set both this to 1
simultaneously.
Figure 13.20 Sample Flowchart for Serial Transmitting and Receiving
Summary of Contents for HD6417032
Page 21: ......
Page 35: ...xiv ...
Page 85: ...50 ...
Page 101: ...66 ...
Page 129: ...94 ...
Page 135: ...100 ...
Page 343: ...308 ...
Page 369: ...334 ...
Page 383: ...348 ...
Page 475: ...440 ...
Page 525: ...490 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 18 Self Refresh ...
Page 578: ...543 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 62 Self Refresh ...
Page 689: ...654 ...