Content originally posted in LPCWare by rianovich96 on Wed Jan 29 05:21:18 MST 2014
Hello friends,
I'm using LPC1114 and just started SysTick for test purposes. Appears to be working nice, resetting at desired preload value. In fact is resetting at PRELOAD - CALIB (which is 4 in my setup) but I presume this is OK. I can add CALIB to PRELOAD or just set CALIB = 0.
The question is I have put a NOP in SysTick_Handler() and I'm trying to measure somehow the time between 2 interrupt hits.
On some other MCU environments, I had a simulator that use a "StopWatch" cycle counter so I can "measure" the ticks between 2 breakpoints.
How can I do something similar in LPCExpresso? I mean software, because I can put my scope to measure two consecutive pin toggles :)
Thanks,