can M7 and M4 access flexspi A at the same time

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

can M7 and M4 access flexspi A at the same time

461件の閲覧回数
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 件の賞賛
4 返答(返信)

434件の閲覧回数
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 件の賞賛

430件の閲覧回数
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 件の賞賛

392件の閲覧回数
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.

370件の閲覧回数
xjy198903
Contributor III
Hi, Masmiseim
I will try to use sema4 to complete data synchronization, thank you very much
0 件の賞賛