I am using the FreeRTOS semaphore API functions in my project for task synchronization and handling the shared resources. I am able to achieve task synchronization up to 500