2019-07-12 01:26 AM
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.