Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

CAN Message greater than 8bytes

Status
Not open for further replies.

Naveenk.wins

Newbie level 4
Joined
Jun 2, 2011
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,334
Hi,

Assume if i want to send 12bytes of Data in CAN message. Because we know max is 8bytes/Frame.

How to do that.

Best Regards
S.Naveen Kumar
 

Hi,

It's not as simple as that....There is some sort of rule...Some sort of synchronization...
 

send the data as 2 frames with IDs identifing which frame is bytes 0 to 7 and 8 to 11
 

Hi,

It's not as simple as that....There is some sort of rule...Some sort of synchronization...

I know that ;)
But its not that hard also.
I am not an expert in CAN, but I think you should start transmitting second frame as soon as the interframe space of the first frame is over, If there is another higher priority message waiting then you have a problem.
So one thing what you can do is set the highest priority for the message which has more than 8 bytes and implement Horace1's idea.

Other CAN experts in this forum, correct me if I am wrong.
 

the numerically lowest ID has the highest priority (0's in an ID have higher priority than 1's and are transmitted on the bus)
so long as the protocol knows which ID is associated with a particular messages it can sort it out.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top