Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 89719

Forum Post: RE: PCM3070 - Audio Mixing configuration

$
0
0

Winnefred,

Here is an example script for analog stereo PGA bypass. You'd need to modify it for ALDO use and for your specific routings.

For SPI, ignore the '30'. The second byte is the register value in hex and subsequent bytes are data.

Regards,

J-

###############################################
# PGA Analog Bypass
# ---------------------------------------------
# This script routes IN1_L/R inputs to HPL/R
# outputs through MicPGA. Connect a portable
# media player to J1 (IN1_L/R) and headphones
# to J9.
#
# Ensure the input signal does not exceed the
# maximum rated input voltage.
###############################################

 

###############################################
# Software Reset
###############################################
#
# Select Page 0
w 30 00 00
#
# Initialize the device through software reset
w 30 01 01
#
###############################################

 

###############################################
# Initialize Codec
###############################################
#
# Select Page 1
w 30 00 01
#
# Disable weak AVDD in presence of external
# AVDD supply
w 30 01 08
#
# Enable Master Analog Power Control
w 30 02 00
#
# Set the input powerup time to 3.1ms (for ADC)
# w 30 47 32
#
# Set the REF charging time to 40ms
w 30 7b 01
#
###############################################

 

###############################################
# Playback Setup
###############################################
#
# Select Page 1
w 30 00 01
#
# De-pop
w 30 14 25
#
# Route IN_1L to Left MicPGA P
w 30 34 40
w 30 36 40
#
# Route IN_1R to Right MicPGA P
w 30 37 40
w 30 39 40
#
# Mixer Amp -> HP outs
w 30 0C 02 02
#
# Mixer Amp -> Lineouts
w 30 0E 02 02
#
# PGA Bypass Gain = 0dB
w 30 18 00 00
#
# Power up HPL/HPR, LOL/LOR and MAL/MAR drivers
w 30 09 3F
#
# Unmute HPL/HPR driver, 0dB Gain
w 30 10 00 00
#
# Unmute LOL/LOR driver, 0dB Gain
w 30 12 00 00
#
###############################################


Viewing all articles
Browse latest Browse all 89719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>