The maximum clock frequency for the SC16C852LIB,157 is 3.6864 MHz, but it can be operated at frequencies up to 4 MHz with some limitations.
To configure the UART for 9-bit data transmission, set the MCR[7] bit to '1' and the LCR[0] bit to '1'. This enables 9-bit data transmission with the 9th bit being the parity bit.
The XTAL1 and XTAL2 pins are used to connect an external crystal oscillator, which provides the clock signal for the UART. The XTAL1 pin is the input pin, and the XTAL2 pin is the output pin.
The SC16C852LIB,157 can be reset by asserting the RESET pin low for at least 10 ns. This resets the UART to its default state.
The SC16C852LIB,157 supports baud rates up to 921.6 kbps.