MPC5643L GPI input on PCR24 getting PDI data

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

MPC5643L GPI input on PCR24 getting PDI data

432 Views
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 Kudos
1 Reply

390 Views
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 Kudos