How to send and receive package size?

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

How to send and receive package size?

873 Views
kellylim
Contributor I

Hi All,

 

I have trouble in creating a program using CAN connection. My project is for the the sender will call out for the respective receiver, then the receiver will then have to know the  size of the  message package from the sender ( may I know how to do this part?) The sender will send to receiver x number of packages it will then check sum to check if it is correct . If it is correct, it will  then complete the transmission.

 

Thank you.

 

Best regards,

Kelly 

Labels (1)
0 Kudos
Reply
4 Replies

770 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Kelly ,

Which chip do you used ?

BR

Alice

0 Kudos
Reply

770 Views
kellylim
Contributor I

Hi Alice, 

I am using MC9S12XDG256MAL and MC9S12DG128 chip.

Thank you.

Best Regards,

Kelly

0 Kudos
Reply

770 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Kelly,

Maybe this MSCAN block guide can help you ,

especially the part of  4.2 Message Storage .

Please check the attachment .

BR

Alice

0 Kudos
Reply

770 Views
kellylim
Contributor I

Hi Alice,

Thank you so much, appreciate your help.

Best Regards,

Kelly Lim

0 Kudos
Reply