How to set the vale of Pdu ID of Can_Write in MBDT

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

How to set the vale of Pdu ID of Can_Write in MBDT

跳至解决方案
778 次查看
simon98
Contributor III

Hi,

i was looking for an explanation on what 'Pdu ID' input value of the Can_Wrate block to give in MBDT.

Could anyone explain me what's this parameter and what's its purpose in the can commnication?

i'm using the S32K358 EVB.

 

Thanks,

Simon 

标记 (5)
0 项奖励
回复
1 解答
729 次查看
Adrian_Gherca
NXP Employee
NXP Employee

Hello,

One way you can look at this is to consider that the CanHardwareObject is a description of the actual hardware message buffers used for transmission.
Pdu ID, NOT to be confused with CanObject ID, is the ID of the CanHardwareObject instance, which is the same thing as the above mentioned message buffer.

Example:
If Pdu ID is set to value 2, then Can_Write will use the third message buffer available for transmission.

Important:
In order to have more than one available message buffers, Can Hw Object Count needs to be increased to the desired value in the Configuration Project:

Adrian_Gherca_0-1734081475255.png

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
730 次查看
Adrian_Gherca
NXP Employee
NXP Employee

Hello,

One way you can look at this is to consider that the CanHardwareObject is a description of the actual hardware message buffers used for transmission.
Pdu ID, NOT to be confused with CanObject ID, is the ID of the CanHardwareObject instance, which is the same thing as the above mentioned message buffer.

Example:
If Pdu ID is set to value 2, then Can_Write will use the third message buffer available for transmission.

Important:
In order to have more than one available message buffers, Can Hw Object Count needs to be increased to the desired value in the Configuration Project:

Adrian_Gherca_0-1734081475255.png

 

0 项奖励
回复