What’s the highest sampling rate of a pin/peripheral on a KL15?

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

What’s the highest sampling rate of a pin/peripheral on a KL15?

505 Views
ryanlush
Contributor IV

What I’m trying to do is sample a digital signal with an I/O pin. I want to reject low frequency pulses and get the leading edge of the high frequency pulses. I understand Nyquist so I need to know what pin/peripheral is going to give me my highest sampling rate? I can change pins but I really can’t add any more hardware to solve the problem. I only need to sample the leading edge.

Labels (1)
0 Kudos
1 Reply

412 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Ryan Lush,

   You can use the TPM capture function to detect the input pulse.

pastedImage_1.png

TPM clock source can be found in this picture:

pastedImage_2.png

So,if your TPM clock is 48Mhz, you can input 48M/4=12Mhz.

Wish it helps you!


Have a great day,
Kerry

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

0 Kudos