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.

creating a LUT (look-up table)



Hi all

I need to create a lookup table of sine function in my application. I'm working on F2812. Does anybody ever do it? How can I do this?

I tried allocating a vector in the main program, in a library or in another function , but I have problem of memory (see my previous post). Now I try to allocate it in RAM allocating directly in the main program, but I have one problem: all location of the vector contains -1.

Anybody have experience this?

PS: I can't (and won't) use IQ libraries, because I need a 5000-length table and I use integers.

Francesco