Clarificatons about RT1170 interrupts

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Clarificatons about RT1170 interrupts

367 次查看
sajithdevidas
Contributor III

Hi,

I'm currently working with the RT1170 microcontroller using the MCUExpresso IDE. I'm attempting to configure an interrupt on GPIO2, specifically on the 23rd pin.

According to the datasheet, the reset value of the ISR (Interrupt Status Register) register for this GPIO pin should be 0x00

sajithdevidas_1-1709708949452.png

However, when I'm programming and checking through the MCUExpresso, it is displaying the reset value as 0x5fdbffff. Why is it showing this value?

sajithdevidas_0-1709708922203.png

In the datasheet, it is stated that the interrupt bits can be cleared by writing a 1 to the ISR (Interrupt Status Register). When an interrupt is detected, the corresponding bit in the status register will become 1 or 0?.

 

0 项奖励
回复
1 回复

351 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

 

I would recommend you to take a look to the igpio_input_interrupt_cm7 example of the RT1170-EVK SDK.

I believe it will help you understand the RT interrupts. 

 

I hope this helps,

Daniel.

0 项奖励
回复