Skip to main content
CJi
Associate II
November 11, 2019
Solved

Where is global interrupt enable during STM32G4 intialization

  • November 11, 2019
  • 3 replies
  • 1579 views

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

This topic has been closed for replies.
Best answer by Tesla DeLorean

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

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
November 11, 2019

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
CJi
CJiAuthor
Associate II
November 11, 2019

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

Tesla DeLorean
Guru
November 11, 2019

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..