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

1,133 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
Reply
4 Replies

1,106 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
Reply

1,102 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
Reply

1,064 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.

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