I'm trying to implement your UART tutorial in my kit NUCLEO G070RB of STM.
I have exactly the same code that you wrote in the tutorial, but still, I don't know why but even 1 bit is transmited into the receiveBuffer. After the
HAL_UART_Receive_IT(&huart2, receiveBuffer, 32); is executed, I look at the variable and all the positions are still 0.
As baud rate I have 9600 b/s, Fuart = 64Mhz and 16 of over sampling.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookies
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
Hello,
I'm trying to implement your UART tutorial in my kit NUCLEO G070RB of STM.
I have exactly the same code that you wrote in the tutorial, but still, I don't know why but even 1 bit is transmited into the receiveBuffer. After the
HAL_UART_Receive_IT(&huart2, receiveBuffer, 32); is executed, I look at the variable and all the positions are still 0.
As baud rate I have 9600 b/s, Fuart = 64Mhz and 16 of over sampling.
Hope you can help me,
Thanks!
Marc