STM32CubeMX USART generation for STM32G431 doesn't work for Receive Only mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-02-25 1:59 AM
STM32CubeMX USART generation for STM32G431 doesn't work for Receive Only mode - it will generate the following lines:
/* Polling USART2 initialisation */
while((!(LL_USART_IsActiveFlag_TEACK(USART2))) || (!(LL_USART_IsActiveFlag_REACK(USART2))))
{
}
Even though TX isn't enabled, so the entire program will get stuck here. Cost me some time to figure it out, please fix!
- Labels:
-
Bug-report
-
STM32G4 Series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-01 12:54 AM
Hello @DKo.15ster ,
I added the topic "STM32CubeMX" to this post, in order to increase its chance to be reviewed by our experts.
Could you please precise in which STM32CubeMX version you have found the issue ?
Hello @Khouloud OTHMAN , @Khouloud ZEMMELI ,
Can you please confirm if this issue is reproduced with the latest release of STM32CubeMX v6.2.0 ?
Imen
Thanks
Imen
