interrupt_vector imxrt1170 evk

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

interrupt_vector imxrt1170 evk

190件の閲覧回数
tomerk
Contributor I

tomerk_0-1704368129391.png

Data interrupt vector 32 bit

I set on RT1170 EVN interrupts on J42 and used NXP SW

interrupt_vector =  GPIO_GetPinsInterruptFlags(GPIO13_base);

Q: interrupt from GPIO13 00 should be in data D0?

0 件の賞賛
1 返信

178件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @tomerk,

I believe you misplaced the corresponding CPU pin names to the GPIO 13 pins in the document you attached. As seen on "Table 11-1. Muxing Options" of the Reference Manual, GPIO13_IO00 corresponds to the WAKEUP pin, not GPIO_SNVS_03. additionally:
 
GPIO13_IO01 corresponds to PMIC_ON_REQ
GPIO13_IO02 to PMIC_STBY_REQ
GPIO13_IO03 to GPIO_SNVS_00
GPIO13_IO04 to GPIO_SNVS_01
 
and so on...
 
Finally GPIO13_IO12 corresponds to GPIO_SNVS_09. There is no GPIO_SNVS_10, GPIO_SNVS_11 or GPIO_SNVS_12. I believe you got the signals mixed up.
 
You can also refer to example code "igpio_input_interrupt" from the SDK, as it also uses GPIO13.
 
BR,
Edwin.
0 件の賞賛