I'm using lptmr delay in KL46 controller. I was able to provide the minimum delay in 1millisecond for instruction. I require the delay in microsecond or possibly in nanoseconds. Can anyone suggest me the feasibility for the same in KL46 controller ?

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

I'm using lptmr delay in KL46 controller. I was able to provide the minimum delay in 1millisecond for instruction. I require the delay in microsecond or possibly in nanoseconds. Can anyone suggest me the feasibility for the same in KL46 controller ?

539 Views
yusupkhan
Contributor II

I'm using lptmr delay in KL46 controller. I was able to provide the minimum delay in 1millisecond for instruction. I require the delay in microsecond or possibly in nanoseconds.  Can anyone suggest me the feasibility for the same in KL46 controller ?

Labels (1)
0 Kudos
1 Reply

342 Views
mjbcswitzerland
Specialist V

Hi

You can select the source of the LPTMR clock.

If you have an 8MHz oscillator connected and use this as source you will have 125ns timer resolution.

regards

Mark

0 Kudos