S32 DS Config Tool PWM Issues

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32 DS Config Tool PWM Issues

跳至解决方案
1,701 次查看
Baris
Contributor II

S32 DS Config Tool ile pinleri konfigüre etmek istediğimde resimdeki hataları alıyorum çözümü nedir?

0 项奖励
回复
1 解答
1,569 次查看
Irina_Costachescu
NXP Employee
NXP Employee

Hello @Baris,

For overcoming the issue you are currently encountering we would like to propose to you the following:

Since the problem does not come from the MBD toolbox, could you possibly change your PC language to English and try opening again the .mex configuration file?

Hope this helps,
Irina

在原帖中查看解决方案

标记 (1)
0 项奖励
回复
4 回复数
1,653 次查看
Irina_Costachescu
NXP Employee
NXP Employee

Hello @Baris ,

The error you are encountering seems to be related to the selection of the PwmEmiosBusRef option. The parameter above it, labeled as Counter Bus, allows you to configure a bus to be used by the channel, which can be either external or internal, as illustrated below:

Irina_Costachescu_0-1679329413422.png

Now, for the channels using external counter buses (A, B, C, D, E or F), you must also select the reference to the bus definition. This definition should be configured inside the Mcl component under the Mcl Specific Configuration/Emios Common tab, where a bus can be created for each EMIOS instance.

Irina_Costachescu_3-1679330048723.png

When configuring such a bus, the Emios Channel setting associates it to one of the external hardware buses, the ones identified as A, B, C, D, E and F in the Pwm component, as it follows:

Irina_Costachescu_1-1679329509714.png

This screenshot is taken from the Mcl component User Manual, which can be found inside the Model-Based Design Toolbox root, under the path S32K3_RTD\SW32K3_RTD_4.4_2.0.0\eclipse\plugins\Mcl_TS_T40D34M20I0R0\doc. You can consult this document for more information on the Mcl driver, and its available settings.

These being said, it seems that, in your case, there is no bus configured in Mcl for the selected Counter Bus in the Pwm component. Please check this correspondence in your configuration, and if the error still persists, could you please send us your .mex file for further investigations?

Hope this helps,
Irina

1,628 次查看
Baris
Contributor II

Attached is the .mex file I got the error.
I got this error in all of the sample projects I opened via Simulink.

0 项奖励
回复
1,570 次查看
Irina_Costachescu
NXP Employee
NXP Employee

Hello @Baris,

For overcoming the issue you are currently encountering we would like to propose to you the following:

Since the problem does not come from the MBD toolbox, could you possibly change your PC language to English and try opening again the .mex configuration file?

Hope this helps,
Irina

标记 (1)
0 项奖励
回复
1,548 次查看
Baris
Contributor II

Thank you!
When I switched the computer language to English, the problem was solved.

0 项奖励
回复