Hi, I've try to generate a sine wave with a c6711dsk, but it's not works. I'm try a lot of examples to configure the codec and when I do something like that: in = mcbsp0_read (); mcbsp0_write(in & 0xFFFE); works fine (pass the audio in input to output), but if I do it: out = ((unsigned int) ((y+1)*32767)) & 0xFFFE; /*where y is float and have values between -1 and 1 (sine values )*/ mcbsp0_write(out); it's not work. Anyone had a problem like that or any a idea where I'm wrong?! Regards, Carlos Eduardo. |
c6711 DSK and codec
Started by ●November 14, 2001