When I use UART in DMA mode with CubeMX generating code. I read the source code of HAL lib and I can't find any __HAL_UART_ENABLE_IT
that can enable UART interrupt in the process of UART DMA mode. So I guess UART interrupt is no use and try disabling UART interrupt by // HAL_NVIC_EnableIRQ(USART1_IRQn);
After that I can't use UART DMA mode correctly. I can't both transmit and receive data. My device is STM32f103VET6.
My question is what role UART interrupt plays in UART DMA mode and how it affects this process?