MBs number of FlexCan in Processor Expert , Number of buffers of Can_PAL in Mex

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

MBs number of FlexCan in Processor Expert , Number of buffers of Can_PAL in Mex

1,001 次查看
samcs
Contributor II

i wonder if the Configuration parameter: Number of buffers of Can_PAL in S32DS 3.4 platform, is the same meaning of the configuration parameter: MBs number of FlexCan in Processor Expert ?

samcs_1-1652209045729.png

 

samcs_0-1652209016914.png

 

 

标记 (1)
0 项奖励
回复
4 回复数

988 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@samcs

Checked the driver code, the meaning of these two parameters should be the same.

/* Configure features implemented by PAL */
 flexcanConfig.max_num_mb = config->maxBuffNum;

br!

    Jim,

0 项奖励
回复

982 次查看
samcs
Contributor II

In fact, i found an issue about the cycle time of Tx Messages are not stable, ex: 40ms cycle time, 

it varied from 39XXX to 44xxxx.

I changed the project from S32DS for Arm 2.0 , PE, flexcan compoent to new S32DS34 , Mex, CAN_PAL,

the project on S32DS for Arm 2.0 works well, 40 ms cycle time, 

it showed 39xxx to 40xxxx.

Please help to give some ideas, thanks

0 项奖励
回复

985 次查看
samcs
Contributor II

Thanks,

While, Number of buffers in CAN_PAL_Component, be limited to 7, why in PE, the MBs number can be set to 32? 

 

samcs_0-1652278705848.png

 

0 项奖励
回复

967 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@samcs

1. The size of the payload will affect the number of Buffers

2. Can you provide your demo code? I may need to follow your method to reproduce the problem.

BR!

     Jim,

0 项奖励
回复