Share GPIO bank on i.MX7 (read-only)

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

Share GPIO bank on i.MX7 (read-only)

536 Views
rfet
Contributor I

Hi,

We would like to share a GPIO bank on i.MX7 between A7 (running on Linux) and M4 (running on FreeRTOS). Knowing that simultaneous writes on GPIOs (without a running RDC under Linux) could lead to collisions, we would write/read GPIOs with A7-core and only read GPIOs with M4-core.

Is there also potential for collision due to uncoordinated read-accesses on same GPIO-Bank?

Regards,
R. Frei

 

 

0 Kudos
Reply
1 Reply

517 Views
kef2
Senior Contributor V

Only read accesses on one side should be enough, unless you are going to use GPIO interrupts on RO side. For interrupts you should disable whole GPIO peripheral on Linux side.

Regards,

Edward

0 Kudos
Reply