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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

674件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
1 返信

581件の閲覧回数
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 件の賞賛
返信