Hello !
I wanted to ask 3 questions connected to tutorials I've watched :
Source :
- I was wondering when here the UART is sending data from TX to anywhere ;>

- Why UART need to be set in DMA mode or rather why there is this type of mode ? I know that data is sent from memory to UART TX register but why it needs a mode that DMA is sending it to him ? I know the DMA is set in the IOC/graphical interface, and there is a handler created hdma_usart2_tx. So why there is this mode for UART ?
-When is used HUART handler and HDMA_USART handler ?
I wanted to ask 3 questions connected to tutorials I've watched :
Source :
- I was wondering when here the UART is sending data from TX to anywhere ;>

- Why UART need to be set in DMA mode or rather why there is this type of mode ? I know that data is sent from memory to UART TX register but why it needs a mode that DMA is sending it to him ? I know the DMA is set in the IOC/graphical interface, and there is a handler created hdma_usart2_tx. So why there is this mode for UART ?
-When is used HUART handler and HDMA_USART handler ?
Last edited:




