| 数据搜索系统,热门电子元器件搜索 |
|
SN250 数据表(PDF) 45 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
SN250 数据表(HTML) 45 Page - STMicroelectronics |
|
45 / 130 page ![]() SN250 Functional description—application modules 45/130 7.2.1 UART mode The SC1 UART controller is enabled with SC1_MODE set to 1. The UART mode contains the following features: ● Baud rate (300 bps up to 921 Kbps) ● Data bits (7 or 8) ● Parity bits (none, odd, or even) ● Stop bits (1 or 2) The following signals can be made available on GPIO pins: ● TXD ● RXD ● nRTS (optional) ● nCTS (optional) The SC1 UART module obtains its reference baud-rate clock from a programmable baud generator. Baud rates are set by a clock division ratio from the 24MHz clock: rate = 24MHz / ( 2 ∗ ( N + (0.5 ∗ F) ) ) The integer portion, N, is written to the SC1_UARTPER register and the fractional remainder, F, to the SC1_UARTFRAC register. Table 19 lists the supported baud rates with associated baud rate error. The minimum allowable setting for SC1_UARTPER is 8. The UART module supports various frame formats depending upon the number of data bits (SC1_UART8BIT), the number of stop bits (SC1_UART2STP), and the parity (SC1_UARTPAR plus SC1_UARTODD). The register bits SC1_UART8BIT, SC1_UART2STP, SC1_UARTPAR, and SC1_UARTODD are defined within the SC1_UARTCFG register. In addition, the UART module supports flow control by setting SC1_UARTFLOW, SC1_UARTAUTO, and SC1_UARTRTS in the SC1_UARTCFG register (see Table 20). Table 19. UART baud rates Baud Rate (bps) SC1_UARTPER SC1_UARTFRAC Baud Rate Error (%) 300 40000 0 0 4800 2500 0 0 9600 1250 0 0 19200 625 0 0 38400 312 1 0 57600 208 1 − 0.08 115200 104 0 0.16 460800 26 0 0.16 921600 13 0 0.16 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |