Posted on May 17, 2011 at 09:46Hi all! I have trouble with the SPI port. I’m sending data between two STR912 chip. Later on one will be change to an A/D-converter. The master chip sends two 16-bit words continually over the buss. If I look at the si...
Posted on May 17, 2011 at 09:44I’ve struggled a bit with the FFT from the DSPLIB. To me it looks like it’s not working correctly. I’ve tested the algorithm with the test done in the doc. 4.2 (table 4) The result is a bit strange. When I use a ...
Posted on May 17, 2011 at 09:43Skip my last post. I've found the same bug in my code as in the port I downloaded. Change .word to .short in the Table_FFT.
Posted on May 17, 2011 at 09:43Thanks! The port seems to be exactly ly the one I did. And it has the same problem. long in[1024]; long out[1024]; memset(&in, 0, sizeof(in)); memset(&out, 0, sizeof(out)); /*Generate sin wawe, Fs=800, f=80, amp=32767*...