cancel
Showing results for 
Search instead for 
Did you mean: 

Where is global interrupt enable during STM32G4 intialization

CJi
Associate II

is global interrupt is always enable during startup, is that right ?, if yes, where can i find it?

In

HAL_Init();

or

startup_stm32g474retx.s

1 ACCEPTED SOLUTION

Accepted Solutions

The processor starts with interrupts enabled. You get to enable specific peripherals ones via the NVIC

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

3 REPLIES 3

The processor starts with interrupts enabled. You get to enable specific peripherals ones via the NVIC

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thank you! Can you point to me, Where does the processor implement enable global interrupts? which file and which line😊

What part of "starts with them enabled" is unclear here? There isn't a file/line involved.

The SCB->VTOR is reset to zero, and this means the memory mapped there (FLASH, SRAM, ROM) is controlled by BOOT pins

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..