imx6sx Sharing GPIO between A9 and M4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6sx Sharing GPIO between A9 and M4

416 Views
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

Labels (2)
0 Kudos
Reply
0 Replies