2020-07-06 03:26 AM
2020-07-06 06:01 AM
Most of those are error handlers and can't or shouldn't be disabled. Which one do you want to disable?
2020-07-06 07:14 AM
Thanks TDK , while viewing the video provided by ST (snapshot is attached) and practicing on my computer I observed the difference and questions were in my mind, why are these interrupts not disabled? In beginners projects if there is no code in these ISRs do these interrupts still have effect on program flow? how to disable?
2020-07-06 11:11 AM
The screenshot is from an older version of CubeMX. Likely the newer version has them permanently enabled.
> In beginners projects if there is no code in these ISRs do these interrupts still have effect on program flow?
Unless the interrupts are triggered, they won't affect your program at all. That's true of any interrupt.
In normal code execution, none of these interrupts (apart from SysTick) should be triggered. They are triggered on various errors, such as trying to access an invalid memory address or execute an invalid instruction. In these cases, you definitely want to know about it so you can properly debug and fix your firmware.
SysTick is required as the HAL library uses it by default to perform timing measurements.