Skip to main content
BRoge
Associate
Feb 27, 2019 3:09 PM UTC
Solved

"HAL_UART_Transmit_DMA(...)" without HTIE (Half transfer interrupt enable)

Is there a HAL method that allows you to easily set a transmit DMA interrupt like "HAL_UART_Transmit_DMA(...)" but without setting the half transfer interrupt routine? Since the Tx buffer is full when this is enabled, I can expect the DMA to start transmitting right away, so I was wondering if there is a HAL method to disable the HTIE before starting the DMA.

This topic has been closed for replies.
S.Ma
S.MaBest answer
Principal
Feb 27, 2019 3:26 PM UTC

Nope, manually disable unwanted interrupts, hal hack needed.

2 replies

S.Ma
S.MaBest answer
Principal
Feb 27, 2019 3:26 PM UTC

Nope, manually disable unwanted interrupts, hal hack needed.

BRoge
BRogeAuthor
Associate
Feb 27, 2019 3:29 PM UTC

Darn, ok thanks for letting me know. I think I'll just copy the function and modify it to my needs in a different .c file.