cancel
Showing results for 
Search instead for 
Did you mean: 

Can I place the HAL_UART_TxCpltCallback callback function other than in main.c?

usama2
Associate II
Posted on October 24, 2017 at 06:28

Hi,

I implemented a simple buffer for transmitting data by UART using DMA on an STM32F429. 

The code is working fine. To make things cleaner, I would like to move all UART related code to another source and header file. say X_uart.c , .h 

The problem is that if I move HAL_UART_TxCpltCallback from main.c to this source file, it doesn't get called. Am I doing it wrong or is it just not possible?

#stm32f429 #hal_uart_txcpltcallback #uart-dma
0 REPLIES 0