| 전자부품 데이터시트 검색엔진 |
|
H838532H 데이터시트(PDF) 352 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H838532H 데이터시트(HTML) 352 Page - Renesas Technology Corp |
|
352 / 508 page ![]() Section 10 Serial Communication Interface Rev. 1.00 May 30, 2008 Page 332 of 484 REJ09B0436-0100 Simultaneous transmit/receive: Figure 10.15 shows an example of a flowchart for a simultaneous transmit/receive operation. This procedure should be followed for simultaneous transmission/reception after initializing SCI3. Start End Read bit TDRE in SSR Sets bits SPC31 and SPC32 to 1 in SPCR 1 2 3 4 Write transmit data to TDR Read bit OER in SSR Read bit RDRF in SSR Clear bits TE and RE to 0 in SCR3 Yes TDRE = 1? No OER = 1? No RDRF = 1? Yes Continue data transmission/reception? No Yes No Read receive data in RDR Yes Overrun error processing Read the serial status register (SSR) and check that bit TDRE is set to 1, then write transmit data to the transmit data register (TDR). When data is written to TDR, bit TDRE is cleared to 0 automatically. Read SSR and check that bit RDRF is set to 1. If it is, read the receive data in RDR. When the RDR data is read, bit RDRF is cleared to 0 automatically. When continuing data transmission/reception, finish reading of bit RDRF and RDR before receiving the MSB (bit 7) of the current frame. Before receiving the MSB (bit 7) of the current frame, also read TDRE = 1 to confirm that a write can be performed, then write data to TDR. When data is written to TDR, bit TDRE is cleared to 0 automatically, and when the data in RDR is read, bit RDRF is cleared to 0 automatically. If an overrun error has occurred, read bit OER in SSR, and after carrying out the necessary error processing, clear bit OER to 0. Transmis- sion and reception cannot be resumed if bit OER is set to 1. See figure 10.13 for details on overrun error processing. 1. 2. 3. 4. Figure 10.15 Example of Simultaneous Data Transmission/Reception Flowchart (Synchronous Mode) |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |