Default clock setting on the LPC55S05-EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Default clock setting on the LPC55S05-EVK

20 Views
Nikolai_Baschinski
Contributor I

Hi folks,

I'm new to the LPC55 series and currently using the LPC55S06-EVK. I have a very simple bare-metal project that just toggles the LED D4.

What confuses me is that I don't have any clock configuration code, yet the MCU starts up and runs properly. I expected to find a default clock configuration in either SystemInit() or ResetISR(), but there is nothing there.

When I halt the MCU at the very first instruction of ResetISR(), the clock registers are already configured:

MAINCLKSELA = 3
MAINCLKSELB = 0
AHBCLKDIV = 1

However, according to the user manual, the reset values of MAINCLKSELA and AHBCLKDIV are both 0.

How is that possible? Where are these registers being configured before my code starts executing?

Best regards,
Nikolai

Labels (1)
0 Kudos
Reply
0 Replies