实例介绍
【实例简介】
【实例截图】
【核心代码】
Table of Contents 1 Symbols, Marks, and Notations ..................................................................6 2 Overview.................................................................................................8 2.1 Features ............................................................................................... 9 2.1.1 DSP Functions.......................................................................................... 9 2.1.2 General Functions .................................................................................. 10 3 Block Diagram........................................................................................ 11 4 Pin Assignments ..................................................................................... 12 5 Pin Descriptions...................................................................................... 13 5.1 Pin Summary....................................................................................... 13 5.2 Device Pin States ................................................................................. 16 5.2.1 Device Pin States During and On Exiting Power-on Resets ........................... 16 5.2.2 Handling of Unused Pins.......................................................................... 18 6 Device Operations .................................................................................. 20 6.1 Host Controller Interface ....................................................................... 20 6.1.1 SPI ....................................................................................................... 21 6.1.2 I 2 C ....................................................................................................... 29 6.2 Device Startups and Power Management................................................. 30 6.2.1 LDO...................................................................................................... 30 6.2.2 Power Domains...................................................................................... 31 6.2.3 Starting Device ...................................................................................... 32 6.3 Embedded Microcontroller ..................................................................... 33 6.3.1 External Flash Memory Access ................................................................. 33 6.3.2 Selecting DSP Data With GPI Pin Strapping................................................ 34 6.3.3 Selecting GPO Pin Output ........................................................................ 34 6.3.4 I 2 C Interface.......................................................................................... 34 6.4 Digital Microphone Interface (PDM)......................................................... 35 7 Register Descriptions .............................................................................. 36 7.1 Register Overview ................................................................................ 36 7.2 Accessing Intermediate Registers ........................................................... 37 7.2.1 Burst Access Support to Intermediate Register Read/Write.......................... 37 7.2.2 Writing Intermediate Registers ................................................................ 37 7.2.3 Reading Intermediate Registers ............................................................... 37 7.3 Register Map ....................................................................................... 38 7.3.1 IF_REG (Interface of intermediate Register) .............................................. 38 7.3.2 A_REG (Clock, PLL etc) ........................................................................... 39 7.3.3 MA_REG (Digital volume Mixer etc.) ......................................................... 40 7.3.4 MB_REG (Digital audio etc.)..................................................................... 41 7.3.5 B_REG (B-DSP)...................................................................................... 42 7.3.6 C_REG (C-DSP)...................................................................................... 43 7.3.7 E_REG (E-DSP) ...................................................................................... 44 7.3.8 F_REG (F-DSP) ...................................................................................... 45 7.3.9 ANA_REG (Analog volume, Mixer, etc.) ..................................................... 46 7.3.10 CD_REG ................................................................................................ 47 7.4 IF_REG Details..................................................................................... 48 7.4.1 Intermediate Register Access................................................................... 48 7.4.2 Power Management................................................................................ 54 7.4.3 Reset.................................................................................................... 55 7.5 A_REG Details ..................................................................................... 56 7.5.1 DevID / VerID........................................................................................ 56 7.5.2 CLOCK .................................................................................................. 56 7.5.3 Digital Interface Pin Controls ................................................................... 58 7.5.4 GPIO (PA[0/1/2]) Pin Controls ................................................................. 62 7.5.5 PLL / Clock ............................................................................................ 66 7.5.6 Clock Settings ........................................................................................ 71 7.6 MA_REG Details ................................................................................... 74 YMU836 6MU836A21 5 7.6.1 Volume ................................................................................................. 74 7.6.2 SWAP ................................................................................................... 88 7.6.3 MIXER .................................................................................................. 90 7.7 E_REG Details...................................................................................... 97 7.7.1 Oversampling Filter(OSF) ........................................................................ 97 7.7.2 DC Blocking Filters ............................................................................... 100 7.7.3 PDM Interface...................................................................................... 102 7.8 ANA_REG Details ................................................................................107 7.8.1 Hardware ID........................................................................................ 107 7.8.2 Soft Reset ........................................................................................... 107 7.8.3 Power Management.............................................................................. 108 7.8.4 Mic Bias Controls.................................................................................. 114 7.8.5 Pin Function Controls ............................................................................ 115 7.8.6 VOLUME.............................................................................................. 116 7.8.7 ANALOG MIXER.................................................................................... 120 7.8.8 CHARGE PUMP..................................................................................... 121 7.9 CD_REG Details ..................................................................................122 7.9.1 Soft Reset ........................................................................................... 122 7.9.2 Power Management.............................................................................. 123 7.9.3 GPIO(GPIO[0/1/2/3]) Pin Controls.......................................................... 128 8 Electrical Characteristics ........................................................................ 133 8.1 Absolute Maximum Ratings...................................................................133 8.2 Recommended Operating Conditions......................................................134 8.3 Operating Current ...............................................................................135 8.4 DC Characteristics ...............................................................................136 8.5 AC Characteristics ...............................................................................137 8.5.1 Power-on rule, Input signal slope rule..................................................... 137 8.5.2 Input Clock (CLKI)................................................................................ 139 8.5.3 SPI Timing .......................................................................................... 140 8.5.4 I 2 C Interface Timing ............................................................................. 143 8.5.5 Digital Audio Interface Timing................................................................ 144 8.5.6 PCM Interface Timing ........................................................................... 148 8.5.7 Digital Microphone Interface Timing........................................................ 151 8.6 Analog Characteristic ...........................................................................152 8.6.1 Line Output Amplifier ............................................................................ 152 8.6.2 MIC Amplifiers #1 to #3 ....................................................................... 152 8.6.3 MIC Amplifiers #4 ................................................................................ 152 8.6.4 VREF .................................................................................................. 153 8.6.5 MIC Biases #1 to #3 ............................................................................ 153 8.6.6 ADC.................................................................................................... 153 8.6.7 DAC.................................................................................................... 153 8.6.8 LINEOUT1/LINEOUT2 Volume (LO[1/2]VOL_L/R)..................................... 153 8.6.9 MIC1/MIC2/MIC3/MIC4 Gain Settings (MC[1/2/3/4]VOL) .......................... 154 9 Package Dimensions ............................................................................. 155 10 Peripheral Circuit Example ..................................................................... 156 10.1 SPI Master Mode.................................................................................156 10.2 SPI Slave Mode...................................................................................157
好例子网口号:伸出你的我的手 — 分享!
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论