RE:

"Jean-Christophe MATHAE" <[email protected]> Wed, 18 Jun 2008 10:09:58 +0200
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
--2oY9CuWm840E47ZlbJoZUM4TQhyYOTvHy5VuOll
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hello Indrasena Reddy,


About the "Time Stamp", it is a copy of the *internal* TouCAN TIMER registe=
r 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 co=
unter is either an internal clock, *or* the CAN bus bit rate which is obvio=
usly somewhat different if another CAN bus node is transmitting...

I use this time stamp to synchronise the different CAN bus nodes, but to ha=
ve 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 nod=
e...

Hope this will help.

Best regards.

Jean-Christophe MATHAE

CIRTEM
http://www.cirtem.com

b=E2timent Pointe Bleue
20, voie l'Occitane
BP661
31319 LABEGE cedex
France

________________________________

De : [email protected] [mailto:[email protected]] De la part de c=
hinna_indra2000
Envoy=E9 : mercredi 18 juin 2008 07:16
=C0 : [email protected]
Objet : [MPC500]=20



Hello every ,
=20

=20

=20
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



=20


--2oY9CuWm840E47ZlbJoZUM4TQhyYOTvHy5VuOll
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/htm=
l4/strict.dtd">
<html>
<head>
</head>




<body style=3D"background-color: #ffffff;">

<!--~-|**|PrettyHtmlStartT|**|-~-->
<div id=3D"ygrp-mlmsg" style=3D"width:655px; position:relative;">
<div id=3D"ygrp-msg" style=3D"width: 470px; margin:0; padding:0 25px 0 0; f=
loat:left; z-index:1;">
<!--~-|**|PrettyHtmlEndT|**|-~-->

    <div id=3D"ygrp-text">
            <p>Hello Indrasena Reddy,<br>
<br>
About the &quot;Time Stamp&quot;, it is a copy of the *internal* TouCAN TIM=
ER register captured at the beginning of the identifier field of the frame =
on the CAN bus.<br>
<br>
So it is purely internal to the microcontroller.<br>
But its content is somewhat strange (!), as the clock driving this TIMER co=
unter is either an internal clock, *or* the CAN bus bit rate which is obvio=
usly somewhat different if another CAN bus node is transmitting.<wbr>..<br>
<br>
I use this time stamp to synchronise the different CAN bus nodes, but to ha=
ve 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 nod=
e...<br>
<br>
Hope this will help.<br>
<br>
Best regards.<br>
<br>
Jean-Christophe MATHAE<br>
<br>
CIRTEM<br>
<a href=3D"http://www.cirtem.com">http://www.cirtem.<wbr>com</a><br>
<br>
b=E2timent Pointe Bleue<br>
20, voie l'Occitane<br>
BP661<br>
31319 LABEGE cedex<br>
France<br>
<br>
____________<wbr>_________<wbr>_________<wbr>__<br>
<br>
De : <a href=3D"mailto:MPC500%40yahoogroups.com">MPC500@yahoogroups.<wbr>co=
m</a> [mailto:<a href=3D"mailto:MPC500%40yahoogroups.com">MPC500@yahoogroup=
s.<wbr>com</a>] De la part de chinna_indra2000<br>
Envoy=E9 : mercredi 18 juin 2008 07:16<br>
=C0 : <a href=3D"mailto:MPC500%40yahoogroups.com">MPC500@yahoogroups.<wbr>c=
om</a><br>
Objet : [MPC500] <br>
<br>
Hello every ,<br>
 <br>
<br>
In the message buffer we have one field called &quot;TIME STAMP&quot; Is th=
is<br>
field is transferred from source to destination through the CAN?<br>
If it is not transferred how the destination will get the same TIME STAMP?<=
br>
<br>
I read MPC 565 document they mentioned that, TIME STAMP will be<br>
captured before Identifier field while trasmitting a CAN frame through<br>
the BUS. but FRAME will consists of<br>
SOF,ARBITRATION,<wbr>CONTROL,DATA,<wbr>CRC,ACK,EOF fields where does this T=
IME<br>
STAMP get stored in the frame?<br>
<br>
And one more question<br>
what is serial buffer? whether frame gets transferred or serial<br>
buffer gets transferred in the CAN BUS??<br>
<br>
Thanks and Regards,<br>
Indrasena Reddy<br>
<br>
</p>
    </div>=20=20

    <!--~-|**|PrettyHtmlStart|**|-~-->
    <span width=3D"1" style=3D"color: white;">__._,_.___</span>
    <!-- Start the section with Message In topic -->
    <div id=3D"ygrp-actbar">
              <span class=3D"left">
          <a href=3D"http://groups.yahoo.com/group/MPC500/message/3940;_ylc=
=3DX3oDMTM0Y2RrZDJiBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0=
MjA1BG1zZ0lkAzM5NDAEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjEzNzc2NjA5BHRwY0lkAzM=
5NDA-">
            Messages in this topic          </a> (<span class=3D"bld">1</sp=
an>)
        </span>
        <a href=3D"http://groups.yahoo.com/group/MPC500/post;_ylc=3DX3oDMTJ=
wZHZnZ2pjBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0=
lkAzM5NDAEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMjEzNzc2NjA5?act=3Dreply&messageN=
um=3D3940">
          <span class=3D"bld">
            Reply          </span> (via web post)
        </a>  |=20
        <a href=3D"http://groups.yahoo.com/group/MPC500/post;_ylc=3DX3oDMTJ=
lbTY0MHUxBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYw=
NmdHIEc2xrA250cGMEc3RpbWUDMTIxMzc3NjYwOQ--" class=3D"bld">
          Start a new topic        </a>
          </div>=20
    <!-------     Start Nav Bar  ------>
    <!-- |**|begin egp html banner|**| -->
    <div id=3D"ygrp-vitnav">
                <a href=3D"http://groups.yahoo.com/group/MPC500/messages;_y=
lc=3DX3oDMTJlZzJpdDhoBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NT=
U0MjA1BHNlYwNmdHIEc2xrA21zZ3MEc3RpbWUDMTIxMzc3NjYwOQ--">Messages</a>=20=20
=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20
            |    <a href=3D"http://groups.yahoo.com/group/MPC500/links;_ylc=
=3DX3oDMTJmODNhMWhrBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0=
MjA1BHNlYwNmdHIEc2xrA2xpbmtzBHN0aW1lAzEyMTM3NzY2MDk-">Links</a>=20=20
=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20
    </div>=20=20
    <!-- |**|end egp html banner|**| -->

                        <div id=3D"ygrp-grft">
=20=20=20=20=20=20=20=20=20=20

        </div>
=20=20=20=20=20=20
                  <div id=3D"ygrp-mkp">
      <div id=3D"hd">MARKETPLACE</div>
      <div id=3D"ads">
                  <div class=3D"ad">
            <hr size=3D1 noshade><a href=3D"http://us.ard.yahoo.com/SIG=3D1=
3r6ir5tf/M=3D624381.12730922.13032918.10835568/D=3Dgroups/S=3D1706554205:MK=
P1/Y=3DYAHOO/EXP=3D1213783810/L=3D/B=3DU7DTAdFJq2g-/J=3D1213776610094593/A=
=3D5379723/R=3D0/SIG=3D14evd63no/*http://media.adrevolver.com/adrevolver/hr=
ef?banner=3D189158&place=3D26143&url_=3Dhttp://tc.deals.yahoo.com/tc/blockb=
uster/display.com?cid=3Dbbi00027">Blockbuster</a> is giving away a FREE tri=
al of - <a href=3D"http://us.ard.yahoo.com/SIG=3D13r6ir5tf/M=3D624381.12730=
922.13032918.10835568/D=3Dgroups/S=3D1706554205:MKP1/Y=3DYAHOO/EXP=3D121378=
3810/L=3D/B=3DU7DTAdFJq2g-/J=3D1213776610094593/A=3D5379723/R=3D1/SIG=3D14e=
vd63no/*http://media.adrevolver.com/adrevolver/href?banner=3D189158&place=
=3D26143&url_=3Dhttp://tc.deals.yahoo.com/tc/blockbuster/display.com?cid=3D=
bbi00027">Blockbuster Total Access.</a>
<!--AdRevolver code begin-->
<script type=3D"text/javascript">
<!--
var title =3D 'TITLE';
try {
if (title =3D=3D unescape('%u0054%u0049%u0054%u004C%u0045') && document.tit=
le) title =3D document.title;
var https =3D false; try {https =3D document.location.href.indexOf('https')=
=3D=3D0}catch(e){}
document.write('<img width=3D"0" height=3D"0" border=3D"0" src=3D"http' + (=
https ? 's' : '') + '://media.adrevolver.com/adrevolver/trace?adpath=3D1195=
9&title=3D' + escape(title) + '&ref=3D' + escape(document.referrer) + '&rnd=
=3D' + Math.round(Math.random() * 10000000) + '">');
} catch(e){}
//-->
</script>
<noscript>
<img width=3D"0" height=3D"0" border=3D"0" src=3D"https://media.adrevolver.=
com/adrevolver/trace?adpath=3D11959">
</noscript>
<!--AdRevolver code end-->          </div>
                              </div>
    </div>
=20=20=20=20=20=20
    <!-- yahoo logo -->
    <!-- |**|begin egp html banner|**| -->
    <div id=3D"ygrp-ft">
      <a href=3D"http://groups.yahoo.com/;_ylc=3DX3oDMTJkdGxwbHU4BF9TAzk3Mz=
U5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA2dmcARzd=
GltZQMxMjEzNzc2NjA5">
      <img src=3D"http://us.i1.yimg.com/us.yimg.com/i/yg/img/logo/ma_grp_16=
0.gif" height=3D"15" width=3D"106" border=3D"0" alt=3D"Yahoo! Groups"></a> =
<br>
      <a href=3D"http://groups.yahoo.com/group/MPC500/join;_ylc=3DX3oDMTJmZ=
WkwcWliBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNm=
dHIEc2xrA3N0bmdzBHN0aW1lAzEyMTM3NzY2MDk-">Change settings via the Web</a> (=
Yahoo! ID required) <br>
      Change settings via email: <a href=3D"mailto:MPC500-digest@yahoogroup=
s.com?subject=3DEmail Delivery: Digest">Switch delivery to Daily Digest</a>=
 | <a href =3D "mailto:[email protected]?subject=3DChange =
Delivery Format: Traditional">Switch format to Traditional</a> <br>

      <a href=3D"http://groups.yahoo.com/group/MPC500;_ylc=3DX3oDMTJkNDlmZG=
JtBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc=
2xrA2hwZgRzdGltZQMxMjEzNzc2NjA5">
        Visit Your Group=20
      </a> |
      <a href=3D"http://docs.yahoo.com/info/terms/">
        Yahoo! Groups Terms of Use      </a> |
      <a href=3D"mailto:[email protected]?subject=3D">
        Unsubscribe      </a>=20
    </div>     <!-- |**|end egp html banner|**| -->
  </div> <!-- ygrp-msg -->

=20=20
  <!-- Sponsor -->
  <!-- |**|begin egp html banner|**| -->
  <div id=3D"ygrp-sponsor" style=3D"width:160px; float:right; clear:none; m=
argin:0 0 25px 0; background:white;">
    <!-- Network content -->
=20=20=20=20
<!-- Start Recommendations -->
<div id=3D"ygrp-reco">
     </div>
<!-- End Recommendations -->

	    <!-- Start vitality -->
	    <div id=3D"ygrp-vital">
	      	      <a href=3D"http://groups.yahoo.com/group/MPC500;_ylc=3DX3oDMT=
JlbmU2cTFpBF9TAzk3MzU5NzE0BGdycElkAzYyNzYzODcEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlY=
wN2dGwEc2xrA3ZnaHAEc3RpbWUDMTIxMzc3NjYwOQ--">
		Visit Your Group	      </a>
	    </div>=20
=09=20=20=20=20=09=20=20=20=20=09=20=20=20=20=20=20
	    <!-- Network content -->
	    	          <div id=3D"nc">
              <div class=3D"ad">
                      <div id=3D"hd1">Yahoo! News</div>=20
<p><a href=3D"http://us.ard.yahoo.com/SIG=3D13o122ptq/M=3D493064.12016309.1=
2445701.8674578/D=3Dgroups/S=3D1706554205:NC/Y=3DYAHOO/EXP=3D1213783810/L=
=3D/B=3DVLDTAdFJq2g-/J=3D1213776610094593/A=3D3848621/R=3D0/SIG=3D12u6o6g3h=
/*http://news.yahoo.com/i/1597;_ylt=3DA9FJqa5Gxa5E2jgAYQKVEhkF;_ylu=3DX3oDM=
TA2MnU4czRtBHNlYwNzbg--">Fashion News</a></p>=20
<p>What's the word on</p>=20
<p>fashion and style?</p>                  </div>
                    <div class=3D"ad">
                      <div id=3D"hd1">Sell Online</div>
<p><a href=3D"http://us.ard.yahoo.com/SIG=3D13o14j65d/M=3D493064.12016255.1=
2445662.8674578/D=3Dgroups/S=3D1706554205:NC/Y=3DYAHOO/EXP=3D1213783810/L=
=3D/B=3DVbDTAdFJq2g-/J=3D1213776610094593/A=3D4025291/R=3D0/SIG=3D12bsapn24=
/*http://us.rd.yahoo.com/evt=3D44092/*http://smallbusiness.yahoo.com/mercha=
nt">Start selling with</a></p>
<p>our award-winning</p>
<p>e-commerce tools.</p>                  </div>
                    <div class=3D"ad">
                      <div id=3D"hd1">Moderator Central</div>=20
<p><a href=3D"http://us.ard.yahoo.com/SIG=3D13ol6du34/M=3D493064.12016262.1=
2445669.8674578/D=3Dgroups/S=3D1706554205:NC/Y=3DYAHOO/EXP=3D1213783810/L=
=3D/B=3DVrDTAdFJq2g-/J=3D1213776610094593/A=3D5028924/R=3D0/SIG=3D11e3tma2a=
/*http://new.groups.yahoo.com/moderatorcentral">Yahoo! Groups</a></p>=20
<p>Join and receive</p>=20
<p>produce updates.</p>                  </div>
          </div>
=09=20=20=20=20
	  </div> 	  <!-- |**|end egp html banner|**| -->
	  <div style=3D"clear:both; color: #FFF; font-size:1px;">.</div>
	</div> 		  <img src=3D"http://geo.yahoo.com/serv?s=3D97359714/grpId=3D6276=
387/grpspId=3D1706554205/msgId=3D3940/stime=3D1213776609/nc1=3D3848621/nc2=
=3D4025291/nc3=3D5028924" width=3D"1" height=3D"1"> <br>
=09
	<span  style=3D"color: white;">__,_._,___</span>
	<!--~-|**|PrettyHtmlEnd|**|-~-->
	</body>
	<!--~-|**|PrettyHtmlStart|**|-~-->
	<head>
<style type=3D"text/css">
<!--
#ygrp-mkp{
  border: 1px solid #d8d8d8;
  font-family: Arial;
  margin: 14px 0px;
  padding: 0px 14px;
}
#ygrp-mkp hr{
  border: 1px solid #d8d8d8;
}
#ygrp-mkp #hd{
  color: #628c2a;
  font-size: 85%;
  font-weight: bold;
  line-height: 122%;
  margin: 10px 0px;
}
#ygrp-mkp #ads{
  margin-bottom: 10px;
}
#ygrp-mkp .ad{
  padding: 0 0;
}
#ygrp-mkp .ad a{
  color: #0000ff;
  text-decoration: none;
}
-->
</style>
</head>
	<head>
<style type=3D"text/css">
<!--
#ygrp-sponsor #ygrp-lc{
  font-family: Arial;
}
#ygrp-sponsor #ygrp-lc #hd{
  margin: 10px 0px;
  font-weight: bold;
  font-size: 78%;
  line-height: 122%;
}
#ygrp-sponsor #ygrp-lc .ad{
  margin-bottom: 10px;
  padding: 0 0;
}
-->
</style>
</head>
	<head>
	<style type=3D"text/css">
	<!--
	#ygrp-mlmsg {font-size:13px; font-family: arial,helvetica,clean,sans-serif=
;*font-size:small;*font:x-small;}
	#ygrp-mlmsg table {font-size:inherit;font:100%;}
	#ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-s=
erif;}
	#ygrp-mlmsg pre, code {font:115% monospace;*font-size:100%;}
	#ygrp-mlmsg * {line-height:1.22em;}
	#ygrp-text{
	    font-family: Georgia;=09
	}
	#ygrp-text p{
	    margin: 0 0 1em 0;
	}
	#ygrp-tpmsgs{
	    font-family: Arial;=09
	    clear: both;
	}
	#ygrp-vitnav{
		padding-top: 10px;
		font-family: Verdana;
		font-size: 77%;
		margin: 0;
	}
	#ygrp-vitnav a{
		padding: 0 1px;
	}
	#ygrp-actbar{
		clear: both;
		margin: 25px 0;
		white-space:nowrap;
		color: #666;
		text-align: right;
	}
	#ygrp-actbar .left{
		float: left;
		white-space:nowrap;
	}
	.bld{font-weight:bold;}
	#ygrp-grft{
		font-family: Verdana;
		font-size: 77%;
		padding: 15px 0;
	}
	#ygrp-ft{
	  font-family: verdana;
	  font-size: 77%;
	  border-top: 1px solid #666;=20
	  padding: 5px 0;=20
	}
	#ygrp-mlmsg #logo{
	  padding-bottom: 10px;
	}

	#ygrp-reco {
	margin-bottom: 20px;
	padding: 0px;
	}
	#ygrp-reco #reco-head {
		font-weight: bold;
		color: #ff7900;
	}

	#reco-grpname{
        font-weight: bold;
        margin-top: 10px;
  	}
	#reco-category{
        	font-size: 77%;
	}
	#reco-desc{
        	font-size: 77%;
	}

	#ygrp-vital{
		background-color: #e0ecee;
		margin-bottom: 20px;
		padding: 2px 0 8px 8px;
	}
	#ygrp-vital #vithd{
		font-size: 77%;
		font-family: Verdana;
		font-weight: bold;
		color: #333;
		text-transform: uppercase;
	}
	#ygrp-vital ul{
		padding: 0;
		margin: 2px 0;
	}
	#ygrp-vital ul li{
	  list-style-type: none;
	  clear: both;
	  border: 1px solid #e0ecee;=20=20
	}
	#ygrp-vital ul li .ct{
	  font-weight: bold;
	  color: #ff7900;
	  float: right;
	  width: 2em;
	  text-align:right;
	  padding-right: .5em;
	}
	#ygrp-vital ul li .cat{
	  font-weight: bold;
	}
	#ygrp-vital a{
		text-decoration: none;
	}

	#ygrp-vital a:hover{
	  text-decoration: underline;
	}

	#ygrp-sponsor #hd{
		color: #999;
		font-size: 77%;
	}
	#ygrp-sponsor #ov{
		padding: 6px 13px;
		background-color: #e0ecee;
		margin-bottom: 20px;
	}
	#ygrp-sponsor #ov ul{
		padding: 0 0 0 8px;
		margin: 0;
	}
	#ygrp-sponsor #ov li{
		list-style-type: square;
		padding: 6px 0;
		font-size: 77%;
	}
	#ygrp-sponsor #ov li a{
		text-decoration: none;
		font-size: 130%;
	}
	#ygrp-sponsor #nc{
	  background-color: #eee;
	  margin-bottom: 20px;
	  padding: 0 8px;
	}
	#ygrp-sponsor .ad{
		padding: 8px 0;
	}
	#ygrp-sponsor .ad #hd1{
		font-family: Arial;
		font-weight: bold;
		color: #628c2a;
		font-size: 100%;
		line-height: 122%;
	}
	#ygrp-sponsor .ad a{
		text-decoration: none;
	}
	#ygrp-sponsor .ad a:hover{
		text-decoration: underline;
	}
	#ygrp-sponsor .ad p{
		margin: 0;
	}
	o{font-size: 0; }
	.MsoNormal{
	   margin: 0 0 0 0;
	}
	#ygrp-text tt{
	  font-size: 120%;
	}
	blockquote{margin: 0 0 0 4px;}
	.replbq{margin:4}
	-->
	</style>
	</head>
	<!--~-|**|PrettyHtmlEnd|**|-~-->
	</html><!--End group email -->


--2oY9CuWm840E47ZlbJoZUM4TQhyYOTvHy5VuOll--