ZHCSFY2B August 2015 – February 2019 TAS2555
PRODUCTION DATA.
The following code example provide the correct sequence to power up the device, unmute and mute, and provide a clean power-down. The PurePath Console 3 Software TAS2555 Application software will create output files with these commands. The following is a example of powering up the part in DSP Mode 2 with proper sequencing.
Example script (ROM Mode 2):
#############################################################################################
i i2cstd
#mclk expected is 24.576 MHz
#configuring device registers for 8 ohm speaker load
########################### DEVICE INIT SEQ START##############################################
w 98 00 00 #Page-0
w 98 7f 00 #Book-0
w 98 01 01 #Software reset
d 1 # wait 100us time for OTP-One Time Programmable memory values to be transferred to device
##### DSP PROG SETTING START
w 98 22 22 # use default coefficients and operate DSP in rom mode 2
##### DSP PROG SETTING END
########################### DEVICE INIT SEQ END ###############################################
################### CHANNEL POWER UP ####################################################
w 98 05 A3 # Power up Analog Blocks
w 98 04 B8 # Power up DSP and clock dividers
w 98 07 00 # Unmute Analog Blocks
w 98 7f 64 # switch to book100
w 98 07 00 # Soft stepped unmute of audio playback
############################################################################################
##### DSP coeff update START
# d 1
# DSP filter coefficient update if required
##### DSP coeff update END
b ############device powered up and running##########
################### CHANNEL POWER DOWN ####################################################
w 98 07 01 # Soft stepped mute of audio playback
d 10 # wait for DSP to mute classD after soft step down of audio
# instead of delay alternatively status flag B120_P15_R120_R121_R122_R123 polling can be done and wait till R122_D0 = '1'.
w 98 7f 00 # switch to book0
w 98 07 03 # Mute Analog Blocks
w 98 04 20 # Power down DSP and clock dividers (except Ndivider)
w 98 05 00 # Power down Analog Blocks
w 98 00 00 # NOP
w 98 04 00 # Power down Ndivider
#############################################################################################
#optional(ending the script in B0_P0)
w 98 00 00 # page 0
w 98 7f 00 # book 0
#############################################################################################