A Stereo Digital Volume Control based on the CS3310
The CS3310 is a complete stereo digital volume control designed specifically for audio systems. It features a 16-bit serial interface that controls two independent, low-distortion audio channels.
Fig. 1 The CS3310 Block Diagram
Electrical performances are very good....compared to a standard, passive dual potentiometer.
Fig. 2 The CS3310 Frequency Response
To work correctly the CS3310 requires a SPITM or MicroWireTM type serial interface and therefore a firmware based design.
Fig. 3 The Block Diagram
Fig. 4 The SPI Format
To explore the CS3310 capabilities I have choose the PIC16F84A by Microchip, a RISC based 8-bit FLASH mC .
Following the recommended connections by Crystal, the simple schematic above shown was realized.
Fig 5 The Full Schematic
(click on it to enlarge)
The firmware is based on the following simplified flow-chart.
Fig. 6 The Firmaware Flowchart (click on it to enlarge)
Available a pre-programmed 16F84A.
References:
[1] Interfacing the CS5525/6/9 to the PIC16F84, Keith Coffey, AN88 Crystal
[2] http://www.jeffrowland.com/techtalk.htm
SPITM is a trademark of Motorola.
MicroWireTM is a trademark of National Semiconductor.
What did you
think of this article? |