| 전자부품 데이터시트 검색엔진 |
|
H8/3021 데이터시트(PDF) 399 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3021 데이터시트(HTML) 399 Page - Renesas Technology Corp |
|
399 / 712 page ![]() 11. Serial Communication Interface Rev.2.00 Mar. 22, 2007 Page 375 of 684 REJ09B0352-0200 Receiving Multiprocessor Serial Data: Figure 11.12 shows a sample flowchart for receiving multiprocessor serial data and indicates the procedure to follow. Initialize Start receiving Read RDRF flag in SSR RDRF = 1? Read receive data from RDR Read ORER and FER flags in SSR FER ORER = 1 ? Read RDRF flag in SSR Read receive data from RDR ∨ RDRF = 1? Finished receiving? Clear RE bit to 0 in SCR Error handling (continued on next page) End 1 2 4 5 1. 2. 3. 4. 5. SCI initialization: the receive data function of the RxD pin is selected automatically. ID receive cycle: set the MPIE bit to 1 in SCR. SCI status check and ID check: read SSR, check that the RDRF flag is set to 1, then read data from RDR and compare with the processor's own ID. If the ID does not match, set the MPIE bit to 1 again and clear the RDRF flag to 0. If the ID matches, clear the RDRF flag to 0. SCI status check and data receiving: read SSR, check that the RDRF flag is set to 1, then read data from RDR. Receive error handling and break detection: if a receive error occurs, read the ORER and FER flags in SSR to identify the error. After executing the necessary error handling, clear the ORER and FER flags both to 0. Receiving cannot resume while either the ORER or FER flag remains set to 1. When a framing error occurs, the RxD pin can be read to detect the break state. Yes Yes Yes No Yes Yes No No No 3 Set MPIE bit to 1 in SCR Read ORER and FER flags in SSR Yes FER ORER = 1 ? ∨ Own ID? No No Figure 11.12 Sample Flowchart for Receiving Multiprocessor Serial Data (1) |
|
링크 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 |