|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Digital Line Level DACs, Digital Crossovers, Equalizers, etc. |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: May 2006
|
Hi all,
I'm using an ARM microcontroller to interface with a PCM3060 24 bit codec using I2S. I am trying to generate a sine wave using a lookup table. Trouble is that the top and bottom halves of the sine wave are flipped over!! Anyone got any ideas? |
|
|
|
#2 |
|
diyAudio Member
Join Date: May 2006
|
Ok problem solved. I was using positive values only with what I thought was an unsigned int. The library for the micro indicated an unsigned 16 bit int, so I used values from 0-65535 for the sine.
When I plugged both positive and negative values (-32768 to 32768) for the look up table the problem went away.... strange but there ya go. Variable must have been maxing out and resetting to 0 etc... Hope this helps someone else sometime :-) |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sundown SAE-1200Dv1 Weird output issue possible Fet problem? | RosDaddy | Car Audio | 7 | 11th April 2010 02:12 AM |
| Replacing 5-pin DIN inputs on a Telefunken Radio? +weird speaker output? | hageir | Tubes / Valves | 8 | 19th January 2008 07:59 PM |
| Why does the inverted gainclone have a resistor at the output | goldyrathore | Solid State | 10 | 12th April 2005 11:36 AM |
| noob question: inverted/non-inverted | dieselpower | Chip Amps | 2 | 20th December 2004 09:19 PM |
| Circuit questions - Inverted vs non-inverted (again) | alvinlim | Chip Amps | 4 | 1st July 2003 11:27 AM |
| New To Site? | Need Help? |