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
 

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,

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

horace1

Advanced Member level 5
Joined
Nov 18, 2008
Messages
2,123
Helped
596
Reputation
1,188
Reaction score
573
Trophy points
1,393
Location
Norwich, UK
Activity points
13,071
send the data as 2 frames with IDs identifing which frame is bytes 0 to 7 and 8 to 11
 

srikanthsamaga

Full Member level 3
Joined
Dec 14, 2008
Messages
179
Helped
12
Reputation
24
Reaction score
2
Trophy points
1,298
Location
12°52′N 74°53′E
Activity points
2,022
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.
 

horace1

Advanced Member level 5
Joined
Nov 18, 2008
Messages
2,123
Helped
596
Reputation
1,188
Reaction score
573
Trophy points
1,393
Location
Norwich, UK
Activity points
13,071
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

Top