Error in UART Reception
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-02 5:00 AM
We are using STM32F401RE for our people counting project. We need to receive a value using UART reception and tried several methods. For transmitting we are using printf() function, for reception we have tried with HAL_UART_Receive() api but it didn't work. For reception, if we want to use scanf(), what changes we need to do? We are attaching the project file.
- Labels:
-
STM32F4 Series
-
TrueSTUDIO
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-02 5:25 AM
You'd likely need to implement an fgetc() function, and address the potential issue with the polled HAL USART functions blocking.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-24 9:47 PM
Since I am new to ST programming, Can you please explain how to implement an fgetc() function using HAL USART functions.
