Hi
SysTick can only generate interrupts at a single periodic rate.
It also has a maximum rate so it is often not possible to directly generate 1Hz (50MHz clock will, for example, allow about max. 335ms period).
To control multiple periods you can use a fixed TICK speed (say 50ms) and then a SW counter for each period that you would them like to control something.
eg.
Each time the SysTick interrupt fires (assumed 50ms rate)
static int iTimer1 = 0;
static int iTimer2 = 0;
if (++iTimer1 >= (500/50)) {
iTimer1 = 0;
TOGGLE_LED1(); // toggle LED 1 at 1Hz
}
if (++iTimer2 >= (250/50)) {
iTimer2 = 0;
TOGGLE_LED2(); // toggle LED2 at 2Hz
}
Regards
Mark
http://www.utasker.com/kinetis.html