Unable to configure RS-485 Hardware Flow Control (Driver Enable / DE) for USART4 on STM32G081RB in STM32Cube
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-10 12:13 AM
Datasheet indicates DE is supported on all 4 USART interfaces, but attempting to enable it for USART4 in STM32Cube results in an error:
Mode Conflict with
USART4 : Hardware Flow Control (RS485)
Steps to reproduce:
- Create new project based on STM32G081RB
- Open the IOC file
- Navigate to Connectivity -> USART4
- Set Mode to Asynchronous
- Select Hardware Flow Control (RS485)
Software in use:
- STM32CubeIDE
- Version: 1.8.0
- Build: 11526_20211125_0815 (UTC)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-10 12:50 AM
Thanks @MJ​, for bringing this up.
I can confirm this erroneous warning, however it does not seem to have any effect on the generated code.
Regards
/Peter
@Imen DAHMEN​ Please forward this to the CubeMX/IDE team.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-10 1:25 AM
Hi @Peter BENSCH​ ,
Thank you for flagging this for me!
I added @Sara BEN HADJ YAHYA​ ​ from CubeMX team for review and provide a status update about this issue.
Thanks
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-10 2:28 AM
Hello @MJ​ ,
Thanks for your feedback,
This issue does not effect the generated code but the warning message is not supposed to be shown, with this being said, a Ticket has been submitted internally to solve this issue.
I will keep you posted with the updates.
Thanks @Imen DAHMEN​ and @Peter BENSCH​ for pointing this issue to us,
If you issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)
Sara.
