cancel
Showing results for 
Search instead for 
Did you mean: 

I'm sorry for my bad english! I am trying to use stm32f103c8 board uart 9600 9N1. I am sending 9 bits of data. but I am missing 9 bits of data. How can I read 9 bit data? It does not matter binary or hex, but I am trying to read 9 bit data completely.

ismettkn
Associate

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?

1 REPLY 1

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