Hi,
I'm using a LPC5526 and I want to setup 9bit UART (RS485) communication, the 9th bit is used for the address detection.
The manual states that the CPU should be capable of 9bit multiprocessor:
Only in the GUI peripheral setup there no option to choose it, also in the fsl_usart.h file there a no enums / functions to configure this. Im using the 2.1.1 driver from the SDK.#
Do I look in the wrong place or are these options not available in the driver library?
Hi, Jeroen,
I agree with you that the usart driver does not have any declaration, macro, enums for the 9 bits data support, but the hardware of USART module supports 9 bits data format.
This is the USART FIFO registers, obviously, it supports 9 bits data, the bits is from 0 to 8, the total is 9 bits.
BR
XiangJun Rong