2384992_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2384992_en-US

2384992_en-US

EMIOS Pwm tooling error Emios 0 ch 255 in MCL

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 :

  1. EMIOS mcl  initialises 0 and 1  for 
    1. EMIOS0 - Channel 0 -> PWM time base
    2. EMIOS1 - Channel 23 -> Time base for Hall pulse counter
  2. EMIOS pwm for 
    1. EMIOS0 Channel 1 as OPWMB for PWM 20KHz
    2. EMIOS Channel 3 as OPWMB for PWM pulse 
  3. Both the channels are based out od EMIOS Channel 0 in BCD mode. 
Re: EMIOS Pwm tooling error Emios 0 ch 255 in MCL

Here is a mex file.

Re: EMIOS Pwm tooling error Emios 0 ch 255 in MCL

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

Re: EMIOS Pwm tooling error Emios 0 ch 255 in MCL

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:

  • Delete the current example project and recreate.
  • Update the code as needed to ensure everything is correct.
  • Once the configurations are successfully generated, go to File → Import → S32 Configuration Tools → Import Configuration (*.mex).
  • Select the .mex file you shared and merge it into the current configuration.

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.

タグ(1)
評価なし
バージョン履歴
最終更新日:
木曜日
更新者: