We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Is there a option to "STICK UART PARITY" to 1 and 0 using the CMSIS Drivers...
This is all that is defined in the HEADER file;
/*----- USART Control Codes: Mode Parameters: Parity -----*/ #define ARM_USART_PARITY_Pos 12 #define ARM_USART_PARITY_Msk (3UL << ARM_USART_PARITY_Pos) #define ARM_USART_PARITY_NONE (0UL << ARM_USART_PARITY_Pos) ///< No Parity (default) #define ARM_USART_PARITY_EVEN (1UL << ARM_USART_PARITY_Pos) ///< Even Parity #define ARM_USART_PARITY_ODD (2UL << ARM_USART_PARITY_Pos) ///< Odd Parity
The transmit functions actually support 9-bit transmissions.
www.keil.com/.../group__usart__interface__gr.html
However it is currently not implemented for the NXP devices.
Would this solve your problem?
I would prefer the "STICK UART PARITY" feature, NXP on the LPC18xx does not do 9-bit transmissions properly.