FreeRTOS porting for Renesas U2A16 RH850 R7F702300BFABA-C microcontroller

Hi,

I am creating a semaphore and it is creating successfully, but xSemaphoreGive and xSemaphoreTake is not working

here to check i have done below test:
xSemaphoreGive(spi_sem);
xSemaphoreTake(spi_sem, portMAX_DELAY);

Here my code gets stucks when i use some delay instead of MAX_DELAY then it comes out after given time
xSemaphoreGive(spi_sem);
xSemaphoreTake(spi_sem, 2000);

So Can you please help me in this ?

@keyur_khatri Please do not create duplicate posts. Lets continue the discussion here - freeRTOS port to RH850 - #18 by keyur_khatri.