Bug report for S32DS S32K324

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bug report for S32DS S32K324

489 Views
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 Kudos
Reply
4 Replies

421 Views
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 Kudos
Reply

409 Views
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 Kudos
Reply

456 Views
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 Kudos
Reply

448 Views
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 Kudos
Reply