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.

distorted sine wave using msp430f5438 experimenter board

Other Parts Discussed in Thread: MSP430F5438A

hi,i am sending a sine wave of 10 hz from function generator and passing it through the adc of msp430f5438a at 118hz. and i am able to plot the sine graph using python.

i am getting the following graph which i have attached .the curve is smooth but some times it gets distorted.what may  be reason.where can i rectify my error for smooth graph.i am using the uart at a baud rate of 9600 bps.

  • “I wrote some code to produce a picture and the picture isn’t what I expected. What did I wrong?”

    Since there is no ‘when a sine wave is sampled, then every nth wave is distorted’ bug in the MSP hardware, the problem must be either your test environment or (more likely) your code. Which only you know.
    It can be everything. A race condition, an overflow, an index out of bounds error… Without knowing the code, nobody can tell.

**Attention** This is a public forum