Part Number: TMS320F28379D
Hi folks,
Is it possible to use C28x's TSET instruction on Global Shared RAM to implement a simple spinlock to create critical section between CPUs?
Happy Holidays,
Ed
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F28379D
Hi folks,
Is it possible to use C28x's TSET instruction on Global Shared RAM to implement a simple spinlock to create critical section between CPUs?
Happy Holidays,
Ed
No problem, maybe someone else within the community can answer, either way I can wait.
Thanks for the heads up.
Best Regards!
Hello Ed,
TSET operations are atomic from a CPU standpoint only, but not on the memory controller shared b/w two CPU's.
If you could explain your use case little more in detail, will see if we can offer you a solution.
Nevermind, I just remembered that only one CPU can have write permission to a GSxRAM block, so it would be impossible for both CPUs to use TSET on the same memory location.
I am going to close this one! Thanks
Best Regards,
Ed.