| Electronic Components Datasheet Search |
|
R8C/15 Datasheet(PDF) 147 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C/15 Datasheet(HTML) 147 Page - Renesas Technology Corp |
|
147 / 277 page ![]() R8C/14 Group, R8C/15 Group 14. Serial Interface Rev.2.10 Jan 19, 2006 Page 135 of 253 REJ09B0164-0210 14.2 Clock Asynchronous Serial I/O (UART) Mode The UART mode allows transmit and receive data after setting the desired bit rate and transfer data format. Table 14.4 lists the Specification of UART Mode. Table 14.5 lists the Registers to Be Used and Settings in UART Mode. NOTES: 1. If an overrun error occurs, the value in the U0RB register will be indeterminate. The IR bit in the S0RIC register remains unchanged. Table 14.4 Specification of UART Mode Item Specification Transfer Data Format • Character bit (transfer data): selectable from 7, 8 or 9 bits • Start bit: 1 bit • Parity bit: selectable from odd, even, or none • Stop bit: selectable from 1 or 2 bits Transfer Clock • CKDIR bit in U0MR register is set to “0” (internal clock) : fj/(16(n+1)) fj=f1, f8, f32 n=setting value in U0BRG register: 00h to FFh • CKDIR bit is set to “1” (external clock) : fEXT/(16(n+1)) fEXT: input from CLK0 pin n=setting value in U0BRG register: 00h to FFh Transmit Start Condition • Before transmit starts, the following are required - TE bit in U0C1 register is set to “1” (transmit enabled) - TI bit in U0C1 register is set to “0” (data in U0TB register) Receive Start Condition • Before receive starts, the following are required - RE bit in U0C1 register is set to “1” (receive enabled) - Detects start bit Interrupt Request Generation Timing • When transmitting, one of the following conditions can be selected - U0IRS bit is set to “0” (transmit buffer empty): when transferring data from the U0TB register to UART0 transmit register (when transmit starts) - U0IRS bit is set to “1” (transfer ends): when serial interface completes transmitting data from the UART0 transmit register • When receiving When transferring data from the UART0 receive register to U0RB register (when receive ends) Error Detection •Overrun error(1) This error occurs if serial interface starts receiving the following data before reading the U0RB register and receiving the bit one before the last stop bit of the following data • Framing error This error occurs when the number of stop bits set are not detected • Parity error This error occurs when parity is enabled, the number of 1’s in parity and character bits do not match the number of 1’s set • Error sum flag This flag is set is set to “1” when any of the overrun, framing, and parity errors is generated |
|
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 |