I use pin NMI(PTA4) is pin TSI have problem?

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

I use pin NMI(PTA4) is pin TSI have problem?

842件の閲覧回数
hoangnguyenthdl
Contributor II

I used pin NMI(PTA4) of KL16 is pin TSI have problem? Can someone explain to me? Thanks.

0 件の賞賛
2 返答(返信)

570件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Hoang Nguyen,

The PTA4 is default as NMI_b function, driving the NMI_b signal low forces a non-maskable interrupt.

PTA4 NMI_b TSI0_CH5.png

If you want to use PTA4 as TSI function, please disable NMI function by clearing NMI_DIS.

FTFA_FOPT[NMI_DIS].png

Please refer: Disabling NMI using the FOPT register (on KL17).

Best Regards,

Robin

 

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

0 件の賞賛

570件の閲覧回数
hoangnguyenthdl
Contributor II

Hi Robin_Shen,

 

I disabled the PTA4 pins as you said, but the problem I encountered was that the chip KL measured different capacitance values when using external crystals and internal reference clock. When using an external crystal, the chip is warmed up because the heat will measure the capacitance value wrongly than using internal reference clock. There will be no change in capacitance between touch and no touch. Please explain to me. Thanks you.

Best Regards,

Hoang Nguyen

0 件の賞賛