I need help with a template or example software for the RMS & PEAK LIMITER, I tried hard to make it work the way I want.
Whats needed is to have any signal level input from 0.7V up to 10V at the input, while keeping the signal at the output 1V for example without clip.
Is that possible?
Appreciate any help
What you have to do is translate the external level into an internal digital level. Then you can work on it in the DSP to limit the level.
When you are working with converters, the reference level for digital zero (0dBFS) is setup by the converters before it ever reaches the DSP. In the 1701 there is also the reference current setting resistor for the current input on the ADCs. Then DACs tend to not be exactly the same level. Again, a 0dBFS digital signal might be converted to a different analog level depending on what the reference is for the DAC. So you have to work this out in your design. Then apply a known level and measure it in the DSP to see if you are getting the level you expect. Then in the DSP you can limit it however you would like.
Now if you are using the 1701 evaluation board to send it 10V input level then you are clipping the input. What value are you using for the ADC_RES? Upload your schematic.
Sorry for late replay, I didn't get any notifications for some reason.
I am not sure witch resistor you are talking about?
Yes, I have the evaluation board, and my own design also.
I have seen some examples with PEAK & RMS limiter, but none of them worked for me, maybe because of the value of that resistor I am not sure.
Could you please point out witch resistor in the evaluation board schematic?
And is there a value to set it to 0db for example?Thanks
Look at page 20 of the datasheet. That section explains how to calculate the resistor values and shows you which ones they are. Keep in mind that there are two calculation, one for the common ADC_RES which sets the level for both channels, and then the series ADC input resistors.
You ask for 0dB. This is not specific enough, 0dBu? 0dBm? 0dBv? You will see that the datasheet uses RMS voltage. This is what you need to know because 0dB in one system can be very different to 0dB in another.