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.

CCS/MSP430FR5969: PWM to Sine Wave Code for the MSP430FR5969

Part Number: MSP430FR5969

Tool/software: Code Composer Studio

Hello,

I am currently working on a project that involves taking in a PWM signal and converts it to sine wave using an output RC filter.

I have been referencing this app note below:

http://www.ti.com/lit/an/spna217/spna217.pdf

I have a question on what would be the correct way to cycle through the respective duty cycles needed. I am currently using if statements to increment through the correct duty cycle values being assigned to TA0CCR1 using a TIMERA_0 ISR. Would this be the correct way to go about cycling the duty cycle and continually repeating?

Any feedback and support is appreciated.

Regards,

Connor Connaughton