LPC1317 SysTick behavior

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

LPC1317 SysTick behavior

563 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Vijay Vaidya on Wed Aug 14 07:23:32 MST 2013
Hello all,

We are using LPC1317 and we are observing a strange behavior of the controller.

During the start-up procedure, the moment we configure SysTick to generate interrupt
at 2msec, we start getting the interrupts even if the bit 15 of NVIC->ISER[0] is NOT Set,
i.e. SysTick IRQ is not specifically enabled.
Even NVIC->IABR[0] when saved inside StsTick_Handler() shows 0x0. As per the ARM manual
it should have it's bit-15 set.

That the interrupts do get generated is shown by the other actions that we take
in SysTick_Handler().

If we bypass SysTick Configuration the SysTick Interrupt does not get generated.

We are using Code-Red5 suite for development. What are we missing.

Regards,

Vijay Vaidya
Labels (1)
0 Kudos
2 Replies

515 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Vijay Vaidya on Fri Aug 16 00:33:33 MST 2013
Hello NXP_Paul,

Thanks for your prompt response,

Regards,
Vijay Vaidya
0 Kudos

515 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Paul on Thu Aug 15 08:30:17 MST 2013
The Systick interrupt is enabled automatically when you use the SysTick_Config function in the core_cm3.h file.
If you would like to disable the Systick interrupt, then set TICKINT=0 in the SysTick->CTRL register.
0 Kudos