AnsweredAssumed Answered

Nested interrupts - STM32F7

Question asked by Omar Suárez on Apr 18, 2017
Latest reply on Apr 20, 2017 by T J


I am trying to configure the STM32F7 to work with a Timer and a SPI to transfer data using DMA.

The idea is to use the TIM6 to trigger the SPI so I start the SPI data transmission inside the timer interrupt handler (HAL_TIM_PeriodElapsedCallback) and wait for the SPI transmission complete interrupt there.

After some test I found that the SPI transmission complete interrupt is not working and the problem seems to be the nested interrupts (SPI inside the TIM6 handler).

How should I configure the NVIC to make nested interrupts work?


Thanks in advanced,