2018-07-07 07:52 AM
Hi All;
I would like to know when I use HAL library for parity. I setting please see below
huart1.Init.Parity = UART_PARITY_ODD;
When I setting '
UART_PARITY_ODD' and 'UART_PARITY_EVEN' is not working.
I would like to know when I want to set it. How should I do?
#parity-check #stm32f0-hal #stm322018-07-07 08:32 AM
For 8O1 you must selected 9-BIT ODD on the STM32 side, as it counts the parity as a bit, and then you'd likely want to strip/mask on the receive side
2018-07-12 07:46 PM
Thank you.