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.

MSP432E401Y: MutexP_lock with timeout or alternative options

Part Number: MSP432E401Y
Other Parts Discussed in Thread: SYSBIOS

Hi,

We are currently working with the simplelink_msp432e4_sdk_4_20_00_12 SDK for our MSP432E401Y controller.

While exploring the ti/drivers/dpl/MutexP.h module, we noticed that it provides lock/unlock functionalities but without a timeout option. We are specifically looking for a mechanism to acquire a lock before entering a critical section. It's crucial for our application as this code section might be accessed by multiple tasks, and we cannot afford to block any task, especially in worst-case scenarios.

We've reviewed the MutexP.h file but couldn't find examples or use cases demonstrating MutexP_lock/MutexP_unlock. We would appreciate any assistance, examples, or insights you can provide regarding achieving mutex lock with a timeout in our setup.

Additionally, if there are alternative approaches or better practices for our use case, we are open to considering them. Your support in this matter is highly valued.

Thank you for your time and assistance.