Receiving data from 2 UARTs, STM32F4-Discovery, HAL drivers
问题 I want to receive data from 2 sensors connected to my STM32F4-Discovery via 2 UARTs. Transmitting data from STM32 to sensors works but receiving doesn´t. Guarantee it isn´t a hardware problem. I found tutorials for 1 connected UART but not for 2 at once. I would like to use new HAL drivers and DMA for receiving. Thanks for help. UART_HandleTypeDef huart4; UART_HandleTypeDef huart5; DMA_HandleTypeDef hdma_uart4_rx; DMA_HandleTypeDef hdma_uart5_rx; uint8_t rxBuffer4 = '\000'; uint8_t rxBuffer5