I am using the msp430 launchpad.
is there any way by which i can see the clock output on an oscilloscope..??
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am using the msp430 launchpad.
is there any way by which i can see the clock output on an oscilloscope..??
Vaibhav,
Go to this link:
http://www.ti.com/product/msp430g2231
Search for examples. There will be a zip file full of examples to get you where you want. If the clock you are referring to are system clocks look at example msp430g2xx1_clks.c .
If it is a timer output you want to see, take a look at the various msp430g2xx1_ta examples. There is a readme file in the directory to inidicate what each of these example do.
-Jason
the microcontroller is msp4302231.i want to see the internal clock that drives the timer in different modes.
also i want to see the PWM output that the microcontoller generates in the compare mode of the timer.
Look into the device datasheet.
Each of the three clocks, ACLK, SMCLK and MCLK, can be output to a specific port pin on almost every MSP. THe datasheets tells you which signal is available on which pin.
You'll have to set the proper PxSEL bit for thsi pin to select this functionality, and also have to set the port pin to output direction by setting the proper PxDIR bit.
On some MSPs, ACLK has an optional divider.
P.s.: there is no separate way to output the clock that is actually driving a timer. (e.g. a 'timer clock output'). But since you selected the clock for the timer in your software, you know for which one you have to enable the output signal :)
**Attention** This is a public forum