imx6sx Sharing GPIO between A9 and M4

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

imx6sx Sharing GPIO between A9 and M4

417 次查看
popcalin
Contributor I

Hello,

I'm using the imx6sx board and I have issues sharing the GPIO4 bank between M4 and A9.

The pin 31 (GPIO4) is toggled by an external device (STM32) and read by the M4 using interrupts.
On the A9 side I registered an interrupt on pin 23 (GPIO4) in a kernel driver for a feature that is not related to M4 or pin 31 whatsoever.

The issue is that every time the interrupt for pin 23 is enabled in A9 (in the probe function of the driver), the interrupt on the pin 31 in M4 gets disabled. I want to be able to receive interrupts on the two pins at the same time.

Is there a way to prevent the A9 disabling the pin 31 interrupt but keep using the pin 23?
Can RDC be used to prevent access to A9 to pin 31?

Thank you!

iMX6SX

标签 (2)
0 项奖励
回复
0 回复数