Freelance Electronics Components Distributor
Closed Dec 25th-26th
800-300-1968
We Stock Hard to Find Parts

TAS5518CPAG

Part # TAS5518CPAG
Description 8 CHANNEL DIGITAL AUDIO PWM PROCESSOR
Category IC
Availability In Stock
Qty 2
Qty Price
1 + $13.60858
Manufacturer Available Qty
Texas Instruments
  • Shipping Freelance Stock: 2
    Ships Immediately



Technical Document


DISCLAIMER: The information provided herein is solely for informational purposes. Customers must be aware of the suitability of this product for their application, and consider that variable factors such as Manufacturer, Product Category, Date Codes, Pictures and Descriptions may differ from available inventory.

3.4MasterClockandSerialDataRateControls
3.4.1PLLOperation
3.5BankControls
TAS5518C
8-ChannelDigitalAudioPWMProcessor
www.ti.com
SLES238ASEPTEMBER2008REVISEDJULY2009
connectedtotheTAS5518Coutputneedstogetreadyforthenexton-timeperiod.Themaximumpossible
modulationisthensetbythepowerstagerequirements.Thedefaultmodulationindexlimitsettingis
97.7%;however,somepowerstagesmayrequirealowermodulationlimit.Seetheapplicablepower
stagedatasheetfordetailsonsettingthemodulationindexlimit.Thedefaultsettingof97.7%canbe
changedinthemodulationindexregister(0x16).
TheTAS5518CfunctionsonlyasareceiveroftheMCLK(masterclock),SCLK(shiftclock),andLRCLK
(left/rightclock)signalsthatcontroltheflowofdataonthefourserialdatainterfaces.The13.5-MHz
externalcrystalallowstheTAS5518CtodetectMCLKandthedatarateautomatically.
TheMCLKfrequencycanbe64f
S
,128f
S
,196f
S
,256f
S
,384f
S
,512f
S
,or768f
S
.
TheTAS5518CoperateswiththeserialdatainterfacesignalsLRCLKandSCLKsynchronizedtoMCLK.
However,thephaserelationshipofthesesignalshasnoconstraint.TheTAS5518Cacceptsa64f
S
SCLK
rateanda1f
S
LRCLK.
IfthephaseofSCLKorLRCLKdriftsmorethan±10MCLKcyclessincethelastreset,theTAS5518C
sensesaclockerrorandresynchronizestheclocktiming.
Theclockandserialdatainterfacehaveseveralcontrolparameters:
MCLKratio(64f
S
,128f
S
,196f
S
,256f
S
,384f
S
,512f
S
,or768f
S
)I
2
Cparameter
Datarate(32,38,44.1,48,88.2,96,176.4,192kHz)I
2
Cparameter
AMmodeenable/disableI
2
Cparameter
DuringAMinterferenceavoidance,theclockcontrolcircuitryusesthreeotherconfigurationinputs:
TunedAMfrequency(forAMinterferenceavoidance)(550kHzto1750kHz)I
2
Cparameter
Frequencysetselect(1–4)I
2
Cparameter
SamplerateI
2
Cparameterorauto-detected
TheTAS5518Cusestwointernalclocksgeneratedbytwointernalphase-lockedloops(PLLs),thedigital
PLL(DPLL)andtheanalogPLL(APLL).TheAPLLprovidesthereferenceclockforthePWM.TheDPLL
providesthereferenceclockforthedigitalaudioprocessorandthecontrollogic.
ThemasterclockMCLKinputprovidestheinputreferenceclockfortheAPLL.Theexternal13.5-MHz
crystalprovidestheinputreferenceclockfortheDPLL.Thecrystalprovidesatimebasetosupporta
numberofoperations,includingthedetectionoftheMCLKratio,thedatarate,andclockerrorconditions.
Thecrystaltimebaseprovidesaconstantrateforallcontrolsandsignaltiming.
EvenifMCLKisnotpresent,theTAS5518CcanreceiveandstoreI
2
Ccommandsandprovidestatus.
TheTAS5518Cpermitstheusertospecifyandassignsample-rate-dependentparametersforbiquad,
loudness,DRC,andtoneinoneofthreebanksthatcanbemanuallyselectedorselectedautomatically
basedonthedatasamplingrate.EachbankcanbeenabledforoneormorespecificsampleratesviaI
2
C
bankcontrolregister0x40.Eachbanksetholdsthefollowingvalues:
Coefficientsforsevenbiquads(7×5=35coefficients)foreachoftheeightchannels(registers
0x51–0x88)
Coefficientsforoneloudnessbiquad(register0x95)
DRC1energyand(1energy)values(register0x98)
DRC1attack,(1attack),decay,(1decay)values(register0x9C)
DRC2energyand(1energy)values(register0x9D)
DRC2attack,(1attack),decay,(1decay)values(register0xA1)
SubmitDocumentationFeedbackTAS5518CControlsandStatus49
Not Recommended For New Designs
3.5.1ManualBankSelection
3.5.2AutomaticBankSelection
3.5.2.1CoefficientWriteOperationsWhileAutomaticBankSwitchIsEnabled
3.5.3BankSet
TAS5518C
8-ChannelDigitalAudioPWMProcessor
SLES238ASEPTEMBER2008REVISEDJULY2009
www.ti.com
Fivebassfilter-setselections(register0xDA)
Fivetreblefilter-setselections(register0xDC)
Thedefaultselectionforbankcontrolismanualbankwithbank1selected.Notethatifbankswitchingis
used,bank2andbank3mustbeprogrammedonpowerup,becausethedefaultvaluesareallzeroes.If
bankswitchingisusedandbank2andbank3arenotprogrammedcorrectly,thentheoutputofthe
TAS5518Ccouldbemutedwhenswitchingtothosebanks.
Thethreebank-selectionbitsofthebankcontrolregisterallowtheappropriatebanktobemanually
selected(000=bank1,001=bank2,010=bank3).Inthemanualmode,whenawriteoccurstothe
biquad,DRC,orloudnesscoefficients,thecurrentlyselectedbankisupdated.Ifaudiodataisstreamingto
theTAS5518Cduringamanualbankselection,theTAS5518Cfirstperformsamutesequence,then
performsthebankswitch,andfinallyrestoresthevolumeusinganunmutesequence.
Amutecommandinitiatedbythebank-switchmutesequenceoverridesanunmutecommandoravolume
command.Whileamuteisactive,thecommandedchannelsaremuted.Whenachannelisunmuted,the
volumelevelgoestothelastcommandedvolumesettingthathasbeenreceivedforthatchannel.
IfMCLKorSCLKisstopped,theTAS5518Cperformsabank-switchoperation.Iftheclocksstartuponce
themanualbank-switchcommandhasbeenreceived,thebank-switchoperationisperformedduringthe
5-ms,silent-startsequence.
Toenableautomaticbankselection,avalueof3iswrittenintothebank-selectionbitsofthebankcontrol
register.Banksareassociatedwithoneormoresampleratesbywritingvaluesintothebank1orbank2
data-rateselectionregisters.Theautomaticbankselectionisperformedwhenafrequencychangeis
detectedaccordingtothefollowingscheme:
1.Thesystemscansbank-1data-rateassociationstoseeifbank1isassignedforthatdatarate.
2.Ifbank1isassigned,thenthebank-1coefficientsareloaded.
3.Ifbank1isnotassigned,thesystemscansbank2toseeifbank2isassignedforthatdatarate.
4.Ifbank2isassigned,thebank-2coefficientsareloaded.
5.Ifbank2isnotassigned,thesystemloadsthebank-3coefficients.
Thedefaultisthatallfrequenciesareenabledforbank1.Thisdefaultisexpressedasavalueofall1sin
thebank-1auto-selectionbyteandall0sinthebank-2auto-selectionbyte.
Inautomaticmode,ifawriteoccurstothetone,EQ,DRC,orloudnesscoefficients,thebankthatis
writtentoisthecurrentbank.
Banksetisusedtoprovideasecurewaytoupdatethebankcoefficientsinboththemanualand
automaticswitchingmodeswithoutcausingabankswitchtooccur.Bank-setmodedoesnotalterthe
currentbankregistermapping.Itsimplyenablesanybankcoefficientstobeupdatedwhileinhibitingany
bankswitchesfromtakingplace.Inmanualmode,thisenablesthecoefficientstobesetwithoutswitching
banks.Inautomaticmode,thispreventsaclockerrorordata-ratechangefromcorruptingabank
coefficientwrite.
Toupdatethecoefficientsofabank,avalueof4,5,or6iswrittenintointhebank-selectionbitsofthe
bankcontrolregister.Thisenablesthetone,EQ,DRC,andloudnesscoefficientvaluesofbank1,2,or3,
respectively,tobeupdated.
Oncethecoefficientsofthebankhavebeenupdated,thebank-selectionbitsarethenreturnedtothe
desiredmanualorautomaticbank-selectionmode.
TAS5518CControlsandStatus 50SubmitDocumentationFeedback
Not Recommended For New Designs
3.5.4Bank-SwitchTimeline
3.5.5Bank-SwitchingExample1
3.5.6Bank-SwitchingExample2
TAS5518C
8-ChannelDigitalAudioPWMProcessor
www.ti.com
SLES238ASEPTEMBER2008REVISEDJULY2009
Afterabankswitchisinitiated(manualorautomatic),noI
2
CwritestotheTAS5518Cshouldoccurbefore
aminimumof186ms.Thisvalueisdeterminedbythevolumerampratesforaparticularsamplerate.
Problem:TheaudiounitcontainingaTAS5518Cneedstohandledifferentaudioformatswithdifferent
samplerates.Format#1requiresf
S
=32kHz,format#2requiresf
S
=44.1kHz,andformat#3requiresf
S
=48kHz.Thesample-rate-dependentparametersintheTAS5518Crequiredifferentcoefficientsanddata
dependingonthesamplerate.
Strategy:UsetheTAS5518Cbank-switchingfeaturetoallowformanagingandswitchingthreebanks
associatedwiththethreesamplerates,32kHz(bank1),44.1kHz(bank2),and48kHz(bank3).
Onepossiblealgorithmistogenerate,load,andautomaticallymanagebankswitchingforthisproblem:
1.Generatebank-relatedcoefficientsforsampleratesof32kHz,44.1kHz,and48kHz,andincludethe
sameinthemicroprocessor-basedTAS5518CI
2
Cfirmware.
2.OnTAS5518Cpoweruporreset,themicroprocessorrunsthefollowingTAS5518Cinitializationcode:
a.Updatebank1(write0x00048040toregister0x40).
b.Writebank-relatedI
2
Cregisterswithappropriatevaluesforbank1.
c.Writebank2(write0x00058040toregister0x40).
d.Loadbank-relatedI
2
Cregisterswithappropriatevaluesforbank2.
e.Writebank3(write0x00068040toregister0x40).
f.Loadbank-relatedI
2
Cregisterswithappropriatevaluesforbank3.
g.Selectautomaticbankswitching(write0x00038040toregister0x40).
3.Whentheaudiomediachanges,theTAS5518Cautomaticallydetectstheincomingsamplerateand
automaticallyswitchestotheappropriatebank.
Inthisexample,anysampleratesotherthan32kHzand44.1kHzusebank3.Ifothersampleratesare
used,thenthebanksmustbesetupdifferently.
Problem:TheaudiosystemusesallofthesampleratessupportedbytheTAS5518C.Howcanthe
automaticbankswitchingbesetuptohandlethissituation?
Strategy:UsetheTAS5518Cbank-switchingfeaturetoallowformanagingandswitchingthreebanks
associatedwithsampleratesasfollows:
Bank1:Coefficientsfor32kHz,38kHz,44.1kHz,and48kHz
Bank2:Coefficientsfor88.2kHzand96kHz
Bank3:Coefficientsfor176.4kHzand192kHz
Onepossiblealgorithmistogenerate,load,andautomaticallymanagebankswitchingforthisproblem:
1.Generatebank-relatedcoefficientsforsamplerates48kHz(bank1),96kHz(bank2),and192kHz
(bank3)andincludethesameinthemicroprocessor-basedTAS5518CI
2
Cfirmware.
2.OnTAS5518Cpoweruporreset,themicroprocessorrunsthefollowingTAS5518Cinitializationcode:
a.Updatebank1(write0x0004F00Ctoregister0x40).
b.Writebank-relatedI
2
Cregisterswithappropriatevaluesforbank1.
c.Writebank2(write0x0005F00Ctoregister0x40).
d.Loadbank-relatedI
2
Cregisterswithappropriatevaluesforbank2.
e.Writebank3(write0x0006F00Ctoregister0x40).
f.Loadbank-relatedI
2
Cregisterswithappropriatevaluesforbank3.
g.Selectautomaticbankswitching(write0x0003F00Ctoregister0x40).
3.Whentheaudiomediachanges,theTAS5518Cautomaticallydetectstheincomingsamplerateand
automaticallyswitchestotheappropriatebank.
SubmitDocumentationFeedbackTAS5518CControlsandStatus51
Not Recommended For New Designs
PREVIOUS1011121314151617181920212223NEXT