|
M054ZBN Datasheet, PDF (47/68 Pages) List of Unclassifed Manufacturers – 32-BIT MICROCONTROLLER | |||
|
◁ |
NuMicro⢠M052/M054BN Data Sheet
Another alternate function of UART controllers is RS-485 9 bit mode function, and direction
control provided by RTS pin or can program GPIO (P0.3 for RTS0 and P0.1 for RTS1) to
implement the function by software. The RS-485 mode is selected by setting the UA_FUN_SEL
register to select RS-485 function. The RS-485 driver control is implemented by using the RTS
control signal from an asynchronous serial port to enable the RS-485 driver. In RS-485 mode,
many characteristics of the RX and TX are same as UART.
6.10.2 Features
ï¬ Full duplex, asynchronous communications
ï¬ Separate receive / transmit 16/16 bytes entry FIFO for data payloads
ï¬ Support hardware auto flow control/flow control function (CTS, RTS) and programmable
RTS flow control trigger level
ï¬ Programmable receiver buffer trigger level
ï¬ Support programmable baud-rate generator for each channel individually
ï¬ Support CTS wake up function
ï¬ Support 8 bit receiver buffer time out detection function
ï¬ Programmable transmitting data delay time between the last stop and the next start bit by
setting UA_TOR [DLY] register
ï¬ Support break error, frame error, parity error and receive / transmit buffer overflow detect
function
ï¬ Fully programmable serial-interface characteristics
ï® Programmable number of data bit, 5, 6, 7, 8 bit character
ï® Programmable parity bit, even, odd, no parity or stick parity bit generation and
detection
ï® Programmable stop bit, 1, 1.5, or 2 stop bit generation
ï¬ Support IrDA SIR function mode
ï® Support for 3/16 bit duration for normal mode
ï¬ Support LIN function mode
ï® Support LIN master/slave mode
ï® Support programmable break generation function for transmitter
ï® Support break detect function for receiver
ï¬ Support RS-485 function mode.
ï® Support RS-485 9bit mode
ï® Support hardware or software enable to program RTS pin to control RS-485
transmission direction directly
- 47 -
Publication Release Date: Mar. 19, 2012
Revision V1.01
|
▷ |