Generate a 1MHz timer with low power timer driver

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate a 1MHz timer with low power timer driver

160 Views
Fayojimi
Contributor I

I have a KL03 board and I can generate a timer using the 1kHz LPO. However, I wanted to know if I can generate a 1MHz timer using a different clock as I am trying to interface with an HC-SR04 Ultrasound sensor.

0 Kudos
1 Reply

144 Views
nxf56274
NXP Employee
NXP Employee

Hi,

LPTMR  has four clock source. MCGIRCLK,  LPO, ERCLK32K, OSCERCLK.

You can use MCGIRCLK to generate 1 Mhz.

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos