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

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

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

Jump to solution
290 Views
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 

0 Kudos
Reply
1 Solution
241 Views
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

 

View solution in original post

0 Kudos
Reply
1 Reply
242 Views
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 Kudos
Reply