MPC5643L GPI input on PCR24 getting PDI data

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

MPC5643L GPI input on PCR24 getting PDI data

1,038件の閲覧回数
nicholasgray
Contributor I

I am configuring PCR24 as a general purpose input however when applying a logic high to the pin, the PDI register is not recognizing the input. The configuration and data access code is as follows:

SIU.PCR[24].R = 0x0100;

input_var = SIU.GPDI[24].B.PDI;

When debugging the PDI register remains zero irrespective of the input voltage applied to the pad. Are there any other registers that must be set in order to access this pad that is GPI only?

0 件の賞賛
返信
1 返信

996件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

no other setting is needed, it should work normally.

Check if other GPI inputs works too.

BR, Petr 

0 件の賞賛
返信