| Electronic Components Datasheet Search |
|
CP2108 Datasheet(PDF) 21 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
CP2108 Datasheet(HTML) 21 Page - Silicon Laboratories |
|
21 / 30 page ![]() CP2108 Rev. 1.1 21 7. Asynchronous Serial Data Bus (UART) Interfaces The CP2108 contains four UART interfaces, each consisting of the TX (transmit) and RX (receive) data signals and RTS and CTS flow control signals. The UARTs also support modem flow control (DSR, DTR, DCD, RI). The UARTs are programmable to support a variety of data formats and baud rates. The Virtual COM Port (VCP) drivers are used to set the data format and baud rate during COM port configuration on the PC. The data formats and baud rates available to each UART interface are listed in Table 14. *Note: Review Table 10 for expected throughput based on selected UART Interface(s) and Baud Rate. 7.1. Baud Rate Generation The baud rate generator for the interface is very flexible, allowing any baud rate in the range from 300 bps to 2.0 Mbps. If the baud rate cannot be directly generated from the 80 MHz oscillator, the device will choose the closest possible option. The actual baud rate is dictated by Equation 1 and Equation 2. Equation 1. Clock Divider Calculation Equation 2. Baud Rate Calculation Most baud rates can be generated with an error of less than 1.0%. A general rule of thumb for the majority of UART applications is to limit the baud rate error on both the transmitter and the receiver to no more than ±2%. The clock divider value obtained in Equation 1 is rounded to the nearest integer, which may produce an error source. Another error source will be the 80 MHz oscillator, which is accurate to ±0.25%. Knowing the actual and requested baud rates, the total baud rate error can be found using Equation 3. Equation 3. Baud Rate Error Calculation The UART interfaces support the transmission and reception of a line break. The CP2108 detects a line break when the RX line is held low for longer than one byte time at the configured baud rate. The length of a transmitted line break is application-specific: the application sends a SET_BREAK command to set the TX line low, and the line stays low until the application sends a CLEAR_BREAK command. Table 14. Data Formats and Baud Rates (All UART Interfaces) Data Bits* 5, 6, 7, 8 (normal mode or fixed mode) Stop Bits 1, 1.5, 2 Parity Type Odd, Even, Set, Mark, None Baud Rate 300 bps to 2.0 Mbps* Clock Divider 80 MHz 2 Requested Baud Rate -------------------------------------------------------------------- 1 – = Actual Baud Rate 80 MHz 2 Clock Divider --------------------------------------------- = Baud Rate Error (%) 100 1 Actual Baud Rate Requested Baud Rate ----------------------------------------------------------- – 0.25% = |
|
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 |