• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

AVR With Best Digital Volume Control For Digital Output Mod

OP
R

robinasu

Member
Joined
Jul 9, 2022
Messages
7
Likes
2
I would like to point out that while a schematic is always very helkpful, it is by no means a requirement if you are familiar with various DAC part numbers or are willing to spend some time with Google in order to identify the DAC on your AVR's DSP board. Datasheets are readily available for almost all DACs.
Thanks for the inspiration, btw. :D Just need to find some info on some AVR digital volume implementation, so maybe set and forget the modded AVR and find a HDMI-CEC to RS-232 bridge. The meridians have RS-232 control.
 
OP
R

robinasu

Member
Joined
Jul 9, 2022
Messages
7
Likes
2
The simplest approach in that case would be to make use of a cheap ADAU1701 board such as the APM2 in slave mode. He could feed the I2S clocks and all four data lines directly to it and then out to a few SPDIF encoders. The 1701 would handle digital volume control and has GPIO to spare. At 48KHz, this would introduce only one millisecond of additional latency.
I will look into this option before I pull the trigger on these:


Also, need to make sure the candidate AVR doesn't have some custom SOIC for cost saving that integrates the DAC. The Denon AVR-X1700H looks interesting.
 
Last edited:
OP
R

robinasu

Member
Joined
Jul 9, 2022
Messages
7
Likes
2
Update from my side. I bought some I2S to SPIDIF converter boards and a Denon AVR-X1700H. The converters arrive in a couple months. The Denon arrived today and I was a little concerned about the PCB layout compared to my plans but after some time I think it will be ok. I also found some nice pads around the codec, but haven’t had time to decode them. I haven’t been able to find the datasheet for the codec or AVR; even emailed Denon and they said engineering hadn’t released it yet. Trial and error might be the way forward. I'll probably try to ohm the pads out to the DAC, which is a TI PCM5102A, and I have the pinout.

39701885-683E-456D-A423-5BF183F05999.jpeg
38B66E7C-4771-4467-8D45-E8894C219757.jpeg
3D6A7786-3CFF-451E-8704-AC8F554D1799.jpeg
ADC482B3-374C-434C-8B7A-B77DE1542E8D.jpeg
 
Last edited:

voodooless

Grand Contributor
Forum Donor
Joined
Jun 16, 2020
Messages
10,381
Likes
18,315
Location
Netherlands
Nice to see you taking the plunge :) Looks indeed like the datasheet of the DSP (it's not the codec) is under lock and key for some reason. Possibly another point where you can find the I2S lines is right where the DAC board is. The ribbon cable should carry all the needed signals. With a bit of luck, you can just disconnect it and make some new PCB with the same connector to harvest the signals from. This would be neet solution for such a board (if you need only 6 channels):

- Multichannel I2S connector -> ADAU1701
- uC to listen to I2C interfaces of volume control chips (I assume that they are I2C and with a bit of luck it's on the same connector)
- uC connected to ADAU1701 to control volume based on what the AVR send to it
- ADAU1701 to 3x SPDIF

If one were to adopt various connectors on there (and support for multiple I2C volume control chips), one could make a kit to retrofit various AVRs this way. Might be a nice project :)
 
OP
R

robinasu

Member
Joined
Jul 9, 2022
Messages
7
Likes
2
I was hoping it had a good digital volume control, but after the DACs there is an I2C controlled analog volume control IC. My speakers have volume control and RS-232, so I will just try to tap the digital stream and then find a HDMI-CEC to RS232 bridge.
 

voodooless

Grand Contributor
Forum Donor
Joined
Jun 16, 2020
Messages
10,381
Likes
18,315
Location
Netherlands
I was hoping it had a good digital volume control, but after the DACs there is an I2C controlled analog volume control IC. My speakers have volume control and RS-232, so I will just try to tap the digital stream and then find a HDMI-CEC to RS232 bridge.
Alternatively, you can use the web interface of the AVR: just have a service scrape the volume, and from there set your speakers to the equivalent volume via serial.
 

Vincentponcet

Active Member
Forum Donor
Joined
Mar 13, 2020
Messages
248
Likes
106
The simplest approach in that case would be to make use of a cheap ADAU1701 board such as the APM2 in slave mode. He could feed the I2S clocks and all four data lines directly to it and then out to a few SPDIF encoders. The 1701 would handle digital volume control and has GPIO to spare. At 48KHz, this would introduce only one millisecond of additional latency.
Volume control at the spdif level, so over 24 bits, will crush the distortion.
A good digital volume control should be done in 32 bits, and using a DAC chip having a 32 bits input, so a digital volume control before an spdif interface is not great.
Or using a DAC chip with integrated digital volume control, like ess dac chips, then even if the input is spdif 24 bits, the volume control is internally made in 32 bits to the Delta sigma modulator.
 

Weeb Labs

Addicted to Fun and Learning
Joined
Jun 24, 2020
Messages
606
Likes
1,423
Location
Ireland
Volume control at the spdif level, so over 24 bits, will crush the distortion.
A good digital volume control should be done in 32 bits, and using a DAC chip having a 32 bits input, so a digital volume control before an spdif interface is not great.
Or using a DAC chip with integrated digital volume control, like ess dac chips, then even if the input is spdif 24 bits, the volume control is internally made in 32 bits to the Delta sigma modulator.
In the aforementioned scenario, volume control would be handled at 32 bit by the ADAU1701.
 
Last edited:

Weeb Labs

Addicted to Fun and Learning
Joined
Jun 24, 2020
Messages
606
Likes
1,423
Location
Ireland

Weeb Labs

Addicted to Fun and Learning
Joined
Jun 24, 2020
Messages
606
Likes
1,423
Location
Ireland
I thought SPDIF only supported 24 bits, and not 32 bits.
That is correct. The ADAU1701 can output any required word length but gain control will always be performed internally at 32-bit precision.
 
Top Bottom