I am trying to run trapezoidal motor control using S32K312 mini development board.
After porting the initialisation, I get the following error :
Issue: [Generation error] Please configure the counter bus EMIOS_0_CH_255 in MCL
Level: Error
Type: Tool problem
Tool: Peripherals
Origin: Peripherals
Resource: Sources
Information: [Generation error] Please configure the counter bus EMIOS_0_CH_255 in MCL
My setup has :
Here is a mex file.
Hi @ArunnK
I have tried applying the configuration you mentioned for Emios_Mcl and Emios_Pwm in the FreeRTOS_Toggle_Example_S32K312 (RTD 7.0.0 with FreeRTOS 7.0.0), and I have not been able to reproduce the errors on my side.
Would you mind sharing your .mex file? It would also be really helpful if you could outline the steps you followed, so I can try to replicate the same behavior here.
BR, VaneB
Hi @ArunnK
Thank you for sharing your .mex file.
I imported it into the FreeRTOS_Toggle_Example_S32K312 (RTD 7.0.0 with FreeRTOS 7.0.0) project I previously used, and the error did not appear. To make sure we are following the same steps, could you please try the following:
After that, does the error still appear? And just to be sure, please double-check that all the software versions you are using are compatible.