RT1024 GPIO Interrupt signal timing value

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

RT1024 GPIO Interrupt signal timing value

ソリューションへジャンプ
1,596件の閲覧回数
sbabu
Contributor III

Hi All,

I am using MIMX RT1024, I want to configure the GPIO as interrupt and I want to measure the interrupt signal timing value i.e. how much time the signal was held high or low. I am not able to find a specific register to read that value like in XBAR. Please let me know more pointers on this.

Thanks,

Babu

 

ラベル(2)
0 件の賞賛
返信
1 解決策
1,558件の閲覧回数
sbabu
Contributor III

@EdwinHz Hi Edwin, Thanks for the heads up. I don't want the time between interrupts. I was looking to measure if an interrupt happened how much time that particular GPIO signal was held high, can you please share if any example references available.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,537件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @sbabu,

I apologize, I meant to say: *There is no register that naturally counts the time between rising/falling edges on a GPIO for an interruption.*

Sorry for the inconvenience this may cause.

0 件の賞賛
返信
1,578件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @sbabu,

If you are looking to measure the time that the interrupt signal of a GPIO was held high or low, I believe you best bet would be to use a timer (i.e. Quad Timer) that starts/stops whenever the interrupt is detected. There is no register that naturally counts the time between interrupts for a GPIO.

BR,
Edwin.

0 件の賞賛
返信
1,559件の閲覧回数
sbabu
Contributor III

@EdwinHz Hi Edwin, Thanks for the heads up. I don't want the time between interrupts. I was looking to measure if an interrupt happened how much time that particular GPIO signal was held high, can you please share if any example references available.

0 件の賞賛
返信