| Electronic Components Datasheet Search |
|
7641 Datasheet(PDF) 202 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7641 Datasheet(HTML) 202 Page - Renesas Technology Corp |
|
202 / 385 page ![]() Rev.2.00 Aug 28, 2006 page 71 of 148 7641 Group REJ09B0336-0200 APPLICATION 2.4 UART Fig. 2.4.19 Control procedure of receiver • Judgment of completion of receiving (Receive buffer full flag) U2STS (Address : 3A16), bit2? 1 0 Read out a received data from U2TRB2 (Add. : 3D16), U2TRB1 (Add. : 3C16) U2STS (Address : 3A16), bit6? 0 1 U2STS (Address : 3A16), bit2? 1 0 • Judgment of an error flag U2STS (Address : 3A16), bit2? 0 1 U2CON (Address : 3B16) U2CON (Address : 3B16) 010x10002 010x10102 Processing for error • Reception of the first byte data Receive buffer full flag is set to “0” by reading data. • Judgment of completion of receiving (Receive buffer full flag) • Reception of the second byte data Receive buffer full flag is set to “0” by reading data. • Judgment of an error flag • Countermeasure for a bit slippage RESET (Address : 3916) (Address : 3B16), bit3 (Address : 3816) (Address : 3B16), bit6 (Address : 3E16) Initialization U2BRG U2CON U2MOD U2CON U2RTS 1916 12 100x00002 12 0016 q x: This bit is not used here. Set it to “0” or “1” arbitrarily. ICONB CLI (Address : 0616) xxxx0x0x2 • φ as UART clock, Clock prescaling 1/1, 1 stop bit, Parity checking disabled, 9-bit character length • RTS function enabled • No delay of RTS • UART2 receive interrupt disabled • UART2 summing error interrupt disabled U2CON (Address : 3B16), bit1 12 • Reception starts. Read out a received data from U2TRB2 (Add. : 3D16), U2TRB1 (Add. : 3C16) U2CON (Address : 3B16), bit1 02 |
|
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 |