How to achieve one microsecond delay in K-64 micro controller using KDS IDE?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to achieve one microsecond delay in K-64 micro controller using KDS IDE?

263 Views
Contributor I

In Firmware we are allowing the clock running with 80MHz and we are using an external 8MHz crystal on our board.Still, we couldn't able to achieve the 1us delay. We have checked with the oscilloscope we are getting 1.5us delay instead of 1us delay.Kinetis Design Studio. https://community.nxp.com/community/kinetis?sr=search&searchId=394033e7-f38e-4253-8ab5-e964a2ccd7f8&...

Labels (1)
0 Kudos
1 Reply

32 Views
NXP TechSupport
NXP TechSupport

Hi

The red LED can toggle every 1us, test the pit demo in SDK_2.2_FRDM-K64F. (...\SDK_2.2_FRDM-K64F\boards\frdmk64f\driver_examples\pit)

PIT_LedRed_toggle.png

SDK_2.2_FRDM-K64F pit.png

RED LED.jpg

Would you please tell us how did you achieve the 1us delay? You can attach the project here.

Best Regards,

Robin

 

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

0 Kudos