RE:

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown RE:

by Jean-Christophe MATHAE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Indrasena Reddy,


About the "Time Stamp", it is a copy of the *internal* TouCAN TIMER register captured at the beginning of the identifier field of the frame on the CAN bus.

So it is purely internal to the microcontroller.
But its content is somewhat strange (!), as the clock driving this TIMER counter is either an internal clock, *or* the CAN bus bit rate which is obviously somewhat different if another CAN bus node is transmitting...

I use this time stamp to synchronise the different CAN bus nodes, but to have a fairly coherent value, a copy the lower 16-bit PowerPC TB (Time Base) to the TouCAN TIMER register at each TouCAN generated interrupt in each node...

Hope this will help.

Best regards.

Jean-Christophe MATHAE

CIRTEM
http://www.cirtem.com

bâtiment Pointe Bleue
20, voie l'Occitane
BP661
31319 LABEGE cedex
France

________________________________

De : MPC500@... [mailto:MPC500@...] De la part de chinna_indra2000
Envoyé : mercredi 18 juin 2008 07:16
À : MPC500@...
Objet : [MPC500]



Hello every ,
 

 

 
In the message buffer we have one field called "TIME STAMP" Is this
field is transferred from source to destination through the CAN?
If it is not transferred how the destination will get the same TIME STAMP?

I read MPC 565 document they mentioned that, TIME STAMP will be
captured before Identifier field while trasmitting a CAN frame through
the BUS. but FRAME will consists of
SOF,ARBITRATION,CONTROL,DATA,CRC,ACK,EOF fields where does this TIME
STAMP get stored in the frame?

And one more question
what is serial buffer? whether frame gets transferred or serial
buffer gets transferred in the CAN BUS??

Thanks and Regards,
Indrasena Reddy