This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TAS3251: basic I2C configuration

Part Number: TAS3251
Other Parts Discussed in Thread: TAS5825M, ,

Hello,

PPC3 access to TAS5825M-SW was granted to me and I have made a basic setup for 48 kHz, simplified to work with CC8531-CC2590. It works great.

TAS5825M.txt
d 157			# Delay 5ms
w 98 00 00
w 98 7f 00		# Book 00
w 98 03 02		# HiZ
w 98 01 11		# Reset DSP, I2C
w 98 7d 11 ff
w 98 00 01		# Page 01
w 98 51 05
w 98 00 02		# Page 02
w 98 1d 00
w 98 19 80
w 98 00 00		# Page 00
w 98 46 11		# DSP 96kHz, ZROM
#w 98 02 00		# 384kHz, BD mode	(default setting)
#w 98 53 01		# 100kHz BW, in phase	(default setting)
#w 98 54 00		# AGain 0 dB, 29.5 V	(default setting)
w 98 03 02		# HiZ
d 157			# Delay 5ms
#w 98 00 00		# we are here already
#w 98 7f 00		# we are here already
w 98 28 59		# 64Fs, 48kHz
#w 98 00 00		# we are here already
w 98 7f aa		# Book AA
#w 98 00 02		# BQ-coeffs for 96kHz
#w 98 08   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 # config left BQ5-10
w 98 00 03
w 98 08   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   07 AE A3 9C  F0 AB 24 AC  07 AE A3 9C  0F 54 DB 54  F8 A2 B8 C8 # config left BQ11-15, Notch 1kHz@96kHz
# w 98 6C 08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00	# [max 15x] config right BQ1
w 98 00 04
w 98 08   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   07 AE A3 9C  F0 AB 24 AC  07 AE A3 9C  0F 54 DB 54  F8 A2 B8 C8 # config right BQ2-6, Notch 1kHz@96kHz

PPC3 acces to TAS3251-SW was not granted, but I am trying the attached setup for 48 kHz. The BQ1-left should give a 6 dB attenuated signal, but it doesn't. 

TAS3251.txt
# program memory
    w 94 00 00 #		
    w 94 7f 00 #		Switch to Book 0
    w 94 02 11 #		PowerDown DSP
    w 94 01 11 #		Reset module & registers. Bits are auto cleared
    d 3125 #			Wait 100 ms
    w 94 03 11 #		Mute L&R
    w 94 2a 00 #		Zero Data path L&R (= mute...)
    w 94 25 18 #		Ignore MCLK error detection
    w 94 0d 00 #		Clck config..
    w 94 02 00 #		Wake up DSP
# Sample rate update
    w 94 02 80 #		Reset DSP
# speed 03-48k 04-96k
# dynamically reading speed
    w 94 22 03 #		Set FS Speed. Ignored in auto clock mode	
    w 94 02 00 #		Restart DSP
# write coefficients of various components
    w 94 00 00 #
    w 94 7f 8c #		Switch to Book8c
#    w 94 00 1e #
#    w 94 44 00 80 00 00 #	Vol-L to 0dB (default setting)
#    w 94 48 00 80 00 00 #	Vol-R to 0dB (default setting)
    w 94 00 15 #		Page 15
    w 94 58 3f 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 #	BQ1-L -6dB
    w 94 00 18 #		Page 18
    w 94 18 7f 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 #	BQ1-R 0dB
# swap command
    w 94 00 00 #		
    w 94 7f 8c #		Switch to Book8c
    w 94 00 23 #		Goto Page 23
    w 94 14 00 00 00 01 #	Write 00 00 00 01 in reg 14-17
# register tuning
    w 94 00 00 #		
    w 94 7f 00 #		Switch to Book0
    w 94 00 01 #		Switch to Page1
    w 94 02 00 #		Analog Gain set to 0dB	
    w 94 06 01 #		Analog mute follows digital mute	
# Unmute the device
    w 94 00 00 #		Switch to Page0
    w 94 03 00 #		UnMute L&R	
    w 94 2a 11 #		Enable data path (L-L & R-R)

I noticed that the Swap Command in the documentation, paragraph 8.3.7.6.3, would result in a jump to page 0x01, so this must be wrong. But I am missing something else in my setup.

Can somebody see what s wrong or missing?