cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX USART DE config incorrect - STM32F091

IHave
Associate

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.

0 REPLIES 0