gpio_eport_irq called recursively.

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

gpio_eport_irq called recursively.

852件の閲覧回数
sonaltanksale
Contributor I

Hi,

We are Using MQX Rtos for our custom board based on MK60DN512ZLVQ10 series of Kinetis ARM Cortex-M MCUs. We have developed our application based on MQX 3.7 RTOS for our custom board and its working fine But we need to migrate from MQX3.7 to MQX 4.1.0.1. We have ported from MQX3.7 to MQX 4.1.0.1 and our application to MQX 4.1.0.1.

The application developed on MQX 3.7 RTOS was working fine but we are placing problems with MQX 4.1.0.1.

Our code is getting stuck in 'gpio_eport_irq' function. It keeps on getting the interrupts and it comes to 'gpio_eport_irq' and stays there.

The function is in 'io_gpio_kgpio.c' file. Ultimately the code goes to hang state.


Can you please help us in finding the cause of this behavior?


REgards,

Sonal.


0 件の賞賛
返信
1 返信

720件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Sonal,

MQX has evolved greatly since MQX3.7 and especially with the GPIO driver.

If stuck in the gpio_eport_irq I suspect that the interrupt flag is not being cleared in your ISR function and/or you didn't register your ISR with MQX.

It would be good to review our GPIO interrupt example in MQX4.1.1:

C:\Freescale\Freescale_MQX_4_1_1_GA\mqx\examples\gpio

Regards,

David