LPC1317 SysTick behavior

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

LPC1317 SysTick behavior

1,191件の閲覧回数
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
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,143件の閲覧回数
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 件の賞賛
返信

1,143件の閲覧回数
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 件の賞賛
返信