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.
Hi,
I'm trying to make a sine lookup table. I need to generate sine wave with frequency that can be controlled by the user (I mean, variable frequency sinusoid). I want to know the simplest way to accomplish it. If there is program then its better. I'm using TMS320F28335.
There are many different approaches to sine generation. The easiest way to generate sine is to call sin function from some lib. This way is usually most processing-power consuming. The fastest way is to use lookup tables. You can generate those tables on PC with programming language of your preference. This way is memory consuming. There is a way for compromise between those two: http://en.wikipedia.org/wiki/CORDIC algorithm for sine generation (just google some sample code).
Hope this will help,
Maciej