Skip to main content
ismettkn
Visitor II
February 14, 2020
Question

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

  • February 14, 2020
  • 1 reply
  • 928 views

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?

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
February 14, 2020

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