How do I enable the SRAM1 clock just after Reset on LPC546xx

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

How do I enable the SRAM1 clock just after Reset on LPC546xx

3,704件の閲覧回数
danielgull
Contributor IV

Hi,

The reset value after boot of the SRAM1 bit in AHBCLKTRL0 in LPC546xx according to UM10912 is 0. This means the clock to the SRAM1 is disabled after reset. I however need this clock signal to be enabled in the startup sequence. How can I enable this bit using assembler code in the startup file? Are there examples out there that already do this that I can just copy?

Many thanks

Dani

ラベル(1)
タグ(2)
4 返答(返信)

3,484件の閲覧回数
soledad
NXP Employee
NXP Employee

Hi,

This bit is set after reset.

I have tested the LPC54608 board with our SDK code, after reset, the AHBCLKCTRL0 is really 0X18B, 
I also attach my debug test result, you can find both IAR and MDK project, after reset, the AHBCLKCTRL0 is 0X18B, 

I reported this issue.

 

 

Regards 

Sol 

0 件の賞賛
返信

3,484件の閲覧回数
danielgull
Contributor IV

Hi Sol

I do not have access to the provided links.

Dani

0 件の賞賛
返信

3,484件の閲覧回数
soledad
NXP Employee
NXP Employee

Please check the attachment.

3,484件の閲覧回数
danielgull
Contributor IV

Hi Sol

Got it now. Thanks

Dani

0 件の賞賛
返信