2024-10-06 02:36 AM
Hello All,
I am using STM32F103C8T6 dev board and implemented UART code with RX idle line interrupt. I tested using USB to TTL converter it working as expected. But when I connected this UART to the Bluetooth module, it did not get interrupt if the command length was more than 1 byte.
This behavior is very wired because it works when connect USB to TTL and not work when want to actual hardware with Bluetooth module.
My working simple code is
HAL_UARTEx_ReceiveToIdle_DMA(&huart3, Serial3RxData, UART3_RX_MAX_LEN);