Any FreeRTOS Demo else ? For mpc5744.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Any FreeRTOS Demo else ? For mpc5744.

1,048 Views
475824827
Contributor I

I have a hardwire board : DEVKIT-MPC5744P

I have found the freeRTOS demo in S32DS v2.1.

mpc5744的freeRTOS官网demo.png

But I can't run it successfully.

The program will fly if i start the scheduler.

I can't see any led change .

 

mpc5744的freeRTOS官网demo异常.png

Do you have the other demos? freeRTOS demo for mpc5744.

Tags (2)
0 Kudos
5 Replies

861 Views
475824827
Contributor I

I solved the problem.

I modified the delay time so that I could see the light flashing.

void vLEDTask( void *pvParameters )
{
unsigned int ID = (unsigned int)pvParameters;
for( ;; )
{
/* Not very exciting - just delay... */
// vTaskDelay( 500*mainLED_DELAY );
Delay( 100 *(ID+1));
//vTaskDelay(500*(ID+1)*portTICK_PERIOD_MS);
PINS_DRV_ClearPins(ports[ID], (1 << leds[ID]));
/* delay */
//vTaskDelay( 500*mainLED_DELAY);
Delay( 10 *(ID+1));
//vTaskDelay(200*(ID+1)*portTICK_PERIOD_MS);
PINS_DRV_SetPins(ports[ID], (1 << leds[ID]));
}
}

0 Kudos

861 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

please update your S32DS ( https://community.nxp.com/docs/DOC-341068  ) and use FreeRTOS example from SDK RTM v3.0.0: 

pastedImage_1.png

Hope it helps. 

Jiri 

0 Kudos

861 Views
475824827
Contributor I

Hi  Jiri.

My S32DS version is S32DS v2.1.

This has SDK RTM v3.0.0.

And I have run this demo ------ freertos_mpc5744p ,But I can't see any led change in my  DEVKIT-MPC5744P.

So I want to try other MPC5744 demos about FreeRtos

0 Kudos

861 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

which particular dev kit do you have? On my EVB is everything working as expected. 

Jiri

0 Kudos

861 Views
475824827
Contributor I

hello jiri.

I use DEVKIT-MPC5744P.

DEVKIT-MPC5744P.png

0 Kudos