Setting up a timer with interrupt MKE14F

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting up a timer with interrupt MKE14F

436 Views
tonleenders
Contributor I

Hello,

i'm trying to setup a timer on a MKE14F chip, which gives an interrupt every 5 seconds.

So the timer works, but it gives an interrupt around 6 seconds.

 

I have also have the TWR development board MKE18.

When i upload the LPTMR demo from SDK it should give an interrupt every second, but it gives a much faster interrupt rate(100 pulses in 60 seconds),

Thanks!

0 Kudos
1 Reply

342 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi Ton,

I think this may caused by inproper setting of the clock tree. Please use MCUXpresso config tool to generate clock setting file. That may give you a greate help.

Regards

Jing

0 Kudos