FXTH87 Enable ADC on PTA0/1

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

FXTH87 Enable ADC on PTA0/1

ソリューションへジャンプ
1,372件の閲覧回数
davidbrazier
Contributor II

Hi

PTA0 & PTA1 can be read as analog inputs using TPMS_READ_V0 and TPMS_READ_V1 calls, but looking at ref manual and firmware guide, I assume they are digital by default and I can't see how to enable them as analog inputs.  How is it done?

David

タグ(2)
1 解決策
1,227件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi David,

There is no need to enable them as analog inputs as it is done in the firmware functions TPMS_READ_V0 and V1.

 

You just have to configure STOP mode to be STOP4 (without entering STOP mode) and then call the function. Everything else is done inside the function: pin and ADC configuration, measure and reading. No further configuration is required.

pastedImage_2.png

Best regards,

Tomas

元の投稿で解決策を見る

2 返答(返信)
1,226件の閲覧回数
davidbrazier
Contributor II

Thanks Tomas, that has clarified it, regards, David

0 件の賞賛
返信
1,228件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi David,

There is no need to enable them as analog inputs as it is done in the firmware functions TPMS_READ_V0 and V1.

 

You just have to configure STOP mode to be STOP4 (without entering STOP mode) and then call the function. Everything else is done inside the function: pin and ADC configuration, measure and reading. No further configuration is required.

pastedImage_2.png

Best regards,

Tomas