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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-12-02 11:55 PM
USART3
TX--PB10
RX--PB11
DE-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, &GPIO_InitStruct);
Labels:
- Labels:
-
STM32F7 Series
-
UART-USART
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
