SYSAHBCLKCTRL

cancel
Showing results for 
Search instead for 
Did you mean: 

SYSAHBCLKCTRL

329 Views
ianbenton
Senior Contributor I

I'm just migrating my code from LPC1517 to LPC5502 (because that's all I can get). LPC8, LPC11, LPC13 and LPC15 all require bits to be set in SYSAHBCLKCTRL in order to enable any particular peripheral.

The LPC5502 appears not to have a SYSAHBCLKCTRL register - what takes it place?

It is only mentioned in the manual in Fig.86 "Watchdog timer clocking".

0 Kudos
3 Replies

319 Views
ianbenton
Senior Contributor I

Found it - it's AHBCLKCTRL - I was looking for something that started with SYS.

0 Kudos

307 Views
ianbenton
Senior Contributor I

But that means that the reference in the watchdog timer section must be wrong?

0 Kudos

283 Views
nxf77486
NXP Employee
NXP Employee

Hello @ianbenton ,

Chapter 29 in the User Manual, show the basic configuration for the watchdog the is the following:

  • Configure WDTCLKDIV register. See Table 103. Release the reset, disable HALT bit

and program DIV[5:0].

  • Enable the register interface (WWDT bus clock): set the WWDT bit in the

AHBCLKCTRL0 register, see Table 55.

  • For waking up from a WWDT interrupt, enable the watchdog interrupt for wake-up using low power API.

The AHBCLKCTRL0 bit for the WWDT has to be enable, please give me more information  why this could be wrong.

0 Kudos