Hello,
I was trying to use eMIOS's functionality in SAIC mode for MPC5634.
All works fine for eMIOS[0], eMIOS[2], eMIOS[4] etc whose PCR PA field are valued "01", but when i try to use eMIOS[13], eMIOS[15] it does not work.
This is the code i use to initialize eMIOS[15]:
=======
SIU.PCR[90].B.PA = 2;
SIU.PCR[90].B.IBE = 1;
EMIOS.CH[15].CCR.B.EDPOL = 1; /* Trigger on a rising edge */
EMIOS.CH[15].CCR.B.EDSEL = 0; /* Single edge triggering defined by EDPOL bit */
EMIOS.CH[15].CCR.B.MODE = 0x02; // SAIC mode
EMIOS.CH[15].CCR.B.FEN = 0x0; // FLAG Disable
=======
Anyone faced this issue?
i'm using TRK-MPC5634M eval board for development.
---
Thanks,
Jawaad
Hi,
this pin have just output functionality for eMIOS function
you need to find another pin with I/O type, sure if it exists.
BR, Petr
Got it Peter.
---
Thanks.