Peripheral sharing with dual core H7
I am working with a dual core processor for the first time & am wondering if i need to use a semaphore to block one processor while the other reads a peripheral register?
In my application the M4 is being used as a slave for some concurrent processing but needs occasional access to the RNG. I could certainly use a semaphore, taken and then released by the M7 when it's accessing the RNG. Just wondering if it's necessary. Seems like it might be because the M4 reads a group of random numbers in a loop and polls the data ready bit of RNG.
Thanks.