can M7 and M4 access flexspi A at the same time

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

can M7 and M4 access flexspi A at the same time

658 Views
xjy198903
Contributor III

In rt1176 board, can M7 and M4 access flexspi A at the same time? Will there be any data anomalies? If not, how to deal with the data synchronization problem

0 Kudos
4 Replies

631 Views
Masmiseim
Senior Contributor I

Depends,

you can execute Code from the external Flash (XiP) from both cores simultaneously. The Hardware takes care of the synchronization.

If you like to read/write manually on the interface, then you have to do a synchronization.

0 Kudos

627 Views
xjy198903
Contributor III
I want to read/write manually on the interface, how can i do a synchronization? Could you give some advice or examples?
0 Kudos

589 Views
Masmiseim
Senior Contributor I

I’m not aware of an out of the box solution.

You could check the MessageBox Unit of the Controller to communicate between the two cores. Or use a shared memory based communication.

567 Views
xjy198903
Contributor III
Hi, Masmiseim
I will try to use sema4 to complete data synchronization, thank you very much
0 Kudos