Since LCK_pend and LCK_post can not be used in HWI/SWI, is there any other way to achieve something like resource lock between HWI/SWI and TSK?
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.
Since LCK_pend and LCK_post can not be used in HWI/SWI, is there any other way to achieve something like resource lock between HWI/SWI and TSK?
Hi Yiran,
Have you considered using the Semaphore (SEM) module ?
Thank you for your reply.
I will consider your suggestion. I need some time to re-design my program. If I make any progress, I will update the post.
I review the DSP/BIOS API Reference Guide, and I think it is easy to design a resource lock mechanism by using binary semaphore.
Thanks a lot.