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

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

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

804 Views
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

Labels (1)
Tags (2)
4 Replies

584 Views
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 Kudos

584 Views
danielgull
Contributor IV

Hi Sol

I do not have access to the provided links.

Dani

0 Kudos

584 Views
soledad
NXP Employee
NXP Employee

Please check the attachment.

584 Views
danielgull
Contributor IV

Hi Sol

Got it now. Thanks

Dani

0 Kudos