KitOperation
www.ti.com
Hereisanexampleofascript:
#TLV320AIC12K/14K
#ThisconfigurationallowsplayingaudiototheDACfromanymediaplayeron
#acomputerandrecordingfromtheADConaudiorecordingsoftware.Pin
#MICINisconfiguredastheinput.TheinputcanbeheardviaOUTP1/M1and
#OUTP2/P3duetothedigitalsidetone.Audiofilesplayedonthecomputer
#canalsobeheardviathoseoutputs.
#
#HardwareresetcodecusingTAS1020B'sGPIOpinP3.5
igpio
w00003F
#Delayhastobeatleast6MCLKcycles~540ns
d1
w00007F
#
#I2Cinterface
ii2cstd
#
#reg03-Softwarereset
w800321
#
#reg01-ClearADCandDACoverflowflags.
r800101
#
#reg02-TurboMode
w8001A0
#
#reg04-Setclockdividervalues(4Aand4B).P=8,M=1,N=4.
w800420
w800481
#
#reg05-5B->DACPGA=–32dB,5C->InputBufferGain=24dB,
#DigitalSidetoneGain=–3dB.Defaultsusedfor5Aand5D.
w80054A
w800583
#
#reg06-MICINwithexternalcommonmode,OUTP2/P3driverson.
w80061C
#
#reg01-Continuousdatatransfermode,16bits.
w800141
TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-KUser'sGuide 28SLAU229B–October2007–RevisedAugust2008
SubmitDocumentationFeedback