MPC5634 - eMIOS with PA = 2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5634 - eMIOS with PA = 2

1,639件の閲覧回数
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

タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,593件の閲覧回数
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

1,593件の閲覧回数
jawaad_abdul
Contributor II

Got it Peter.

---

Thanks.

0 件の賞賛
返信