Universal Asynchronous Receiver Transmitter (UART) eTPU Function


The UART function uses two eTPU channels to provide a 3-wire (TxD, RxD, and GND) asynchronous serial interface. It can be used to add serial capability to a device without a serial port, or to add additional serial I/O to a device which already has a hardware UART. The function requires no host CPU intervention during data frame transmission or reception. One eTPU channel is configured to function as the serial transmitter (TxD), and another eTPU channel is configured to function as a serial receiver (RxD). The function configures channels in pairs assuming that there is both transmit and receive channels. Both the transmit and receive channels have the same attributes in terms of baud-rate, data-size, parity etc. However, any channel can be assigned as the transmit channel, and any other channel can be assigned as the receive channel. Standard baud rates and non-standard baud rates, in addition to parity checking can be selected.

The main features of the function are as follows:

For full description refer to AN2853.