LPC812 max systick rate and MRT

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Tuturuu on Mon Sep 07 03:55:18 MST 2015
Hi guys,

The thing is I need to measure the time between the moment the ultra-sonic ping is sent and the moment it comes back to measure the distance. I am planning on using a systick timer for that. Of course then smaller the time interval between ticks better the result. But I am not sure about how small should I set the time interval between ticks. Is 1us too small?

Or should I use the MRT and read the TIMER register directly?
I am not sure since normally I only see the example using the interrupts generated by the MRT, never seen anyone read the TIMER register directly.