Skip to main content
MJ1
Visitor II
January 10, 2022
Question

Unable to configure RS-485 Hardware Flow Control (Driver Enable / DE) for USART4 on STM32G081RB in STM32Cube

  • January 10, 2022
  • 3 replies
  • 1645 views

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:

  1. Create new project based on STM32G081RB
  2. Open the IOC file
  3. Navigate to Connectivity -> USART4
  4. Set Mode to Asynchronous
  5. Select Hardware Flow Control (RS485)

Software in use:

  • STM32CubeIDE
  • Version: 1.8.0
  • Build: 11526_20211125_0815 (UTC)
This topic has been closed for replies.

3 replies

Peter BENSCH
ST Technical Moderator
January 10, 2022

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.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
ST Technical Moderator
January 10, 2022

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Sara BEN HADJ YAHYA
ST Technical Moderator
January 10, 2022

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.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.