lpcware

SysTick Interrupt Disable generates HardFault

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by lokinhas on Wed Oct 29 03:05:18 MST 2014
Hi everyone.

In my current project I'm using a LPC1788 with the SysTick acting has a global timer, for non blocking code, the problem is that when a function needs to disable momentary the SysTick the interrupt (SysTick_IRQn) a HardFault occurs.

In the past I've used several LPC microcontrollers with a Cortex-M0 core (LPC1227, LPC11U68, etc) with the exact same code, without problems.

In attachment there's a example project that you can try.

Thanks in advance for the help.

Original Attachment has been moved to: FW.zip

Outcomes