In this tutorial we will discuss how to configure lpc1768 systick timer for 1ms tick.




Prerequisites

Please check this tutorial for detailed explanation on inbuilt Lpc1768 RTC module.
If you are doing it for the first time, then check the below links to setup the project for generating the .bin file.

  1. Keil4 Setup
  2. Keil5 Setup
  3. ARM GCC Setup
  4. Eclipse & ARM GCC Setup




Hardware Connection

LED is Connected to pin 13 on Explore M3 board.


Code

Below is the sample code to blink the LED's with 1ms delay using systick timer.


Demo

Timer Delay measured using CRO. Lpc1768 SysTick.png

00 Lpc1768 Timer.jpg