led blinking MPC5748g

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

led blinking MPC5748g

446 Views
Mustafa123
Contributor I

please i am start to use mpc5748G dev board my problem when i werite this code the led automatically led on on the board  even if i write   SIUL2.GPDO[10].R=0;  so please what is the problem of my code thanks in advance

 

int main(void)
{

xcptn_xmpl (); /* Configure and Enable Interrupts */

SIUL2.MSCR[10].B.OBE=1;
SIUL2.MSCR[10].B.SSS=0;
SIUL2.GPDO[10].R=0;
/* Loop forever */
for(;;) {

}
}

0 Kudos
1 Reply

416 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Which LED you are referring to? What do you want to achieve? Which revision of the board you have?

SIUL2 periphery is described in details in reference manual.

Best regards,

Peter

0 Kudos