电子元器件应用-TLV320AIC3104 Programming Made Easy
ApplicationReport
SLAA403–February2009
TLV320AIC3104ProgrammingMadeEasy
DavidK.WilsonAudioConverterProducts
ABSTRACT
TheTLV320AIC3104(AIC3104)isaversatileaudiocodecwithmultiplefeatures.WhenfirstdesigningwiththeAIC3104,readingtheentiredatasheetandbecomingfamiliarwiththeentireregistersetcanbeadauntingtask.However,inmanycommonconfigurations,itispossibletogettheAIC3104upandrunningwhileonlywritingtoasfewas12registers.
Althoughnotintendedtoreplacethedatasheet,thisdocumentdetailsseveralcommonconfigurationsfortheAIC3104.Itgivesaconcisedescriptionofhowtosetupthecodecandgivesascriptexamplethatcanbeusedtoaccelerateyourdesign.
1ControllingtheAIC3104
AllfeaturesoftheAIC3104areaccessedbyprogrammableregisters.TheregisterscanbeprogrammedbyanexternalmicroprocessororDSPusingI2C protocol.Themasterclock(MCLK)isnotrequiredtoberunningwhileprogrammingtheAIC3104.Thefixed7-bitI2CaddressfortheAIC3104is0011000(0x30htowrite,0x31htoread).TheAIC3104supportsI2Cdataratesupto400kHz.
ItisgoodpracticetoperformahardwareresetafterinitialpoweruptoensurethatallregistersareintheirdefaultstatesandthattheAIC3104isreadytobeprogrammed.
2DeterminingSampleRateandMasterClock
Frequency
ThefirsttaskforanydesignusingtheAIC3104istodeterminethedesiredsamplerateandmasterclockfrequency.Withtheexceptionofregisterprogramming,allinternaltiming,includingthesamplerate,isultimatelyderivedfromanexternalmasterclock.Bydefault,theADCandDACsampleratesareMCLK/256.Forthecommonaudiosamplerates44.1kspsand48ksps,themostcommonMCLK
frequenciesare11.2896MHz(44.1ksps×256)and12.288MHz(48ksps×256).IfyouareusingoneofthesetwoMCLKfrequenciesandsamplerates,noregisterprogrammingisneededtosetthesamplerate.
Table1showstwocommonaudioMCLKfrequenciesandthesettingsrequiredtoobtaincommonsampleTable1.MCLKFrequenciesandSettings
I2CisatrademarkofKoninklijkePhilipsElectronicsNV.SLAA403–February2009
SubmitDocumentationFeedback
TLV320AIC3104ProgrammingMadeEasy
1
TLV320AIC3104 Programmin... 6页 2财富值 Parallel algorithms for ... 暂无...N4010A Programming Made ... 40页 2财富值 电子元器件应用-TLV320AIC... 6...
关键词:chemistry化学电子组态 1/2 相关文档推荐 电子元器件应用-TLV320AIC......TLV320AIC3104 Programmin... 6页 2财富值 upgrade_made_easy_v2 52页 免费...
mentoring_made_easy 40页 5财富值 College Success Made Eas... 7页 1财富值 WORD POWER MADE EASY 20页 免费 TLV320AIC3104 Programmin... 6页 2财富值 ...
电子元器件应用-Configuring I2S to Generate BCLK from Codec Devices & WCLK ...TLV320AIC32/33/31/3101/3104/3105/3106/3204/3254/DAC32 Devices and WCLK...
TLV320AIC3104 Programmin... 6页 2财富值 An interactive...电子元器件应用-TLV320AIC... 6页 免费喜欢...Logic programming semantics made easy We propose a...
WORD POWER MADE EASY 20页 免费 TLV320AIC3104 Programmin... 6页 2财富值...and code written in other programming languages (e.g., C++ or assembly)....
ECWA Made Easy 8页 免费 WORD POWER MADE EASY 20页 免费 TLV320AIC3104 Programmin...Functional Programming ? Function composition (point free) Saturday, Marc...
百度文库 专业资料 IT/计算机 计算机软件及应用上传文档支持以下设备:扫二维码下载...WORD POWER MADE EASY 20页 免费 TLV320AIC3104 Programmin... 6页 2财富值...
百度文库 专业资料 IT/计算机 计算机软件及应用上传文档支持以下设备:扫二维码下载...WORD POWER MADE EASY 20页 免费 TLV320AIC3104 Programmin... 6页 2财富值...
我要评论