AnsweredAssumed Answered

S32R274 Spinlock abnormal

Question asked by yadi zhang on Dec 3, 2019
Latest reply on Dec 9, 2019 by yadi zhang

I use the instruction lwarx & stwcx. implement the Spinlock function on S32R274。

After a lot of test whitch between Z4 core and Z70 core,I found Spinlock fails sometimes。Z4 core and Z7 core enter the protect area at the same time。

Spinlock variable value is share sram data which attribute is uncacheable。