2020-02-14 01:28 AM
I am trying to create an MDB / ICP (VMC) library for stm32f103 and I need to read and write 9600 baundrate 9N1 features! but hal_uart_receive () function gets 9 bits of data wrong! can you help me?
2020-02-14 02:27 PM
How exactly are the data wrong? Are you sure, the actual data on the Rx pin are not wrong? Have you observed the signal using oscilloscope or logic analyzer?
You may also perhaps omit Cube/HAL and use direct register access. Cube/HAL often does not support well features which are rarely used.
JW