Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5

Ads

Discussion Groups

Discussion Groups | TMS320C55x | Inverted Output on 5510

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

Inverted Output on 5510 - Thomas Shen - Jun 14 9:01:50 2006



Hi all,

I am working on the 5510 DSK. For some strange reason, my output is
being inverted. I am implementing an FFT so I can tell it's being
inverted because the spike showing up is negative. I've checked the
values in memory that is being read and they are still positive. Even
the trigger pulse I have set is being inverted. What I mean by
inverted is what shows up on the oscilloscope is negative of what's in
the memory.=20

I was thinking it could be the AIC23 A/D D/A causing this problem, but
looking at the manual http://focus.ti.com/lit/ds/slws106d/slws106d.pdf
didn't get me anything. Does anyone have any ideas?

Any help appreciated. Thanks,

Thomas Shen

=20

=20



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Inverted Output on 5510 - Jeff Brower - Jun 14 10:17:23 2006

Thomas-

> I am working on the 5510 DSK. For some strange reason, my output is
> being inverted. I am implementing an FFT so I can tell it's being
> inverted because the spike showing up is negative.

Are you looking at a magnitude result of the FFT?

-Jeff

> I've checked the
> values in memory that is being read and they are still positive. Even
> the trigger pulse I have set is being inverted. What I mean by
> inverted is what shows up on the oscilloscope is negative of what's in
> the memory.
>=20
> I was thinking it could be the AIC23 A/D D/A causing this problem, but
> looking at the manual http://focus.ti.com/lit/ds/slws106d/slws106d.pdf
> didn't get me anything. Does anyone have any ideas?
>=20
> Any help appreciated. Thanks,
>=20
> Thomas Shen
=20

=20



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Inverted Output on 5510 - Thomas Shen - Jun 15 7:19:53 2006

Hi Jeff,

Yes, I am calculating/outputting the magnitude squared by individually
squaring and adding the real and imaginary parts. 

In memory, the result is a positive 16-bit signed integer as expected,
but it comes out negative on the oscilloscope.

Thanks for your reply,

Thomas

--- In c...@yahoogroups.com, Jeff Brower <jbrower@...> wrote:
>
> Thomas-
> 
> > I am working on the 5510 DSK. For some strange reason, my output is
> > being inverted. I am implementing an FFT so I can tell it's being
> > inverted because the spike showing up is negative.
> 
> Are you looking at a magnitude result of the FFT?
> 
> -Jeff
> 
> > I've checked the
> > values in memory that is being read and they are still positive. Even
> > the trigger pulse I have set is being inverted. What I mean by
> > inverted is what shows up on the oscilloscope is negative of what's in
> > the memory.
> > 
> > I was thinking it could be the AIC23 A/D D/A causing this problem, but
> > looking at the manual http://focus.ti.com/lit/ds/slws106d/slws106d.pdf
> > didn't get me anything. Does anyone have any ideas?
> > 
> > Any help appreciated. Thanks,
> > 
> > Thomas Shen
>



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Re: Inverted Output on 5510 - Jeff Brower - Jun 15 12:56:30 2006

Thomas-

> Yes, I am calculating/outputting the magnitude squared by individually
> squaring and adding the real and imaginary parts.
> 
> In memory, the result is a positive 16-bit signed integer as expected,
> but it comes out negative on the oscilloscope.

Please explain how you are measuring FFT magnitude using a dig scope?  Are you
letting the scope internally calculate using time domain input?  Or are you
outputting the DSP memory contents in some way, for example using CCS GUI window?

-Jeff

> --- In c...@yahoogroups.com, Jeff Brower <jbrower@...> wrote:
> >
> > Thomas-
> >
> > > I am working on the 5510 DSK. For some strange reason, my output is
> > > being inverted. I am implementing an FFT so I can tell it's being
> > > inverted because the spike showing up is negative.
> >
> > Are you looking at a magnitude result of the FFT?
> >
> > -Jeff
> >
> > > I've checked the
> > > values in memory that is being read and they are still positive. Even
> > > the trigger pulse I have set is being inverted. What I mean by
> > > inverted is what shows up on the oscilloscope is negative of what's in
> > > the memory.
> > >
> > > I was thinking it could be the AIC23 A/D D/A causing this problem, but
> > > looking at the manual http://focus.ti.com/lit/ds/slws106d/slws106d.pdf
> > > didn't get me anything. Does anyone have any ideas?
> > >
> > > Any help appreciated. Thanks,
> > >
> > > Thomas Shen



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Inverted Output on 5510 - Jeff Brower - Jun 15 17:28:14 2006

Thomas-

> I am only using the oscilloscope to display the output of the dsp. The
> fft calculation is being done by the dsp chip.
> 
> I have the 5510 DSK, which includes analog input and output and A/D
> D/A converters. For input, I have connected a function generator with
> a sine wave. The DSP is supposed to calculate the fft, square the
> magnitude, and output the memory contents, which shows up on the
> oscilloscope.

Ok -- I see now.  In that case output may be inverted simply due to audio circuitry
on the DSK 5510 board.  Maybe the circuitry has a 1-stage amplifier that inverts.  In
any case, if you can invert the data prior to DAC output and it matches your mem
result, then I wouldn't worry about it.

> What do you mean by CCS gui? If you mean the "Graph" command in CCS to
> display memory contents graphically, I have tried that as well. The
> values are correct there.

Ok that's good.

-Jeff

> --- In c...@yahoogroups.com, Jeff Brower <jbrower@...> wrote:
> >
> > Thomas-
> >
> > > Yes, I am calculating/outputting the magnitude squared by individually
> > > squaring and adding the real and imaginary parts.
> > >
> > > In memory, the result is a positive 16-bit signed integer as expected,
> > > but it comes out negative on the oscilloscope.
> >
> > Please explain how you are measuring FFT magnitude using a dig
> scope?  Are you
> > letting the scope internally calculate using time domain input?  Or
> are you
> > outputting the DSP memory contents in some way, for example using
> CCS GUI window?
> >
> > -Jeff
> >



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )