| Electronic Components Datasheet Search |
|
HT48CU80 Datasheet(PDF) 27 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48CU80 Datasheet(HTML) 27 Page - Holtek Semiconductor Inc |
|
27 / 54 page ![]() HT48RU80/HT48CU80 Rev. 1.00 27 April 12, 2006 The following tables show actual values of baud rate and error values for the two values of BRGH. Baud Rate K/BPS Baud Rates for BRGH=0 fSYS=8MHz fSYS=7.159MHz fSYS=4MHz fSYS=3.579545MHz BRG Kbaud Error BRG Kbaud Error BRG Kbaud Error BRG Kbaud Error 0.3 ¾¾¾¾¾¾ 207 0.300 0.00 185 0.300 0.00 1.2 103 1.202 0.16 92 1.203 0.23 51 1.202 0.16 46 1.19 -0.83 2.4 51 2.404 0.16 46 2.38 -0.83 25 2.404 0.16 22 2.432 1.32 4.8 25 4.807 0.16 22 4.863 1.32 12 4.808 0.16 11 4.661 -2.9 9.6 12 9.615 0.16 11 9.322 -2.9 6 8.929 -6.99 5 9.321 -2.9 19.2 6 17.857 -6.99 5 18.64 -2.9 2 20.83 8.51 2 18.643 -2.9 38.4 2 41.667 8.51 2 37.29 -2.9 1 ¾¾ 1 ¾¾ 57.6 1 62.5 8.51 1 55.93 -2.9 0 62.5 8.51 0 55.93 -2.9 115.2 0 125 8.51 0 111.86 -2.9 ¾¾¾¾¾¾ Baud Rates and Error Values for BRGH = 0 Baud Rate K/BPS Baud Rates for BRGH=1 fSYS=8MHz fSYS=7.159MHz fSYS=4MHz fSYS=3.579545MHz BRG Kbaud Error BRG Kbaud Error BRG Kbaud Error BRG Kbaud Error 0.3 ¾¾¾¾¾¾¾¾¾¾¾¾ 1.2 ¾¾¾¾¾¾ 207 1.202 0.16 185 1.203 0.23 2.4 207 2.404 0.16 185 2.405 0.23 103 2.404 0.16 92 2.406 0.23 4.8 103 4.808 0.16 92 4.811 0.23 51 4.808 0.16 46 4.76 -0.83 9.6 51 9.615 0.16 46 9.520 -0.832 25 9.615 0.16 22 9.727 1.32 19.2 25 19.231 0.16 22 19.454 1.32 12 19.231 0.16 11 18.643 -2.9 38.4 12 38.462 0.16 11 37.287 -2.9 6 35.714 -6.99 5 37.286 -2.9 57.6 8 55.556 -3.55 7 55.93 -2.9 3 62.5 8.51 3 55.930 -2.9 115.2 3 125 8.51 3 111.86 -2.9 1 125 8.51 1 111.86 -2.9 250 1 250 0 ¾¾¾ 0 250 0 ¾¾¾ Baud Rates and Error Values for BRGH = 1 · Setting up and controlling the UART ¨ Introduction For data transfer, the UART function utilizes a non-return-to-zero, more commonly known as NRZ, format. This is composed of one start bit, eight or nine data bits, and one or two stop bits. Parity is supported by the UART hardware, and can be setup to be even, odd or no parity. For the most common data format, 8 data bits along with no par- ity and one stop bit, denoted as 8, N, 1, is used as the default setting, which is the setting at power-on. The number of data bits and stop bits, along with the parity, are setup by programming the corresponding BNO, PRT, PREN, and STOPS bits in the UCR1 register. The baud rate used to transmit and receive data is setup using the internal 8-bit baud rate gen- erator, while the data is transmitted and received LSB first. Although the UART¢s transmitter and re- ceiver are functionally independent, they both use the same data format and baud rate. In all cases stop bits will be used for data transmission. ¨ Enabling/disabling the UART The basic on/off function of the internal UART func- tion is controlled using the UARTEN bit in the UCR1 register. As the UART transmit and receive pins, TX and RX respectively, are pin-shared with normal I/O pins, one of the basic functions of the UARTEN con- trol bit is to control the UART function of these two pins. If the UARTEN, TXEN and RXEN bits are set, then these two I/O pins will be setup as a TX output pin and an RX input pin respectively, in effect dis- abling the normal I/O pin function. If no data is being transmitted on the TX pin then it will default to a logic high value. |
|
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 |