How to configure KL46Z UART1 to support 9-bit character length ?

Discussion created by jeromebrillant on Jul 20, 2017
Latest reply on Jul 23, 2017 by Kerry Zhou

Hello NXP,


I am developing an application using FRDM-KL46Z HW, MCUXPresso v10.0.0 and SDK_2.2_FRDM-KL46Z.

In my use case, the UART1 is used to receive a 9-bit length data, 1 stop bit, no parity, 4800bps.


KL46Z reference manual mentions that this "9-bit character lenght" is supported by the UART1 HW. Nonetheless, it seems the SDK APIs do not offer that feature.


Do you have any driver example showing how to enable that "9-bit length" functionality ?


Best regards,