lpcware

LPC11c24 30 ms systick interrupt possible ?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by qwerty1 on Sun Dec 14 02:36:49 MST 2014
Hello,

I am trying to configure an interrupt which should occur each 30 ms using the systick.

Do you think it is feasable to count 3  10 ms triggers and then set a flag in order to trigger the can interrupt ? As far as i've understood from the user manual, the 10ms is fixed, the tick clock frequency could be variable ...

RELOAD = (system tick clock frequency x 10 ms) 1 = (50 MHz x 10 ms) -1 = 500000-1 = 499999 = 0x0007A11F.

As i'm not that experienced, any advice counts.

Thanks.

Outcomes