[PIC] How OSI model's Physical & data link layer r useful in writing code for CAN bus

Status
Not open for further replies.

Pallavi Burje

Junior Member level 1
Joined
Oct 29, 2013
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
121
hi,

I m doing project on CAN bus communication using PICDEM CAN-LIN 2 board. I want to monitor 3 sensors and if one of it will give wrong or repeated value then text message related to that lcd will display.. But i m not getting how are the steps to write C code for CAN bus transmission and receiver and OSI model's physical and data link layer are useful for CAN communication???.. so please help..
 

Re: How OSI model's Physical & data link layer r useful in writing code for CAN bus

Refer following Link
www.cl.cam.ac.uk/research/srg/HAN/Lambda/webdocs/an713.pdf

actually Physical layer means connection we do physically with can that is we convert data to electrical waveforms.
Object layer and transfer layer comprises all service and function of data link layer.
and main protocol implemented in this layers that is handling of error and arbitration. Which data is to transmit to whom and which data receive from whom and for what.
 

Re: How OSI model's Physical & data link layer r useful in writing code for CAN bus


Thank You for such important information..
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…