PCM1804 Library

This is a basic library for hardware control of a TI PCM1804 24bit 96kHz audio ADC.

## disclaimer: I don't have a working setup to test this library out, so it's based on the data sheet ##

The PCM1804 is a high-performance, single-chip stereo A/D converter with fully differential analog voltage input.

The datasheet is available here:
http://focus.ti.com/lit/ds/symlink/pcm1804.pdf

 

TERMINAL
I/O DESCRIPTIONS
NAME PIN
AGND 23 – Analog ground
AGNDL 2 – Analog ground for VREFL
AGNDR 27 – Analog ground for VREFR
BCK/DSDL 16 I/O Bit clock input/output in PCM mode. L-channel audio data output in DSD mode. (1)
BYPAS 12 I HPF bypass control. High: HPF disabled, Low: HPF enabled (1)
DATA/DSDR 15 O L-channel and R-channel audio data output in PCM mode. R-channel audio data output in DSD mode. (DSD
output, when in DSD mode)
DGND 13 – Digital ground
FMT0 6 I Audio data format 0. See Table 5. (2)
FMT1 7 I Audio data format 1. See Table 5. (2)
LRCK/DSDBCK 17 I/O Sampling clock input/output in PCM and DSD modes. (1)
OSR0 9 I Oversampling ratio 0. See Table 1 and Table 2. (2)
OSR1 10 I Oversampling ratio 1. See Table 1 and Table 2. (2)
OSR2 11 I Oversampling ratio 2. See Table 1 and Table 2. (2)
OVFL 21 O Overflow signal of L-channel in PCM mode. This is available in PCM mode only.
OVFR 20 O Overflow signal of R-channel in PCM mode. This is available in PCM mode only.
RST 19 I Reset, power-down input, active-low (2)
SCKI 18 I System clock input; 128 fS, 256 fS, 384 fS, 512 fS, or 768 fS. (3)
S/M 8 I Slave/master mode selection. See Table 4. (2)
VCC 22 – Analog power supply
VCOML 3 – L-channel analog common-mode voltage (2.5 V)
VCOMR 26 – R-channel analog common-mode voltage (2.5 V)
VDD 14 – Digital power supply
VINL– 5 I L-channel analog input, negative pin
VINL+ 4 I L-channel analog input, positive pin
VINR– 24 I R-channel analog input, negative pin
VINR+ 25 I R-channel analog input, positive pin
VREFL 1 – L-channel voltage reference output, requires capacitors for decoupling to AGND
VREFR 28 – R-channel voltage reference output, requires capacitors for decoupling to AGND


0 comments

You need to log in to post a comment