| Electronic Components Datasheet Search |
|
SH7713 Datasheet(PDF) 617 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7713 Datasheet(HTML) 617 Page - Renesas Technology Corp |
|
617 / 904 page ![]() Section 16 Serial Communication Interface with FIFO (SCIF) Rev.1.50 Aug. 30, 2006 Page 577 of 860 REJ09B0288-0150 Serial Data Reception: Figures 16.15 and 16.16 show sample flowcharts for serial reception. Use the following procedure for serial data reception after enabling the SCIF for reception. To change the operating mode from asynchronous mode to clock synchronous mode without initialization, be sure to confirm that the flags ORER, PER3 to PER0, and FER3 to FER0 are cleared to 0. Yes No Start reception End reception No Yes Read RDF flag in SCFSR Clear RE bit in SCSCR to 0 Read ORER flag in SCLSR Error handling Read receive data from SCFRDR and clear RDF flag in SCFSR to 0 No Yes ORER = 1? RDF = 1? All data received? Initialization SCIF initialization: See figure 16.3, Sample SCIF Initialization Flowchart. Receive error handling: If a receive error occurs, read the ORER flag in SCLSR, then after executing the necessary error handling, clear the ORER flag to 0. Serial reception cannot be continued while the ORER flag is set to 1. SCIF status check and receive data read: Read SCFSR, check that the RDF flag is set to 1, then read receive data in SCFRDR and clear the RDF flag to 0. Notification that the RDF flag has changed from 0 to 1 can also be given by the RXI. Serial reception continuation procedure: To continue serial reception, read at least the receive trigger set number of data bytes from SCFRDR, read 1 from the RDF flag, and then clear the RDF flag to 0. The number of receive data in SCFRDR can be ascertained by reading the lower bits of SCFDR. However, if the DMAC is activated by the RXI and the value is read from SCFRDR, the RDF flag is cleared automatically. 1. 2. 3. 4. Figure 16.15 Sample Serial Reception Flowchart |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |