AnsweredAssumed Answered

How to create a FreeRTOS project for FlexCAN?

Question asked by tang bing on Apr 6, 2017
Latest reply on Oct 6, 2017 by yalamanda dosakyala

hello!

 in S32 Design Studio v1.2 I can get an example FreeRTOS_Example,I want to use FlexCAN,so

I Add the CAN module in the FreeRTOS_Example,

I add the clock initialization program is as follows:

CLOCK_SYS_Init(g_clockManConfigsArr, FSL_CLOCK_MANAGER_CONFIG_CNT,
g_clockManCallbacksArr, FSL_CLOCK_MANAGER_CALLBACK_CNT);
CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_FORCIBLE);

Pins_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);


/*CAN test*/
FLEXCAN_DRV_Init(FSL_CANCOM1, &canCom1_State, &canCom1_InitConfig0);

The following errors in debugging:

so How to create a FreeRTOS project for FlexCAN?

Do you have any related FreeRTOS project for FlexCAN FlexCAN materials?

Outcomes