You are here

UART (SCB_UART_PDL) | 赛普拉斯半导体

UART (SCB_UART_PDL)

最近更新: 
2020 年 6 月 25 日
版本: 
2.0
特性 符号图
  • Baud Rate of up to 1 Mbps
  • 检测成帧、奇偶校验和过速错误
  • Full Duplex, TX only, and RX only modes
  • 具有硬件地址检测的 9 位地址模式
  • Break signal detection
  • Hardware Flow control
  • Smartcard and IrDA support
  • DMA 支持
  • Peripheral Driver Library (PDL) Component (PDL Application Programming Interface (API) only)
 

SCB Uart Image

 

概述

The SCB_UART_PDL Component provides asynchronous communications commonly referred to as RS232 or RS485. The Component can be configured for Full Duplex, RX only, or TX only versions. It can also be configured as a SmartCard interface, or an IrDA interface.

For most use cases, you can easily configure the UART by choosing the baud rate, parity, number of data bits, and number of start bits. The most common configuration for RS232 is often listed as “8N1,” which is shorthand for eight data bits, no parity, and one stop bit. This is the default configuration for the SCB_UART_PDL Component. Therefore, in most applications you only need to set the baud rate. A second common use for UARTs is in multi-drop RS485 networks. The SCB_UART_PDL Component supports 9-bit addressing mode with hardware address detect.

UARTs have been around a long time, so there have been many physical-layer and protocol-layer variations over time. These include, but are not limited to, RS423, DMX512, MIDI, LIN bus, legacy terminal protocols. To support the commonly used UART variations, the Component provides configuration support for the number of data bits, stop bits, parity, hardware flow control, and parity generation and detection.

The SCB_UART_PDL Component is a graphical configuration entity built on top of the cy_scb driver available in the PDL. It allows schematic-based connections and hardware configuration as defined by the Component Configure dialog.