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 ?
---------------------------------------------------------------------------------------------------------
Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.
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.