Question
Is CubeIDE generated DMA Interrupt code necessary \ what triggers it?
I’m using CubeIDE + STM32G4 to configure DMA transfers and I’m a bit confused by the interrupt code it generates. Configuring DMA transfers on TIM8 defaults 'DMA1 Channel1 global interrupt' to enabled and generates a DMA1_Channel1_IRQ_Handler function. The point of using DMA is to avoid using interrupt code, so I’m hoping this is unnecessary bloat. How much of this code has to exist?
I ran some tests on the how the DMA interrupt functions and I see that it triggers when TIM8 receives a reset signal via ITR9 triggered by TIM20 CH1 output compare. I’m not sure how I deduce\configure what events trigger the DMA1 global interrupt. (Ideally I won’t even have one.) Where in the reference manual could I have read to find out that resetting TIM8 like this would activate the DMA interrupt?
