diff --git a/bsp/hc32/libraries/hc32_drivers/drv_usart.c b/bsp/hc32/libraries/hc32_drivers/drv_usart.c index 582bb343d2..36df63c428 100644 --- a/bsp/hc32/libraries/hc32_drivers/drv_usart.c +++ b/bsp/hc32/libraries/hc32_drivers/drv_usart.c @@ -264,7 +264,7 @@ static rt_err_t hc32_configure(struct rt_serial_device *serial, struct serial_co /* Enable error interrupt */ NVIC_EnableIRQ(uart->config->rxerr_irq.irq_config.irq_num); - USART_FuncCmd(uart->config->Instance, USART_TX | USART_RX, ENABLE); + USART_FuncCmd(uart->config->Instance, USART_TX | USART_RX | USART_INT_RX, ENABLE); return RT_EOK; }