Jerry Avins wrote:
> akeane01 wrote:
>> Hi,
>>
>>
>> below is a sample of the filter to process de-emphasis on audio
>> signals on
>> a receiver card with a ADSP2101. When i run the code without this filter
>> the linearity of the audio signals is good down to 80dB below full scale
>> which is around -60dBm. So -10dBm input equals -10dBm output for good
>> linearity and so on. What i notice is that when i add this filter to
>> compensate from the pre-emphasized signal from the transmitter, my low
>> level linearity response is starts dropping off at -50dBm input. If I add
>> gain before the filter then the better the low level signal response
>> but i
>> lose that range on the high level signals. Is there anything that can be
>> done to this 1.15 fractional mode filter for low level signals?
>
> Double precision.
[email protected] wrote:
> alan keane visited DSPRelated.com and clicked on your name from this
page:
> http://www.dsprelated.com/showmessage/121010.php
> to contact you. His message follows:
>
> Jerry,
>
> you mention using double precision to help solve my problem. Is there
an example of how to do this. I am not that familiar with it..
>
> thanks
> Alan Keane
Technical questions belong in the newsgroup, where many can respond and
where others can be correct my mistakes. The exact details of
implementing double precision depend on the resources provided bu the
processor. Addition is fairly easy, but multiplication is a bit messy.
Double precision uses twice as many bits to represent a number, It is
divided into high and low parts, To add two numbers a and b, Perform
a_low + b_low = sum_low, then a_high + b_high (with the carry from the
first addition) = sum_high. Multiplication is done similarly, accounting
for the cross terms, and produces a quad-precision result. Typically,
the low bits will be discarded and therefor needn't be computed in
detail, but carries resulting from them need to be accounted for.
This is basic assembly programming. AD's web site may have a tutorial.
Jerry
--
"The rights of the best of men are secured only as the
rights of the vilest and most abhorrent are protected."
- Chief Justice Charles Evans Hughes, 1927
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
--
Engineering is the art of making what you want from things you can get.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ