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/TMS320C5505: Generation of sine wave of 40 kHz

Part Number: TMS320C5505

Tool/software: Code Composer Studio

Dear All,

I am working on a parametric loudspeaker project. In this work, I want to modulate the input audio signal onto a carrier of ~40 kHz. 

In order to generate the carrier signal i.e. sine wave of 40 kHz, I am using the sample code provided by TI at http://processors.wiki.ti.com/index.php/Porting_C5000_Teaching_ROM_to_C5535_eZdsp (Refer "Download the C5000 Teaching ROM from the TI University Program Website (zip file)". Chapter 4 in this Teaching ROM illustrates the code to generate sine wave using TMS320c5505.)

However, the maximum frequency of sine wave generated using the code of chapter 4 is ~20 KHz. However, I want to generate the sine wave of ~40 kHz.

Can anyone guide me how can I modify this sample code to generate sinewave of 40 kHz.

Thank you very much and regards,
Satyajit