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
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.
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.