Default clock setting on the LPC55S05-EVK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Default clock setting on the LPC55S05-EVK

36件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
0 返答(返信)