Hi, I use STM32F746 to build a modbus environment which connected to RS485 bus.I use as DE-RE pin is not a specially defined alternative function pin, so I defined it as output pin.However I am having a problem receiving the packages I send.
USART3TX--PB10RX--PB11DE-RE--PE15 /*Configure GPIO pin : PE15 */ GPIO_InitStruct.Pin = GPIO_PIN_4; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; GPIO_InitStruct.Pull = GPIO_NOPULL; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_MEDIUM; HAL_GPIO_Init(GPIOC, &G...