Skip to main content
IHave
Visitor II
July 12, 2019
Question

CubeMX USART DE config incorrect - STM32F091

  • July 12, 2019
  • 0 replies
  • 452 views

Using RS485 driver enable, specifically on USART 7 and 8, the CubeMX generated code needs to add in MspInit:

GPIO_InitStruct.Alternate = GPIO_AF1_USART7;

GPIO_InitStruct.Alternate = GPIO_AF2_USART8;

respectively.

This topic has been closed for replies.