AnsweredAssumed Answered

Desired Delay using General Purpose Timers

Question asked by Kowshik Gudimetla on May 28, 2019
Latest reply on May 28, 2019 by Mark Butcher

Hello Expert Team,

I am using Keil uVision with NXP FRDM KL25Z for creating custom delays for my project using General Purpose timers. By using prescaler I am able to achieve a maximum delay of 5Hz. How can i control the delays? Please do tell me if I need to make any calculation with clock frequency in prior for setting up the MODULO register. You can view the sample code I wrote to light up an LED at an unknown but noticeable delay.

Attachments

Outcomes