EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Timer A jitter on G2 LaunchPad

Started by "Reg...@yahoo.com [msp430]" July 12, 2014
What sort of jitter should I see using ACLK on timer A w/ the 32 KHz xtal in place? I'm seeing ~1.5 us on the falling edge of a nominally 30.5 us pulse.

I'm generating a pulse train using timer A in up mode driving LED2. I expect to see jitter in the pulse length using SMCLK derived from the DCO at the 8 MHz calibrated frequency, but I also see it if I change to ACLK for timer A (still DCO for SMCLK).

I get the expected pulse length using ACLK, but more jitter than I would like. I've got the header pins sticking out the underside and the board plugged in to a breadboard, so conceivably I'm loading the xtal and/or picking up stray noise. It clearly stops running if I load it w/ my finger. Probing the xtal lines w/ a scope stops the oscillator which is not surprising considering the power level.

Selecting ACLK on a LaunchPad w/o the xtal produces a very erratic display though nominally at the right frequency. I assume that's because it's getting ACLK from VLO.

Comments? Am I doing something obviously wrong or is it just that my expectations are excessive?

Thanks,
Reg


Posted by: Reginald Beardsley




Beginning Microcontrollers with the MSP430

To answer my own question. I removed the pins from the header which were connected to the xtal leads. This cut the jitter to ~ 60 ns which is much more in line w/ expectation. There are still little antennae connected to the xtal, so I'd expect that a better board layout would reduce this further. Removing the 0 ohm resistors did not reduce the jitter any further, but turning off the lamp on my magnifier cut the jitter to ~ 20 ns.

Reg

--------
On Sat, 7/12/14, Reginald Beardsley p...@yahoo.com [msp430] wrote:

Subject: [msp430] Timer A jitter on G2 LaunchPad
To: m...
Date: Saturday, July 12, 2014, 6:48 PM


 









What sort of jitter should I see using ACLK on
timer A w/ the 32 KHz xtal in place? I'm seeing ~1.5 us
on the falling edge of a nominally 30.5 us pulse.



I'm generating a pulse train using timer A in up mode
driving LED2. I expect to see jitter in the pulse length
using SMCLK derived from the DCO at the 8 MHz calibrated
frequency, but I also see it if I change to ACLK for timer A
(still DCO for SMCLK).



I get the expected pulse length using ACLK, but more jitter
than I would like. I've got the header pins sticking
out the underside and the board plugged in to a breadboard,
so conceivably I'm loading the xtal and/or picking up
stray noise. It clearly stops running if I load it w/ my
finger. Probing the xtal lines w/ a scope stops the
oscillator which is not surprising considering the power
level.



Selecting ACLK on a LaunchPad w/o the xtal produces a very
erratic display though nominally at the right frequency. I
assume that's because it's getting ACLK from VLO.



Comments? Am I doing something obviously wrong or is it
just that my expectations are excessive?



Thanks,

Reg













#yiv3920541677 #yiv3920541677 --
#yiv3920541677ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv3920541677 #yiv3920541677ygrp-mkp hr {
border:1px solid #d8d8d8;}

#yiv3920541677 #yiv3920541677ygrp-mkp #yiv3920541677hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv3920541677 #yiv3920541677ygrp-mkp #yiv3920541677ads {
margin-bottom:10px;}

#yiv3920541677 #yiv3920541677ygrp-mkp .yiv3920541677ad {
padding:0 0;}

#yiv3920541677 #yiv3920541677ygrp-mkp .yiv3920541677ad p {
margin:0;}

#yiv3920541677 #yiv3920541677ygrp-mkp .yiv3920541677ad a {
color:#0000ff;text-decoration:none;}
#yiv3920541677 #yiv3920541677ygrp-sponsor
#yiv3920541677ygrp-lc {
font-family:Arial;}

#yiv3920541677 #yiv3920541677ygrp-sponsor
#yiv3920541677ygrp-lc #yiv3920541677hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv3920541677 #yiv3920541677ygrp-sponsor
#yiv3920541677ygrp-lc .yiv3920541677ad {
margin-bottom:10px;padding:0 0;}

#yiv3920541677 #yiv3920541677actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv3920541677 #yiv3920541677activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv3920541677 #yiv3920541677activity span {
font-weight:700;}

#yiv3920541677 #yiv3920541677activity span:first-child {
text-transform:uppercase;}

#yiv3920541677 #yiv3920541677activity span a {
color:#5085b6;text-decoration:none;}

#yiv3920541677 #yiv3920541677activity span span {
color:#ff7900;}

#yiv3920541677 #yiv3920541677activity span
.yiv3920541677underline {
text-decoration:underline;}

#yiv3920541677 .yiv3920541677attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv3920541677 .yiv3920541677attach div a {
text-decoration:none;}

#yiv3920541677 .yiv3920541677attach img {
border:none;padding-right:5px;}

#yiv3920541677 .yiv3920541677attach label {
display:block;margin-bottom:5px;}

#yiv3920541677 .yiv3920541677attach label a {
text-decoration:none;}

#yiv3920541677 blockquote {
margin:0 0 0 4px;}

#yiv3920541677 .yiv3920541677bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv3920541677 .yiv3920541677bold a {
text-decoration:none;}

#yiv3920541677 dd.yiv3920541677last p a {
font-family:Verdana;font-weight:700;}

#yiv3920541677 dd.yiv3920541677last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv3920541677 dd.yiv3920541677last p
span.yiv3920541677yshortcuts {
margin-right:0;}

#yiv3920541677 div.yiv3920541677attach-table div div a {
text-decoration:none;}

#yiv3920541677 div.yiv3920541677attach-table {
width:400px;}

#yiv3920541677 div.yiv3920541677file-title a, #yiv3920541677
div.yiv3920541677file-title a:active, #yiv3920541677
div.yiv3920541677file-title a:hover, #yiv3920541677
div.yiv3920541677file-title a:visited {
text-decoration:none;}

#yiv3920541677 div.yiv3920541677photo-title a,
#yiv3920541677 div.yiv3920541677photo-title a:active,
#yiv3920541677 div.yiv3920541677photo-title a:hover,
#yiv3920541677 div.yiv3920541677photo-title a:visited {
text-decoration:none;}

#yiv3920541677 div#yiv3920541677ygrp-mlmsg
#yiv3920541677ygrp-msg p a span.yiv3920541677yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv3920541677 .yiv3920541677green {
color:#628c2a;}

#yiv3920541677 .yiv3920541677MsoNormal {
margin:0 0 0 0;}

#yiv3920541677 o {
font-size:0;}

#yiv3920541677 #yiv3920541677photos div {
float:left;width:72px;}

#yiv3920541677 #yiv3920541677photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}

#yiv3920541677 #yiv3920541677photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv3920541677 #yiv3920541677reco-category {
font-size:77%;}

#yiv3920541677 #yiv3920541677reco-desc {
font-size:77%;}

#yiv3920541677 .yiv3920541677replbq {
margin:4px;}

#yiv3920541677 #yiv3920541677ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#yiv3920541677 #yiv3920541677ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}

#yiv3920541677 #yiv3920541677ygrp-mlmsg table {
font-size:inherit;font:100%;}

#yiv3920541677 #yiv3920541677ygrp-mlmsg select,
#yiv3920541677 input, #yiv3920541677 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#yiv3920541677 #yiv3920541677ygrp-mlmsg pre, #yiv3920541677
code {
font:115% monospace;}

#yiv3920541677 #yiv3920541677ygrp-mlmsg * {
line-height:1.22em;}

#yiv3920541677 #yiv3920541677ygrp-mlmsg #yiv3920541677logo {
padding-bottom:10px;}


#yiv3920541677 #yiv3920541677ygrp-msg p a {
font-family:Verdana;}

#yiv3920541677 #yiv3920541677ygrp-msg
p#yiv3920541677attach-count span {
color:#1E66AE;font-weight:700;}

#yiv3920541677 #yiv3920541677ygrp-reco
#yiv3920541677reco-head {
color:#ff7900;font-weight:700;}

#yiv3920541677 #yiv3920541677ygrp-reco {
margin-bottom:20px;padding:0px;}

#yiv3920541677 #yiv3920541677ygrp-sponsor #yiv3920541677ov
li a {
font-size:130%;text-decoration:none;}

#yiv3920541677 #yiv3920541677ygrp-sponsor #yiv3920541677ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}

#yiv3920541677 #yiv3920541677ygrp-sponsor #yiv3920541677ov
ul {
margin:0;padding:0 0 0 8px;}

#yiv3920541677 #yiv3920541677ygrp-text {
font-family:Georgia;}

#yiv3920541677 #yiv3920541677ygrp-text p {
margin:0 0 1em 0;}

#yiv3920541677 #yiv3920541677ygrp-text tt {
font-size:120%;}

#yiv3920541677 #yiv3920541677ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv3920541677


Posted by: Reginald Beardsley





The 2024 Embedded Online Conference