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

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

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

963 Views
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

 

 

Tags (1)
0 Kudos
Reply
4 Replies

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

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

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

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