MPC5634 - eMIOS with PA = 2

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

MPC5634 - eMIOS with PA = 2

454 Views
jawaad_abdul
Contributor II

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

Tags (1)
0 Kudos
2 Replies

408 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

this pin have just output functionality for eMIOS function

pastedImage_1.png

you need to find another pin with I/O type, sure if it exists.

BR, Petr

408 Views
jawaad_abdul
Contributor II

Got it Peter.

---

Thanks.

0 Kudos