TIM7 is stopping after working
Hi everybody,
I'm working on a STM32F446. I'm using the UART.
I've a function with switch/cases which instead of a function number fill a buffer.
ex :
switch(function) {
case 0x00 : Txbuffer[idx_trame++] = 0x00;break;
case 0x01 : Txbuffer[idx_trame++] = 0x00;break;
case 0x02 : Txbuffer[idx_trame++] = 0x00;break;
etc...
At the end of the function, I've the follwing function : HAL_UART_Transmit_DMA(...)
In parallel, I'm using the timer7 (triggered every 1ms).
It works well.
But, yesterday, I've added some cases, and when my software run into them, I see the tim7 stops (I've put a GPIO in the interrupt and a probe on it).
So, I see that before entering in the HAL_UART_Transmit_DMA function, it works and after it stops.
When I take a look on tim7 registers, everything seems to be OK, except UIF that keeps at 1 (so the interrupt is never resetted).

If you have some ideas, I'll be very happy.
