Hi Champs,
If two cores operate the same peripheral at the same time, how can we avoid the conflict?
For example, we can set the GPIO output by using R5FSS0-CORE0 and R5FSS0-CORE1 to modify register respectively, and both can successfully set the GPIO. But if these two settings occur at the same time, what will happen? I don't know of any way to avoid this conflict in AM263x. I checked in TRM and found spinlocks, but this method can only use in limited cases, customer have high requirements for real-time performance, and spinlock does not seem to be suitable for them. So I'm wondering if there are any other suggestions for this?
By the way, we only have one spinlock demo in SDK(ipc_spinlock_sharedmem), is it right? Thanks!
Best Regards,
Julia