Bug report for S32DS S32K324

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

Bug report for S32DS S32K324

461件の閲覧回数
ZhouPengfei
Contributor III
const Pwm_ConfigType* const Pwm_Config[PWM_VA_PB_CONF_PARTITIONS] =
{
    /** @brief  Pointer to configuration structure of PWM for partition EcucPartition_1 refered by core 1 */
    &Pwm_Config_EcucPartition_1,
    /** @brief  Pointer to configuration structure of PWM for partition EcucPartition_1 refered by core 1 */
    &Pwm_Config_EcucPartition_1
};
使用S32DS配置S32K324双核PWM时,设置完EcucPartition后,生成的代码只有1,实际运行,分配在0上的PWM无发运行,
手动将第一个改成0,可以正常运行,产生波形,这是Bug吗,如何修改避免每次生成代码都得手动修改。
0 件の賞賛
返信
4 返答(返信)

393件の閲覧回数
JoaquinL
NXP Employee
NXP Employee

Hi Zhou,

We didn't see the issue you mentioned in our side. The Partition function works as expected. It's possibly caused by wrong setting in your project.

If you could provide your project, we can do further analysis.  

BR, Joaquin.

0 件の賞賛
返信

381件の閲覧回数
ZhouPengfei
Contributor III
for each (var pwmEcucPartitionRef in pwmEcucPartitionRefArray)
{
var PartitionShortName = name(deref(pwmEcucPartitionRef));
var PartitionCoreIdx = Macro_GetCoreId(configSet, pwmEcucPartitionRef.getValue());
if(i == PartitionCoreIdx)
{
HasPartition = true;
break;
}
}
I have modified the Pwm_PBcfg.c in "eclipse\mcu_data\components\PlatformSDK_S32K3\Pwm", it lost "break", I add by myself. But it seems it fixed by update to latest sdk
0 件の賞賛
返信

428件の閲覧回数
nxf47391
NXP Employee
NXP Employee

 

Hi Zhou,

What version do you use S32K3 RTD?

Do you use S32DS config tool to configure MCAL driver and do not use EB to configure?

Thanks!

BR,

Shuang

0 件の賞賛
返信

420件の閲覧回数
ZhouPengfei
Contributor III
RTD 3.0.0
Do you use S32DS config tool to configure MCAL driver and do not use EB to configure?
Yes, just use S32DS config and generate MCAL driver
0 件の賞賛
返信