How to set or configure a pin of MPC5676R as a GPO or GPI?

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

How to set or configure a pin of MPC5676R as a GPO or GPI?

549 Views
shellsimon
Contributor I

Now ,we are using mpc5676r as a key part of a project,but I can't find the demo of this processor. I am a software engineer.I do a test to light a led througt a gpio pin of mpc5676r. I have set the SIU_PCR470 register and SIU_GPDO470 register as below,but the result was not ok,that is,the led was not lightened.

 

SIU.PCR[470].B.PA      = 0;

SIU.GPDO[470].B.PDO = 1;

Labels (1)
0 Kudos
Reply
1 Reply

458 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

See following example code:

Example XPC567XRKIT PinToggleStationery

0 Kudos
Reply