How much time external interrupt takes in MPC5746C

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

How much time external interrupt takes in MPC5746C

668件の閲覧回数
ahmedsaber
Contributor I
Hello All,
I'm trying to measure the time of an external event staying outside this controller MPC5746C.
This controller supports only the detection of the external interrupt on either the rising or the falling edge.
Assume that I configured a pin to be used within the SUIL2 module to detect an external event"SUIL2 module is the responsible for the external interrupts handling"
I configured this pin to be by default at low level, once the external event is present it will pull up the pin level to be at high level
I configured an ISR to be fired on the rising edge of this pin level, so once the external event is present I got the ISR, which I will serve till it ends.
may be the external event lasts for one seconds or two or whatever, may be it will lasts even after the ISR is served.
And I will not get the ISR again because there is no additional edges as the pin level kept at high level
So how can I detect the end of the external event ?
" knowing that I can't also read the pin level within the software because it must be configured as GPIO to be able to read it's value while it is configured to be an external events detector pin"
Thanks a lot
0 件の賞賛
2 返答(返信)

552件の閲覧回数
cholland
Contributor V

Hope this helps.

EMIOS

37.2.3 Modes of operation

Input Pulse-Width Measurement (IPWM)

MPC5746C Input Pulse Width Measurement 

0 件の賞賛

552件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hi,

I think the eMIOS is here the only possibility.

regards,

Peter

0 件の賞賛