ΣSigmaStudio Ask AI Русский Log in

ADAU1761 - Maximum value for Digital Input / Output

SigmaDSP & SigmaStudio vnadon_B_ING Jul 31, 2015 00:00 2 replies Original on forum ↗
Subscribe
vnadon_B_ING Question
Jul 31, 2015 00:00

Hi,

I wanted to transmit some kind of time count (time/Fs) through a Digital output to have this same time signal in a following DSP, but apparently the Maximum value for Digital inputs is 1? I would like to have a higher value like 5 or more, is this possiblle?

See screenshots.

DSP1

DSP2

Thanks,

Vincent

Audio Signal Processors

sigma studio

SigmaDSP Audio Processors

adau1761

SigmaDSP

07c7add4e65d3a4eb5a5bc14f87b52a2.png
07c7add4e65d3a4eb5a5bc14f87b52a2.png
07c7add4e65d3a4eb5a5bc14f87b52a2.png-194x184.png
07c7add4e65d3a4eb5a5bc14f87b52a2.png-194x184.png
6124893178431bb828048c647161b33a.png
6124893178431bb828048c647161b33a.png
6124893178431bb828048c647161b33a.png-359x282.png
6124893178431bb828048c647161b33a.png-359x282.png
KJBob Reply
Jul 31, 2015 00:00

Hello Vincent,

By definition, full-scale audio runs in the range from -1 to +0.99999 as shown below, This is maximum ("0 dB") level for the ADCs, the DACs, and any I2S audio.

Inside most SigmaDSPs, your available range is -16 to +15.9999 (the ADAU145x is the exception, it handles from -128 to +127.9999). Thus, you can go ahead and scale (multiply) your input accordingly. If for example you multiply your ADC signal by five, you have from -5 to +4.9999. This added range is meant for headroom, thus ideally would not be used for audio -- but it's perfectly valid in your application.

Before outputting the signal on a DAC or I2S link, you'll need to divide it back to the -1 -- +1 range (in other words, multiply by the reciprocal of the factor you're using after the ADC). DSPs are multiply-and-add machines, so multiplying is a lot easier than dividing,

Best regards,

Bob

c11467ef1f2cafee1c870f8e7d564895.png
c11467ef1f2cafee1c870f8e7d564895.png
c11467ef1f2cafee1c870f8e7d564895.png-438x243.png
c11467ef1f2cafee1c870f8e7d564895.png-438x243.png
vnadon_B_ING Reply
Aug 3, 2015 00:00

I actually wanted to pass a signal through Digitial I/O to save some multiplication blocs (and division blocs) that actually cause problems in my design for uC integration.

I will therefore find another solution.

Thanks for your answer

Vincent