Content originally posted in LPCWare by Philipp on Sun Nov 07 23:52:46 MST 2010
Hallo
is it possible to create a Timer which triggers an interrupt every micro sec?
I tried it with Systick and the normal 16-/32 Bit Timers, toggles every 5 micro sec.I tried it with a loop too but i only get an interrupt which triggers every 2 micro sec. I've got the LPC 1114.
In the Example there ist (SystemCoreClock/1000)-1 = 1ms, than (SystemCoreClock/1000000)-1 = 1 micro sec. For my Controller (48 000 000/ 1000 000)-1= 47(10) =2F(16).
Thanks for help.