| Electronic Components Datasheet Search |
|
SH7721 Datasheet(PDF) 678 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7721 Datasheet(HTML) 678 Page - Renesas Technology Corp |
|
678 / 1524 page ![]() Section 18 Serial Communication Interface with FIFO (SCIF) Rev. 3.00 Jan. 18, 2008 Page 616 of 1458 REJ09B0033-0300 to 0 in transmitting. Set the TFRST bit in the SCFCR to 1 and reset the SCFTDR before TE is set again to start transmission. When an external clock is used, the clock should not be stopped during initialization or subsequent operation. SCIF operation becomes unreliable if the clock is stopped. Figure 18.2 is a sample flowchart for initializing the SCIF. Initialization (1) Set the clock selection in SCSCR. Be sure to clear bits RIE TIE, TE, and RE to 0. (2) Set the operating clock source in SCSMR. (3) Write a value corresponding to the bit rate into SCBRR. (Not necessary if an external clock is used.) (4) Wait at least one bit interval, then set the TE bit or RE bit in SCSR to 1. Also set the RIE and TIE bits. Setting the TE and RE bits enables the TxD and RxD pins to be used. When transmitting, the SCIF will go to the mark state; when receiving, it will go to the idle state. Clear TE and RE bits in SCSCR to 0 Set TFRST and RFRST bits in SCFCR to 1 (1) (2) (3) (4) 1-bit interval elapsed? Set RTRG1, RTRG0, TTRG1, and TTRG0 in SCFCR Clear TFRST and RFRST bits to 0 Set TE and RE bits in SCSCR to 1,and set RIE, and TIE bits Set operating clock source in SCSMR Yes No Set value in SCBRR Set CKE1 and CKE0 bits in SCSCR2 (leaving TE and RE bits cleared to 0) End Wait Figure 18.2 Sample SCIF Initialization 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 |