DATASHEET 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE * Optimized and flexible power management * 48-pin LQFP and 48-pad QFN environmental package Description The STAC9204/9205 are high fidelity, 4-channel HD Audio CODECs that enable 2.0 Audio with simultaneous Real-Time Communication such as VoIP, conferencing, voice command and control, etc. Up to four digital microphones are supported, enabling high quality voice input for increased usability of voice applications. Software Support * SKPI (Kernel Processing Interface) * Enables plug-ins that can operate globally on all audio streams of the system * 12 band parametric equalizer SKPI plug-in Features * Constant, system-level effects tuned to optimize a particular platform can be combined with user-mode "presets" tailored for specific acoustical environments and applications * High performance SD technology * 103dB DAC SNR * System-level effects automatically disabled when external audio connections made * 90dB ADC SNR * Two stereo DACs and two stereo ADCs * Dynamics Processing SKPI plug-in * Supports 2.0 Audio with simultaneous Real-Time Communication (RTC) channel such as VoIP or separate stereo audio stream * Enables improved voice articulation * Compressor/limiter allows higher average noise level without resonances * Provides mono output for laptop sub-woofer Third Party Partners * 24-bit resolution with up to 192 KHz sample rates * Supports advanced chipsets with flexible 1.5 V to 3.3 V * * Dolby PC Entertainment Experience Logo Program signaling Digital microphone interface * Dolby Home TheaterTM (HT) * Dolby Sound RoomTM (SR) * Direct interface to up to four digital microphones * Dolby Technologies * Analog stereo microphone * Dolby HeadphoneTM, Dolby Virtual SpeakerTM * Microphone Boost 0, 10, 20, 30, 40dB * Dolby ProLogic IITM, Dolby ProLogic IIxTM * Five adjustable Vref outputs for microphone bias * * * * * STAC9204/9205 * Dolby Digital LiveTM (DDL) Universal JacksTM functionality for jack retasking S/PDIF In and Out Two-pin volume up/down control Digital PC Beep to all outputs +3.3 V, +4 V, +4.5 V and +5 V analog power supply options * Intel Audio StudioTM from Sonic Focus * Maxx PlayerTM from Waves * Microphone Beam Forming, Acoustic Echo Cancellation, and Noise Suppression from KnowlesTM Ports X DSP High Definition Interface Block Diagram SPDIF IDTTM 1 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Port A Port B Port C Port D Port E Port F SPDIF In/Out STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO TABLE OF CONTENTS 1. DESCRIPTION ......................................................................................................................... 13 1.1. Overview ......................................................................................................................................... 13 1.2. Block Diagram ................................................................................................................................. 14 1.3. Detailed Description ........................................................................................................................ 15 1.3.1. Low-voltage High Definition Audio Link Signaling ............................................................. 15 1.3.2. Digital Microphone Support ............................................................................................... 15 1.3.3. Volume/Digital Microphone/GPIO Selection ...................................................................... 20 1.3.4. VRefOut/GPIO Selection ................................................................................................... 20 1.3.5. SPDIF Input ....................................................................................................................... 20 1.3.6. SPDIF Output .................................................................................................................... 20 1.3.7. Mono Output ...................................................................................................................... 21 1.3.8. Universal JacksTM .............................................................................................................. 21 1.3.9. Power Management .......................................................................................................... 23 1.3.10. Analog PC-Beep .............................................................................................................. 23 1.3.11. Headphone Drivers .......................................................................................................... 23 1.3.12. Device IDs ....................................................................................................................... 24 2. CHARACTERISTICS ............................................................................................................... 25 2.1. Electrical Specifications ................................................................................................................... 25 2.1.1. Absolute Maximum Ratings ............................................................................................... 25 2.1.2. Recommended Operating Conditions ............................................................................... 25 2.2. 5.0 V, 4.5 V, 4.0 V and 3.3 V Analog Performance Characteristics........................................................26 2.3. Power Requirements ....................................................................................................................... 30 2.3.1. Digital Current Requirements ............................................................................................ 30 2.3.2. Analog Current Requirements .......................................................................................... 30 3. WIDGET INFORMATION AND SUPPORTED COMMAND VERBS ....................................... 31 3.1. Widget List STAC9204/9205 .......................................................................................................... 32 3.2. Pin Configuration Default Register Settings .................................................................................... 33 3.3. Widget Information .......................................................................................................................... 34 3.4. Supported Command Verbs and Responses .................................................................................. 35 3.4.1. Root Node (NID = 0x00) .................................................................................................... 35 3.4.2. AFG Node (NID = 0x01) .................................................................................................... 36 3.4.3. PortA Node (NID = 0x0A) .................................................................................................. 65 3.4.4. PortB Node (NID = 0x0B) .................................................................................................. 72 3.4.5. PortC Node (NID = 0x0C) .................................................................................................. 78 3.4.6. PortD Node (NID = 0x0D) .................................................................................................. 84 3.4.7. PortE Node (NID = 0x0E) .................................................................................................. 89 3.4.8. PortF Node (NID = 0x0F) ................................................................................................... 95 3.4.9. DAC0 Node (NID = 0x10) ................................................................................................ 101 3.4.10. DAC1 Node (NID = 0x11) .............................................................................................. 106 3.4.11. ADC0 Node (NID = 0x12) .............................................................................................. 110 3.4.12. ADC1 Node (NID = 0x13) .............................................................................................. 115 3.4.13. PortMonoOut Node (NID = 0x14) .................................................................................. 120 3.4.14. MonoOutMix Node (NID = 0x15) ................................................................................... 125 3.4.15. CD Node (NID = 0x16) .................................................................................................. 127 3.4.16. DigMic0 Node (NID = 0x17) ........................................................................................... 130 3.4.17. DigMic1 Node (NID = 0x18) ........................................................................................... 134 3.4.18. InPort0Mux Node (NID = 0x19) ..................................................................................... 137 3.4.19. InPort1Mux Node (NID = 0x1A) ..................................................................................... 141 3.4.20. InPort0Vol Node (NID = 0x1B) ...................................................................................... 146 3.4.21. InPort1Vol Node (NID = 0x1C) ...................................................................................... 149 3.4.22. ADC0Mux Node (NID = 0x1D) ....................................................................................... 151 3.4.23. ADC1Mux Node (NID = 0x1E) ....................................................................................... 156 IDTTM 2 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO 3.4.24. SPDIFOut Node (NID = 0x1F) ....................................................................................... 160 3.4.25. SPDIFIn Node (NID = 0x20) .......................................................................................... 165 3.4.26. DigOut Node (NID = 0x21) ............................................................................................ 174 3.4.27. DigIn Node (NID = 0x22) ............................................................................................... 178 3.4.28. PCBeep Node (NID = 0x23) .......................................................................................... 184 3.4.29. ExtVolume Node (NID = 0x24) ...................................................................................... 186 3.4.30. ModemVDW Node (NID = 0x25) ................................................................................... 190 4. ORDERING INFORMATION .................................................................................................. 194 5. PINOUTS ................................................................................................................................ 196 5.1. Pin Assignment ............................................................................................................................. 196 5.2. Pin Descriptions ............................................................................................................................ 196 6. DESIGN CONSIDERATIONS ................................................................................................ 199 6.1. External Components .................................................................................................................... 199 6.1.1. Decoupling Capacitor ...................................................................................................... 199 6.1.2. Other Required Components ........................................................................................... 199 6.2. PCB Layout Recommendations .................................................................................................... 200 6.2.1. Vista WLP Compliance Requirements ............................................................................. 200 7. PACKAGE OUTLINE AND PACKAGE DIMENSIONS ......................................................... 202 7.1. 48-Pad QFN Package .................................................................................................................. 202 7.2. 48-Pin LQFP Package .................................................................................................................. 203 8. SOLDER REFLOW PROFILE ............................................................................................... 204 8.1. Standard Reflow Profile Data ........................................................................................................ 204 8.2. Pb Free Process - Package Classification Reflow Temperatures ................................................ 205 9. REVISION HISTORY ............................................................................................................. 206 LIST OF FIGURES Figure 1. STAC9204/9205 / STAC9204D/9205D Block Diagram ................................................................. 13 Figure 2. System Diagram ............................................................................................................................ 14 Figure 3. Single Digital Microphone ............................................................................................................. 16 Figure 4. Stereo Digital Microphone Configuration ....................................................................................... 17 Figure 5. Quad Digital Microphone Configuration ......................................................................................... 18 Figure 6. STAC9204/9205 Widget Diagram .................................................................................................. 30 Figure 7. Solder Reflow Profile ................................................................................................................... 189 LIST OF TABLES Table 1. STAC9205 Valid Digital Microphone Configurations ...................................................................... 7 Table 2. DMIC_CLK, DMIC_0 and DMIC_1 Operation During Power States ................................................ 7 Table 3. Jack Detect ...................................................................................................................................... 13 Table 4. Impedance Sense ............................................................................................................................ 13 Table 5. Power Management ....................................................................................................................... 14 Table 6. Device IDs ....................................................................................................................................... 15 Table 7. Performance Characteristics .......................................................................................................... 17 Table 8. High Definition Audio Widget ........................................................................................................... 23 Table 9. Pin Widget Configuration Default Settings ....................................................................................... 24 Table 10. Command Format for Verb with 4-bit Identifier ............................................................................. 25 Table 11. Command Format for Verb with 12-bit Identifier ........................................................................... 25 IDTTM 3 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 12. Solicited Response Format ........................................................................................................... 25 Table 13. Unsolicited Response Format ....................................................................................................... 25 Table 14. Root PnpID Command Verb Format .............................................................................................. 26 Table 15. Root PnpID Command Response Format ..................................................................................... 26 Table 16. Root RevID Command Verb Format .............................................................................................. 26 Table 17. Root RevID Command Response Format ..................................................................................... 26 Table 18. Root NodeInfo Command Verb Format ......................................................................................... 27 Table 19. Root NodeInfo Command Response Format ................................................................................ 27 Table 20. AFG NodeInfo Command Verb Format ......................................................................................... 27 Table 21. AFG NodeInfo Command Response Format ................................................................................. 27 Table 22. AFG Type Command Verb Format ................................................................................................ 28 Table 23. AFG Type Command Response Format ....................................................................................... 28 Table 24. AFG GrpCap Command Verb Format ........................................................................................... 28 Table 25. AFG GrpCap Command Response Format ................................................................................... 28 Table 26. AFG FrmtCap Command Verb Format .......................................................................................... 29 Table 27. AFG FrmtCap Command Response Format ................................................................................. 29 Table 28. AFG StreamCap Command Verb Format ...................................................................................... 30 Table 29. AFG StreamCap Command Response Format ............................................................................. 30 Table 30. AFG InAmpCap Command Verb Format ....................................................................................... 30 Table 31. AFG InAmpCap Command Response Format .............................................................................. 31 Table 32. AFG PwrCap Command Verb Format ........................................................................................... 31 Table 33. AFG PwrCap Command Response Format .................................................................................. 31 Table 34. AFG GPIOCap Command Verb Format ........................................................................................ 32 Table 35. AFG GPIOCap Command Response Format ................................................................................ 32 Table 36. AFG OutAmpCap Command Verb Format .................................................................................... 33 Table 37. AFG OutAmpCap Command Response Format ........................................................................... 33 Table 38. AFG PwrState Command Verb Format ......................................................................................... 33 Table 39. AFG PwrState Command Response Format ................................................................................. 33 Table 40. AFG UnsolResp Command Verb Format ...................................................................................... 34 Table 41. AFG UnsolResp Command Response Format .............................................................................. 34 Table 42. AFG GPIO Command Verb Format ............................................................................................... 34 Table 43. AFG GPIO Command Response Format ...................................................................................... 35 Table 44. AFG GPIOEn Command Verb Format .......................................................................................... 35 Table 45. AFG GPIOEn Command Response Format .................................................................................. 36 Table 46. AFG GPIODir Command Verb Format .......................................................................................... 36 Table 47. AFG GPIODir Command Response Format .................................................................................. 36 Table 48. AFG GPIOWake Command Verb Format ...................................................................................... 37 Table 49. AFG GPIOWake Command Response Format ............................................................................. 37 Table 50. AFG GPIOUnsol Command Verb Format ...................................................................................... 38 Table 51. AFG GPIOUnsol Command Response Format ............................................................................. 38 Table 52. AFG GPIOSticky Command Verb Format ..................................................................................... 39 Table 53. AFG GPIOSticky Command Response Format ............................................................................. 39 Table 54. AFG SubID Command Verb Format .............................................................................................. 40 Table 55. AFG SubID Command Response Format ..................................................................................... 41 Table 56. AFG GPIOInvert Command Verb Format ...................................................................................... 41 Table 57. AFG GPIOInvert Command Response Format ............................................................................. 41 Table 58. AFG GPIODrive Command Verb Format ...................................................................................... 43 Table 59. AFG GPIODrive Command Response Format .............................................................................. 43 Table 60. AFG AnaCtrl Command Verb Format ............................................................................................ 43 Table 61. AFG AnaCtrl Command Response Format ................................................................................... 44 Table 62. AFG Supply Command Verb Format ............................................................................................. 44 Table 63. AFG Supply Command Response Format .................................................................................... 45 Table 64. AFG DMicCtrl Command Verb Format .......................................................................................... 46 Table 65. AFG DMicCtrl Command Response Format ................................................................................. 46 Table 66. AFG Reset Command Verb Format .............................................................................................. 46 IDTTM 4 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 67. AFG Reset Command Response Format ...................................................................................... 47 Table 68. PortA WCap Command Verb Format ............................................................................................ 47 Table 69. PortA WCap Command Response Format .................................................................................... 47 Table 70. PortA PinCap Command Verb Format .......................................................................................... 48 Table 71. PortA PinCap Command Response Format .................................................................................. 48 Table 72. PortA ConnLen Command Verb Format ........................................................................................ 49 Table 73. PortA ConnLen Command Response Format ............................................................................... 49 Table 74. PortA ConnLst Command Verb Format ......................................................................................... 49 Table 75. PortA ConnLst Command Response Format ................................................................................ 49 Table 76. PortA ConnSelect Command Verb Format .................................................................................... 50 Table 77. PortA ConnSelect Command Response Format ........................................................................... 50 Table 78. PortA PinCtl Command Verb Format ............................................................................................. 50 Table 79. PortA PinCtl Command Response Format .................................................................................... 50 Table 80. PortA UnsolResp Command Verb Format ..................................................................................... 51 Table 81. PortA UnsolResp Command Response Format ............................................................................ 51 Table 82. PortA PinSense Command Verb Format ....................................................................................... 52 Table 83. PortA PinSense Command Response Format .............................................................................. 52 Table 84. PortA PinConfig Command Verb Format ....................................................................................... 52 Table 85. PortA PinConfig Command Response Format .............................................................................. 53 Table 86. PortB WCap Command Verb Format ............................................................................................ 53 Table 87. PortB WCap Command Response Format .................................................................................... 53 Table 88. PortB PinCap Command Verb Format .......................................................................................... 54 Table 89. PortB PinCap Command Response Format .................................................................................. 54 Table 90. PortB ConnLen Command Verb Format ........................................................................................ 55 Table 91. PortB ConnLen Command Response Format ............................................................................... 55 Table 92. PortB ConnLst Command Verb Format ......................................................................................... 55 Table 93. PortB ConnLst Command Response Format ................................................................................ 56 Table 94. PortB ConnSelect Command Verb Format .................................................................................... 56 Table 95. PortB ConnSelect Command Response Format ........................................................................... 56 Table 96. PortB PinCtl Command Verb Format ............................................................................................. 56 Table 97. PortB PinCtl Command Response Format .................................................................................... 57 Table 98. PortB UnsolResp Command Verb Format ..................................................................................... 57 Table 99. PortB UnsolResp Command Response Format ............................................................................ 57 Table 100. PortB PinSense Command Verb Format ..................................................................................... 58 Table 101. PortB PinSense Command Response Format ............................................................................ 58 Table 102. PortB PinConfig Command Verb Format ..................................................................................... 58 Table 103. PortB PinConfig Command Response Format ............................................................................ 59 Table 104. PortC WCap Command Verb Format .......................................................................................... 59 Table 105. PortC WCap Command Response Format ................................................................................. 59 Table 106. PortC PinCap Command Verb Format ........................................................................................ 60 Table 107. PortC PinCap Command Response Format ................................................................................ 60 Table 108. PortC ConnLen Command Verb Format ..................................................................................... 61 Table 109. PortC ConnLen Command Response Format ............................................................................. 61 Table 110. PortC ConnLst Command Verb Format ....................................................................................... 62 Table 111. PortC ConnLst Command Response Format .............................................................................. 62 Table 112. PortC PinCtl Command Verb Format .......................................................................................... 62 Table 113. PortC PinCtl Command Response Format .................................................................................. 62 Table 114. PortC UnsolResp Command Verb Format .................................................................................. 63 Table 115. PortC UnsolResp Command Response Format .......................................................................... 63 Table 116. PortC PinSense Command Verb Format ..................................................................................... 64 Table 117. PortC PinSense Command Response Format ............................................................................ 64 Table 118. PortC PinConfig Command Verb Format .................................................................................... 64 Table 119. PortC PinConfig Command Response Format ............................................................................ 65 Table 120. PortD WCap Command Verb Format .......................................................................................... 65 Table 121. PortD WCap Command Response Format ................................................................................. 65 IDTTM 5 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 122. PortD PinCap Command Verb Format ........................................................................................ 66 Table 123. PortD PinCap Command Response Format ................................................................................ 66 Table 124. PortD ConnLen Command Verb Format ..................................................................................... 67 Table 125. PortD ConnLen Command Response Format ............................................................................. 67 Table 126. PortD ConnLst Command Verb Format ....................................................................................... 67 Table 127. PortD ConnLst Command Response Format .............................................................................. 68 Table 128. PortD PinCtl Command Verb Format .......................................................................................... 68 Table 129. PortD PinCtl Command Response Format .................................................................................. 68 Table 130. PortD UnsolResp Command Verb Format .................................................................................. 68 Table 131. PortD UnsolResp Command Response Format .......................................................................... 69 Table 132. PortD PinSense Command Verb Format ..................................................................................... 69 Table 133. PortD PinSense Command Response Format ............................................................................ 69 Table 134. PortD PinConfig Command Verb Format .................................................................................... 70 Table 135. PortD PinConfig Command Response Format ............................................................................ 70 Table 136. PortE WCap Command Verb Format .......................................................................................... 71 Table 137. PortE WCap Command Response Format .................................................................................. 71 Table 138. PortE PinCap Command Verb Format ........................................................................................ 72 Table 139. PortE PinCap Command Response Format ................................................................................ 72 Table 140. PortE ConnLen Command Verb Format ...................................................................................... 72 Table 141. PortE ConnLen Command Response Format ............................................................................. 73 Table 142. PortE ConnLst Command Verb Format ....................................................................................... 73 Table 143. PortE ConnLst Command Response Format .............................................................................. 73 Table 144. PortE PinCtl Command Verb Format ........................................................................................... 73 Table 145. PortE PinCtl Command Response Format .................................................................................. 73 Table 146. PortE UnsolResp Command Verb Format ................................................................................... 74 Table 147. PortE UnsolResp Command Response Format .......................................................................... 74 Table 148. PortE PinSense Command Verb Format ..................................................................................... 75 Table 149. PortE PinSense Command Response Format ............................................................................ 75 Table 150. PortE PinConfig Command Verb Format ..................................................................................... 75 Table 151. PortE PinConfig Command Response Format ............................................................................ 76 Table 152. PortF WCap Command Verb Format .......................................................................................... 76 Table 153. PortF WCap Command Response Format .................................................................................. 76 Table 154. PortF PinCap Command Verb Format ......................................................................................... 77 Table 155. PortF PinCap Command Response Format ................................................................................ 77 Table 156. PortF ConnLen Command Verb Format ...................................................................................... 78 Table 157. PortF ConnLen Command Response Format ............................................................................. 78 Table 158. PortF ConnLst Command Verb Format ....................................................................................... 79 Table 159. PortF ConnLst Command Response Format .............................................................................. 79 Table 160. PortF PinCtl Command Verb Format ........................................................................................... 79 Table 161. PortF PinCtl Command Response Format .................................................................................. 79 Table 162. PortF UnsolResp Command Verb Format ................................................................................... 80 Table 163. PortF UnsolResp Command Response Format .......................................................................... 80 Table 164. PortF PinSense Command Verb Format ..................................................................................... 81 Table 165. PortF PinSense Command Response Format ............................................................................ 81 Table 166. PortF PinConfig Command Verb Format ..................................................................................... 81 Table 167. PortF PinConfig Command Response Format ............................................................................ 82 Table 168. DAC0 CnvtrFrmt Command Verb Format .................................................................................... 82 Table 169. DAC0 CnvtrFrmt Command Response Format ........................................................................... 82 Table 170. DAC0 OutAmpRight Command Verb Format .............................................................................. 83 Table 171. DAC0 OutAmpRight Command Response Format ..................................................................... 84 Table 172. DAC0 OutAmpLeft Command Verb Format ................................................................................ 84 Table 173. DAC0 OutAmpLeft Command Response Format ........................................................................ 84 Table 174. DAC0 WCap Command Verb Format .......................................................................................... 84 Table 175. DAC0 WCap Command Response Format ................................................................................. 84 Table 176. DAC0 PwrState Command Verb Format ..................................................................................... 85 IDTTM 6 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 177. DAC0 PwrState Command Response Format ............................................................................ 85 Table 178. DAC0 CnvtrID Command Verb Format ....................................................................................... 86 Table 179. DAC0 CnvtrID Command Response Format ............................................................................... 86 Table 180. DAC0 LR Command Verb Format ............................................................................................... 86 Table 181. DAC0 LR Command Response Format ...................................................................................... 87 Table 182. DAC1 CnvtrFrmt Command Verb Format .................................................................................... 87 Table 183. DAC1 CnvtrFrmt Command Response Format ........................................................................... 87 Table 184. DAC1 OutAmpRight Command Verb Format .............................................................................. 88 Table 185. DAC1 OutAmpRight Command Response Format ..................................................................... 88 Table 186. DAC1 OutAmpLeft Command Verb Format ................................................................................ 89 Table 187. DAC1 OutAmpLeft Command Response Format ........................................................................ 89 Table 188. DAC1 WCap Command Verb Format .......................................................................................... 89 Table 189. DAC1 WCap Command Response Format ................................................................................. 89 Table 190. DAC1 PwrState Command Verb Format ..................................................................................... 90 Table 191. DAC1 PwrState Command Response Format ............................................................................ 90 Table 192. DAC1 CnvtrID Command Verb Format ....................................................................................... 91 Table 193. DAC1 CnvtrID Command Response Format ............................................................................... 91 Table 194. DAC1 LR Command Verb Format ............................................................................................... 91 Table 195. DAC1 LR Command Response Format ...................................................................................... 91 Table 196. ADC0 CnvtrFrmt Command Verb Format .................................................................................... 92 Table 197. ADC0 CnvtrFrmt Command Response Format ........................................................................... 92 Table 198. ADC0 WCap Command Verb Format .......................................................................................... 93 Table 199. ADC0 WCap Command Response Format ................................................................................. 93 Table 200. ADC0 ConnLen Command Verb Format ..................................................................................... 94 Table 201. ADC0 ConnLen Command Response Format ............................................................................ 94 Table 202. ADC0 ConnLst Command Verb Format ...................................................................................... 94 Table 203. ADC0 ConnLst Command Response Format .............................................................................. 95 Table 204. ADC0 ProcState Command Verb Format .................................................................................... 95 Table 205. ADC0 ProcState Command Response Format ........................................................................... 95 Table 206. ADC0 PwrState Command Verb Format ..................................................................................... 95 Table 207. ADC0 PwrState Command Response Format ............................................................................ 96 Table 208. ADC0 CnvtrID Command Verb Format ....................................................................................... 96 Table 209. ADC0 CnvtrID Command Response Format ............................................................................... 96 Table 210. ADC1 CnvtrFrmt Command Verb Format .................................................................................... 97 Table 211. ADC1 CnvtrFrmt Command Response Format ........................................................................... 97 Table 212. ADC1 WCap Command Verb Format .......................................................................................... 98 Table 213. ADC1 WCap Command Response Format ................................................................................. 98 Table 214. ADC1 ConnLen Command Verb Format ..................................................................................... 99 Table 215. ADC1 ConnLen Command Response Format ............................................................................ 99 Table 216. ADC1 ConnLst Command Verb Format ...................................................................................... 99 Table 217. ADC1 ConnLst Command Response Format ............................................................................ 100 Table 218. ADC1 ProcState Command Verb Format .................................................................................. 100 Table 219. ADC1 ProcState Command Response Format ......................................................................... 100 Table 220. ADC1 PwrState Command Verb Format ................................................................................... 100 Table 221. ADC1 PwrState Command Response Format .......................................................................... 101 Table 222. ADC1 CnvtrID Command Verb Format ..................................................................................... 101 Table 223. ADC1 CnvtrID Command Response Format ............................................................................. 101 Table 224. PortMonoOut Vol Command Verb Format ................................................................................. 102 Table 225. PortMonoOut Vol Command Response Format ........................................................................ 102 Table 226. PortMonoOut WCap Command Verb Format ............................................................................ 102 Table 227. PortMonoOut WCap Command Response Format ................................................................... 102 Table 228. PortMonoOut PinCap Command Verb Format .......................................................................... 103 Table 229. PortMonoOut PinCap Command Response Format ................................................................. 103 Table 230. PortMonoOut OutAmpCap Command Verb Format .................................................................. 104 Table 231. PortMonoOut OutAmpCap Command Response Format ......................................................... 104 IDTTM 7 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 232. PortMonoOut ConnLen Command Verb Format ....................................................................... 104 Table 233. PortMonoOut ConnLen Command Response Format ............................................................... 105 Table 234. PortMonoOut ConnLst Command Verb Format ........................................................................ 105 Table 235. PortMonoOut ConnLst Command Response Format ................................................................ 105 Table 236. PortMonoOut PinCtl Command Verb Format ............................................................................ 105 Table 237. PortMonoOut PinCtl Command Response Format .................................................................... 105 Table 238. PortMonoOut PinConfig Command Verb Format ...................................................................... 106 Table 239. PortMonoOut PinConfig Command Response Format .............................................................. 106 Table 240. MonoOutMix WCap Command Verb Format ............................................................................. 107 Table 241. MonoOutMix WCap Command Response Format .................................................................... 107 Table 242. MonoOutMix ConnLen Command Verb Format ........................................................................ 108 Table 243. MonoOutMix ConnLen Command Response Format ................................................................ 108 Table 244. MonoOutMix ConnLst Command Verb Format ......................................................................... 108 Table 245. MonoOutMix ConnLst Command Response Format ................................................................. 108 Table 246. CD WCap Command Verb Format ............................................................................................ 108 Table 247. CD WCap Command Response Format ................................................................................... 109 Table 248. CD PinCap Command Verb Format .......................................................................................... 109 Table 249. CD PinCap Command Response Format .................................................................................. 110 Table 250. CD PinCtl Command Verb Format ............................................................................................ 110 Table 251. CD PinCtl Command Response Format .................................................................................... 110 Table 252. CD PinConfig Command Verb Format ...................................................................................... 111 Table 253. CD PinConfig Command Response Format .............................................................................. 111 Table 254. DigMic0 WCap Command Verb Format .................................................................................... 112 Table 255. DigMic0 WCap Command Response Format ............................................................................ 112 Table 256. DigMic0 PinCap Command Verb Format .................................................................................. 113 Table 257. DigMic0 PinCap Command Response Format .......................................................................... 113 Table 258. DigMic0 PinCtl Command Verb Format ..................................................................................... 114 Table 259. DigMic0 PinCtl Command Response Format ............................................................................ 114 Table 260. DigMic0 PinConfig Command Verb Format ............................................................................... 114 Table 261. DigMic0 PinConfig Command Response Format ...................................................................... 114 Table 262. DigMic1 WCap Command Verb Format .................................................................................... 115 Table 263. DigMic1 WCap Command Response Format ............................................................................ 115 Table 264. DigMic1 PinCap Command Verb Format .................................................................................. 116 Table 265. DigMic1 PinCap Command Response Format .......................................................................... 116 Table 266. DigMic1 PinCtl Command Verb Format ..................................................................................... 117 Table 267. DigMic1 PinCtl Command Response Format ............................................................................ 117 Table 268. DigMic1 PinConfig Command Verb Format ............................................................................... 117 Table 269. DigMic1 PinConfig Command Response Format ...................................................................... 118 Table 270. InPort0Mux WCap Command Verb Format ............................................................................... 118 Table 271. InPort0Mux WCap Command Response Format ...................................................................... 118 Table 272. InPort0Mux OutAmpCap Command Verb Format ..................................................................... 119 Table 273. InPort0Mux OutAmpCap Command Response Format ............................................................ 119 Table 274. InPort0Mux OutAmpRight Command Verb Format ................................................................... 120 Table 275. InPort0Mux OutAmpRight Command Response Format ........................................................... 120 Table 276. InPort0Mux OutAmpLeft Command Verb Format ...................................................................... 120 Table 277. InPort0Mux OutAmpLeft Command Response Format ............................................................. 121 Table 278. InPort0Mux ConnSelect Command Verb Format ...................................................................... 121 Table 279. InPort0Mux ConnSelect Command Response Format .............................................................. 121 Table 280. InPort0Mux ConnLen Command Verb Format .......................................................................... 121 Table 281. InPort0Mux ConnLen Command Response Format .................................................................. 121 Table 282. InPort0Mux ConnLst Command Verb Format ........................................................................... 122 Table 283. InPort0Mux ConnLst Command Response Format ................................................................... 122 Table 284. InPort0Mux ConnLst4 Command Verb Format ......................................................................... 122 Table 285. InPort0Mux ConnLst4 Command Response Format ................................................................. 122 Table 286. InPort1Mux WCap Command Verb Format ............................................................................... 122 IDTTM 8 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 287. InPort1Mux WCap Command Response Format ...................................................................... 123 Table 288. InPort1Mux OutAmpCap Command Verb Format ..................................................................... 123 Table 289. InPort1Mux OutAmpCap Command Response Format ............................................................ 124 Table 290. InPort1Mux OutAmpRight Command Verb Format ................................................................... 124 Table 291. InPort1Mux OutAmpRight Command Response Format ........................................................... 124 Table 292. InPort1Mux OutAmpLeft Command Verb Format ...................................................................... 125 Table 293. InPort1Mux OutAmpLeft Command Response Format ............................................................. 125 Table 294. InPort1Mux ConnSelect Command Verb Format ...................................................................... 125 Table 295. InPort1Mux ConnSelect Command Response Format .............................................................. 125 Table 296. InPort1Mux ConnLen Command Verb Format .......................................................................... 125 Table 297. InPort1Mux ConnLen Command Response Format .................................................................. 126 Table 298. InPort1Mux ConnLst Command Verb Format ........................................................................... 126 Table 299. InPort1Mux ConnLst Command Response Format ................................................................... 126 Table 300. InPort1Mux ConnLst4 Command Verb Format ......................................................................... 126 Table 301. InPort1Mux ConnLst4 Command Response Format ................................................................. 126 Table 302. InPort0Vol WCap Command Verb Format ................................................................................ 127 Table 303. InPort0Vol WCap Command Response Format ........................................................................ 127 Table 304. InPort0Vol InAmpRight Command Verb Format ........................................................................ 128 Table 305. InPort0Vol InAmpRight Command Response Format ............................................................... 128 Table 306. InPort0Vol InAmpLeft Command Verb Format .......................................................................... 128 Table 307. InPort0Vol InAmpLeft Command Response Format ................................................................. 128 Table 308. InPort0Vol ConnLen Command Verb Format ............................................................................ 129 Table 309. InPort0Vol ConnLen Command Response Format ................................................................... 129 Table 310. InPort0Vol ConnLst Command Verb Format ............................................................................. 129 Table 311. InPort0Vol ConnLst Command Response Format .................................................................... 129 Table 312. InPort1Vol WCap Command Verb Format ................................................................................ 130 Table 313. InPort1Vol WCap Command Response Format ........................................................................ 130 Table 314. InPort1Vol InAmpRight Command Verb Format ........................................................................ 131 Table 315. InPort1Vol InAmpRight Command Response Format ............................................................... 131 Table 316. InPort1Vol InAmpLeft Command Verb Format .......................................................................... 131 Table 317. InPort1Vol InAmpLeft Command Response Format ................................................................. 131 Table 318. InPort1Vol ConnLen Command Verb Format ............................................................................ 131 Table 319. InPort1Vol ConnLen Command Response Format ................................................................... 132 Table 320. InPort1Vol ConnLst Command Verb Format ............................................................................. 132 Table 321. InPort1Vol ConnLst Command Response Format .................................................................... 132 Table 322. ADC0Mux WCap Command Verb Format ................................................................................. 132 Table 323. ADC0Mux WCap Command Response Format ........................................................................ 132 Table 324. ADC0Mux ConnSelect Command Verb Format ........................................................................ 133 Table 325. ADC0Mux ConnSelect Command Response Format ................................................................ 134 Table 326. ADC0Mux ConnLen Command Verb Format ............................................................................ 134 Table 327. ADC0Mux ConnLen Command Response Format .................................................................... 134 Table 328. ADC0Mux ConnLst Command Verb Format ............................................................................. 134 Table 329. ADC0Mux ConnLst Command Response Format ..................................................................... 134 Table 330. ADC0Mux LR Command Verb Format ...................................................................................... 135 Table 331. ADC0Mux LR Command Response Format .............................................................................. 135 Table 332. ADC0Mux OutAmpCap Command Verb Format ....................................................................... 135 Table 333. ADC0Mux OutAmpCap Command Response Format .............................................................. 135 Table 334. ADC0Mux OutAmpRight Command Verb Format ..................................................................... 136 Table 335. ADC0Mux OutAmpRight Command Response Format ............................................................. 136 Table 336. ADC0Mux OutAmpLeft Command Verb Format ........................................................................ 136 Table 337. ADC0Mux OutAmpLeft Command Response Format ............................................................... 136 Table 338. ADC1Mux WCap Command Verb Format ................................................................................. 137 Table 339. ADC1Mux WCap Command Response Format ........................................................................ 137 Table 340. ADC1Mux ConnSelect Command Verb Format ........................................................................ 138 Table 341. ADC1Mux ConnSelect Command Response Format ................................................................ 138 IDTTM 9 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 342. ADC1Mux ConnLen Command Verb Format ............................................................................ 138 Table 343. ADC1Mux ConnLen Command Response Format .................................................................... 138 Table 344. ADC1Mux ConnLst Command Verb Format ............................................................................. 139 Table 345. ADC1Mux ConnLst Command Response Format ..................................................................... 139 Table 346. ADC1Mux LR Command Verb Format ...................................................................................... 139 Table 347. ADC1Mux LR Command Response Format .............................................................................. 140 Table 348. ADC1Mux OutAmpCap Command Verb Format ....................................................................... 140 Table 349. ADC1Mux OutAmpCap Command Response Format .............................................................. 140 Table 350. ADC1Mux OutAmpRight Command Verb Format ..................................................................... 140 Table 351. ADC1Mux OutAmpRight Command Response Format ............................................................. 141 Table 352. ADC1Mux OutAmpLeft Command Verb Format ........................................................................ 141 Table 353. ADC1Mux OutAmpLeft Command Response Format ............................................................... 141 Table 354. SPDIFOut CnvtrFrmt Command Verb Format ........................................................................... 141 Table 355. SPDIFOut CnvtrFrmt Command Response Format .................................................................. 142 Table 356. SPDIFOut WCap Command Verb Format ................................................................................. 143 Table 357. SPDIFOut WCap Command Response Format ........................................................................ 143 Table 358. SPDIFOut FrmtCap Command Verb Format ............................................................................. 144 Table 359. SPDIFOut FrmtCap Command Response Format .................................................................... 144 Table 360. SPDIFOut StreamCap Command Verb Format ......................................................................... 145 Table 361. SPDIFOut StreamCap Command Response Format ................................................................ 145 Table 362. SPDIFOut CnvtrID Command Verb Format ............................................................................... 145 Table 363. SPDIFOut CnvtrID Command Response Format ...................................................................... 145 Table 364. SPDIFOut DigCtl Command Verb Format ................................................................................. 146 Table 365. SPDIFOut DigCtl Command Response Format ........................................................................ 146 Table 366. SPDIFIn CnvtrFrmt Command Verb Format .............................................................................. 146 Table 367. SPDIFIn CnvtrFrmt Command Response Format ..................................................................... 147 Table 368. SPDIFIn WCap Command Verb Format .................................................................................... 148 Table 369. SPDIFIn WCap Command Response Format ........................................................................... 148 Table 370. SPDIFIn FrmtCap Command Verb Format ................................................................................ 149 Table 371. SPDIFIn FrmtCap Command Response Format ....................................................................... 149 Table 372. SPDIFIn StreamCap Command Verb Format ........................................................................... 150 Table 373. SPDIFIn StreamCap Command Response Format ................................................................... 150 Table 374. SPDIFIn ConnLen Command Verb Format ............................................................................... 150 Table 375. SPDIFIn ConnLen Command Response Format ...................................................................... 150 Table 376. SPDIFIn ConnLst Command Verb Format ................................................................................ 150 Table 377. SPDIFIn ConnLst Command Response Format ........................................................................ 151 Table 378. SPDIFIn CnvtrID Command Verb Format ................................................................................. 151 Table 379. SPDIFIn CnvtrID Command Response Format ......................................................................... 151 Table 380. SPDIFIn DigCtl Command Verb Format .................................................................................... 151 Table 381. SPDIFIn DigCtl Command Response Format ........................................................................... 152 Table 382. SPDIFIn VSR Command Verb Format ...................................................................................... 152 Table 383. SPDIFIn VSR Command Response Format .............................................................................. 152 Table 384. DigOut WCap Command Verb Format ...................................................................................... 155 Table 385. DigOut WCap Command Response Format ............................................................................. 155 Table 386. DigOut PinCap Command Verb Format .................................................................................... 156 Table 387. DigOut PinCap Command Response Format ............................................................................ 156 Table 388. DigOut ConnSelect Command Verb Format ............................................................................. 156 Table 389. DigOut ConnSelect Command Response Format ..................................................................... 157 Table 390. DigOut ConnLen Command Verb Format ................................................................................. 157 Table 391. DigOut ConnLen Command Response Format ......................................................................... 157 Table 392. DigOut ConnLst Command Verb Format ................................................................................... 157 Table 393. DigOut ConnLst Command Response Format .......................................................................... 157 Table 394. DigOut PinCtl Command Verb Format ...................................................................................... 158 Table 395. DigOut PinCtl Command Response Format .............................................................................. 158 Table 396. DigOut PinConfig Command Verb Format ................................................................................ 158 IDTTM 10 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 397. DigOut PinConfig Command Response Format ........................................................................ 158 Table 398. DigIn WCap Command Verb Format ......................................................................................... 159 Table 399. DigIn WCap Command Response Format ................................................................................ 159 Table 400. DigIn PinCap Command Verb Format ....................................................................................... 160 Table 401. DigIn PinCap Command Response Format .............................................................................. 160 Table 402. DigIn PwrState Command Verb Format .................................................................................... 161 Table 403. DigIn PwrState Command Response Format ............................................................................ 161 Table 404. DigIn PinCtl Command Verb Format ......................................................................................... 161 Table 405. DigIn PinCtl Command Response Format ................................................................................. 162 Table 406. DigIn UnsolResp Command Verb Format ................................................................................. 162 Table 407. DigIn UnsolResp Command Response Format ......................................................................... 162 Table 408. DigIn PinSense Command Verb Format ................................................................................... 162 Table 409. DigIn PinSense Command Response Format ........................................................................... 163 Table 410. DigIn EAPD Command Verb Format ......................................................................................... 163 Table 411. DigIn EAPD Command Response Format ................................................................................ 163 Table 412. DigIn PinConfig Command Verb Format ................................................................................... 164 Table 413. DigIn PinConfig Command Response Format ........................................................................... 164 Table 414. PCBeep WCap Command Verb Format .................................................................................... 165 Table 415. PCBeep WCap Command Response Format ........................................................................... 165 Table 416. PCBeep OutAmpCap Command Verb Format .......................................................................... 165 Table 417. PCBeep OutAmpCap Command Response Format ................................................................. 165 Table 418. PCBeep Vol Command Verb Format ......................................................................................... 166 Table 419. PCBeep Vol Command Response Format ................................................................................ 166 Table 420. PCBeep Gen Command Verb Format ....................................................................................... 166 Table 421. PCBeep Gen Command Response Format .............................................................................. 167 Table 422. ExtVolume WCap Command Verb Format ................................................................................ 167 Table 423. ExtVolume WCap Command Response Format ....................................................................... 167 Table 424. ExtVolume KnobCap Command Verb Format ........................................................................... 168 Table 425. ExtVolume KnobCap Command Response Format .................................................................. 168 Table 426. ExtVolume ConnLen Command Verb Format ........................................................................... 168 Table 427. ExtVolume ConnLen Command Response Format ................................................................... 168 Table 428. ExtVolume ConnLst Command Verb Format ............................................................................ 168 Table 429. ExtVolume ConnLst Command Response Format .................................................................... 169 Table 430. ExtVolume UnsolResp Command Verb Format ........................................................................ 169 Table 431. ExtVolume UnsolResp Command Response Format ................................................................ 169 Table 432. ExtVolume KnobCtl Command Verb Format ............................................................................. 170 Table 433. ExtVolume KnobCtl Command Response Format .................................................................... 170 Table 434. ExtVolume KnobVSR Command Verb Format .......................................................................... 170 Table 435. ExtVolume KnobVSR Command Response Format ................................................................. 170 IDTTM 11 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO 1. DESCRIPTION 1.1. Overview The STAC9204/9205 are high fidelity, 4-channel HD Audio CODECs that enable 2.0 Audio with simultaneous real-time communication such as VoIP, conferencing, voice command and control, etc. Up to four digital microphones are supported enabling high quality voice input for increased usability of voice applications. The STAC9204/9205 incorporate IDT's proprietary SD technology to achieve a DAC SNR in excess of 100dB. The higher performance and quality of IDT's audio solutions brings consumer electronics level performance to the notebook, desktop and media center PC. The STAC9204/9205 provide stereo, 24-bit, full duplex resolution, supporting sample rates up to 192 KHz by the DAC and ADC. The STAC9204/9205 SPDIF In/Out supports sample rates of 96 KHz, 48 KHz and 44.1 KHz plus SPDIF OUT supports 88.2 KHz and 192 KHz. Additional sample rates are supported by the driver software. The STAC9204/9205 support all desired four channel configurations, including switchable Headphone (HP) Out and Universal JacksTM functionality for jack detection and re-tasking. The SPDIF interface provides connectivity to consumer electronic equipment like Dolby Digital decoders, powered speakers and mini-disk drives, or to a home entertainment system. All analog I/O pairs support LINE_IN, LINE_OUT and MIC. (Port D only supports fixed-function microphone.) MIC inputs can be programmed with 0/10/20/30/40dB boost. For more advanced configurations, the STAC9204/9205 have five General Purpose I/O (GPIO) pins. The STAC9204/9205 also provide single ended CD input for compatibility with DRM solutions and to support legacy OS issues. The STAC9204/9205 integrate two headphone amplifiers which are available on Ports A and D. The headphone amplifiers are dedicated to these two outputs for increased flexibility, enhanced user experience, and reduced implementation costs. The Universal Jack capabilities allow the CODECs to detect when audio devices are connected, and allow the CODECs to be reconfigured to support these devices regardless of which port they are connected to. SPDIF input sensing is also supported. The fully parametric IDT SoftEQ can be initiated upon headphone jack insertion and removal for protection of notebook speakers. The STAC9204/9205 operate with a 3.3 V digital supply and either 3.3 V, 4 V, 4.5 V or 5 V analog supply. They also support 1.5 V and 3.3 V HDA signaling; the correct voltage is selected dynamically based on the value of the appropriate pin. The STAC9204/9205 are available in a 48-pin LQFP or a 48-pad QFN Environmental (ROHS) package. IDTTM 12 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 Stream & Channel Select Stream & Channel Select Stream & Channel Select Stream & Channel Select Stream & Channel Select vol ADC0 ADC1 1ti b SPDIF Receiver XU M STEREO ADC0 STEREO ADC1 Digital Mute vol SPDIF IN Pin 47 Digital Mute XU M Stream& Channel Select DMIC_0 DMIC_1 DMIC_1 DMIC_0 DAC 1 Digital PC Beep DAC 0 Pin 12 X or nd Ve ecific Sp mute +0 to +22.5 dB In 1.5 dB steps mute Gain +0/+10/+20/ +30/+40 dB +0/+10/+20/ +30/+40 dB vol Boost +0 to +22.5 dB In 1.5 dB steps vol Mic Pass Forward X If the mixer switches on all connections at once, Digital PC Beep overrides. Digital PC Beep SPDIF Pin 48 Analog Mixer Analog PC Beep PCM to SPDIF OUT A B C D E F CD DMIC_0 HP HP A B C D E F CD vol CD DMIC_1 et u M C1A, C2A Pin 45/46 XU M Mic Bias Mic Bias Mic Bias Mic Bias Mic Bias Pin Complex Pins 21/22 Pin Complex Pins 23/24 Pin Complex Pins 45/46 Pin Complex Pins 16/17 PORT B PORT C PORT E PORT F No Bias Pin Complex Pins 39/41 Pin Complex Pins 35/36 PORT A PORT D Pin 32 D2S MONO OUT CD DMIC Pins 18/19/20 Pin 2 Pin 3 DMIC_0 DMIC_1 DMIC et u M et u M et u M Isolation Interface Boost XU M 13 XU M 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE et u M MUX et u M IDTTM MUX et u M B DAC 0, 1 External DAC 0, 1 A E D DAC 0 DAC 0 F C LI, MIC LI, MIC LO HP (slave) E D DAC 0 DAC 0 F LI, MIC DMIC0 Internal + external (digital) LO HP (slave) Internal + external (analog) LO, LI, MIC HP, LI, MIC 1.2. Stream& Channel Select STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Block Diagram Figure 1. STAC9204/9205 / STAC9204D/9205D Block Diagram Gain 1 bit HD Audio LINK LOGIC STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Figure 2. System Diagram Head Phone Speakers HD Audio Bus I/O Controller Hub (ICH) STAC9204/05/54/55 Sub Woofer Line In Microphone 1.3. Detailed Description 1.3.1. Low-voltage High Definition Audio Link Signaling The STAC9204/9205 are compatible with either 1.5 V or 3.3 V High Definition Audio Link signaling; the voltage selection is performed dynamically based on the input voltage of DVDD_IO. Note that DVDD_IO is not a logic configuration pin but provides the digital power supply to be used for the High Definition Audio Link signals. When in 1.5 V mode, the STAC9204/9205 can correctly decode BITCLK, SYNC, RESET# and SDO because they operate at 1.5 V. Additionally, it will drive SDI_CODEC at 1.5 V. None of the GPIOs are affected, as they always function at their nominal voltage (DVDD or AVDD). 1.3.2. Digital Microphone Support The digital microphone interface permits connection of digital microphones to the STAC9205 via the DMIC0, DMIC1, and DMIC_CLK three-pin interface. The DMIC0 and DMIC1 pins carry either 1 or 2 channels of digital microphone data to the STAC9205. In the event that a single microphone is used, the data is routed to both ADC channels. The DMIC_CLK output is programmable from 1.176 MHz to 4.704 MHz in 1.176 MHz increments and is synchronous to the 24 MHz internal clock. The default frequency is 2.352 MHz. The STAC9205 supports the digital microphone configurations listed in Table 1. IDTTM 14 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 1. STAC9205 Valid Digital Microphone Configurations Digital Mics Data Sample ADC Conn. 0 N/A N/A 1 Single Edge (see Figure 3) 0 or 1 Available on either DMIC_0 or DMIC_1 Both ADC Channels process data, may be in-phase or out-of-phase by 1/2 DMIC_CLK period depending upon external configuration and timing 0 or 1 Available on either DMIC_0 or DMIC_1 External logic required to support sampling on a single Digital Microphone pin channel on rising edge and second Digital Microphone right channel on falling edge of DMIC_CLK for those digital microphones that don't support alternative clock edge capability. If both DMIC_0 and DMIC_1 are used to support 2 digital microphones, 2 separate ADC units will be used, however, this configuration is not recommended since it consumes two stereo ADC resources. 0 or 1 Requires both DMIC_0 or DMIC_1 External logic required to support sampling on a single Digital Microphone pin channel on rising edge and second Digital Microphone right channel on falling edge of DMIC_CLK for those digital microphones that don't support alternative clock edge capability. Two ADC units are required to support this configuration 0 or 1 Connected to DMIC_0 and DMIC_1 External logic required to support sampling on a single Digital Microphone pin channel on rising edge and second Digital Microphone right channel on falling edge of DMIC_CLK for those digital microphones that don't support alternative clock edge capability. Two ADC units are required to support this configuration 2 Double Edge on either DMIC_0 or 1 (see Figure 4) OR Single Edge on DMIC_0 and 1 3 Double Edge on one DMIC pin and Single Edge on the second DMIC pin. 4 Double Edge (see Figure 5) Notes No Digital Microphones Table 2. DMIC_CLK, DMIC_0 and DMIC_1 Operation During Power States Power State DMIC Widget Enabled? DMIC_CLK Output DMIC_0,1 D0 Yes Clock Capable Input Capable DMIC_CLK Output is Enabled when either DMIC_0 or DMIC_1 input widget is enabled. Otherwise, the DMIC_CLK remains low. D1 Yes Clock Disabled Input Disabled DMIC_CLK Output is Enabled when either DMIC_0 or DMIC_1 input widget is enabled. Otherwise, the DMIC_CLK remains low. D2 Yes Clock Disabled Input Disabled DMIC_CLK remains low D3 Yes Clock Disabled Input Disabled DMIC_CLK remains low D0-D3 No Clock Disabled Input Disabled DMIC_CLK is HIGH-Z with weak pull-down IDTTM Notes 15 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Figure 3. Single Digital Microphone Off-Chip Digital Microphone On-Chip DMIC_0 OR DMIC_1 D Single Line In Q Pin CK MUX DMIC_CLK Stereo Channels Output PCM Pin DMIC_0 Or DMIC_1 STEREO ADC0 or ADC1 On-Chip Multiplexer Valid Data Right Channel Valid Data+1 Left Channel DMIC_CLK Note: Data is ported to both left and right channels. IDTTM 16 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Figure 4. Stereo Digital Microphone Configuration Off-Chip Digital Microphones On-Chip External Multiplexer On-Chip Multiplexer MUX DMIC_0 OR DMIC_1 MUX Pin STEREO ADC0 or ADC1 Stereo Channels Output PCM DMIC_CLK Pin DMIC_0 Or DMIC_1 Valid R Data Right Channel Valid L Data Left Channel DMIC_CLK Note: Some Digital Microphone Implementations support data on either edge, therefore the external mux may not be required. IDTTM 17 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Figure 5. Quad Digital Microphone Configuration Digital Microphones On-Chip Off-Chip External Multiplexer On-Chip Multiplexer DMIC_0 MUX STEREO ADC0 MUX Pin Stereo Channels Output For DMIC_0 L & R PCM DMIC_CLK Note: Valid ADC Pairs include: ADC0/ADC1, Pin On-Chip Multiplexer DMIC_1 MUX STEREO ADC1 MUX Pin Stereo Channels Output For DMIC_1 L & R PCM External Multiplexer DMIC_0 Valid Data R0 Valid Data L0 DMIC_1 Valid Data R1 Valid Data L1 Right Channel Valid Data R0 Valid Data L0 Valid Data R1 Valid Data L1 Left Right Channel Channel Left Channel DMIC_CLK Note: Some Digital Microphone Implementations support data on either edge, therefore the external mux may not be required IDTTM 18 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 1.3.3. PC AUDIO Volume/Digital Microphone/GPIO Selection For the STAC9205, three functions are available on pins 2 and 3. To determine which function is actually enabled on these pins, the order of precedence is followed: 1. If the GPIOs are enabled through the Audio Function Group, they override both Volume Control and Digital Microphones. 2. If the GPIOs are not enabled through the Audio Function Group, then, at reset, the Volume control is enabled with a weak pull-up. 3. If BIOS or other software application enables either Digital Microphone input through the Configuration Default Register, the Volume is disconnected and the pull-ups are disconnected, with the weak pull-downs enabled. For STAC9204, Digital Microphones are not available, but the other two functions operate with the same order of precedence. 1.3.4. VRefOut/GPIO Selection Two functions are available on pins 30 and 31. To determine which function is enabled on the two pins, the order of precedence followed is: 1. If the GPIOs are enabled, they override VRefOut-E or VRefOut-F. 2. If the GPIOs are not activated through the Audio Function Group, then, at reset, the VRefOut pins are enabled. If using the GPIOs as inputs, incorporate 10 KW external pull-ups or the GPI will not function correctly. 1.3.5. SPDIF Input SPDIF IN can operate at 44.1 KHz, 48 KHz or 96 KHz, and implements internal Jack Sensing. A sophisticated digital PLL allows automatic rate detection and accurate data recovery. The ability to directly accept consumer SPDIF voltage levels eliminates the need for costly external receiver ICs. Advanced features such as record-slot-select and SPDIF_IN routing to the DAC allow for simultaneous record and play. 1.3.6. SPDIF Output SPDIF Output supports 44.1 KHz, 48 KHz, 88.2 KHz, 96 KHz and 192 KHz sample rates, as defined in the Intel High Definition Audio Specification, with resolutions up to 24 bits. This insures compatibility with all consumer audio gear and allows for convenient integration into home theater systems and media center PCs. IDTTM 19 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 1.3.7. PC AUDIO Mono Output MONO Output is supported on pin 32 and has an independent mute and volume control. The MONO Output derives input from the output of the summing node after DAC0. The following analog signals feed the summing amplifier that feeds the MONO Output summing amplifier: * DAC0 Output: When enabled, both DAC0 Outputs are summed together. * Analog PC Beep: Sourced from pin 12. * ADC Input: Stereo analog feed into the stereo ADC input. * The combination of the stereo channels from DAC0 are combined into a single analog signal with a -6dB degradation in signal strength. Note: MONO Output only works with the IDT Driver. 1.3.8. Universal JacksTM The Universal JacksTM technology allows for the greatest flexibility in board design and implementation. For the STAC9204/9205 the Universal JacksTM capabilities are as follows1: * Ports A and D2 support3: * Headphone Out * Line Out * Line In * Microphone, with 0/10/20/30/40 dB Microphone boost4 * Ports B, C, E, and F support3: * Line Out * Line In * Microphone, with 0/10/20/30/40 dB Microphone boost4 * Mono Output cannot be reconfigured Note: 1) On the STAC9204/9205, only one function can be selected on each pin pair at a time. For example, a pin pair cannot be configured as an input and output at the same time. Configuration can be changed at any time. Note: 2) Port D does not provide a microphone bias pin. Therefore only an internal, fixed-function microphone can be supported. Note: 3) Headphone capabilities are provided on Ports A and D, however, audio performance degrades when 2 headphones are enabled. Note: 4) When the 40dB microphone boost feature is enabled, additional gain increases greater than 6dB may result in significant audio quality degradation of the microphone audio input. In particular, when the 40dB microphone boost is active, the SNR, THD+N and DC offset will significantly degrade regardless of the input signal level. 1.3.8.1. Jack Detect SENSE_A pin is used to detect the presence of plugs in ports A, B, C, and D. SENSE_B pin is used to detect the presence of plugs in ports E and F. Refer to the STAC9204/9205 reference design for port detect circuitry. IDTTM 20 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO For different analog supply voltages, Table 3 summarizes what ports can be detected and the resistor tolerance needed. Table 3. Jack Detect AVdd Nominal Voltage (+/- 5%) Resistor Tolerance Sense A (If port D is used) Resistor Tolerance Sense A (If port D is not used) Resistor Tolerance Sense B (For ports E and F) 5V 1% 1% 1% 4.5 V 1% 1% 1% 4V 0.50% 1% 1% 3.3 V 0.10% 1% 1% Includes pull-up resistors on Sense A/B and series resistors between jack switch and Sense A/B. See the reference design for more information on Jack Detect implementation. 1.3.8.2. Impedance Sense Impedance Sensing is accomplished by on-chip circuitry that tests the impedance at the pin of the chip and compares it to internal reference impedance. Table 4 describes the bin information and the codes that are returned when the Pin Widget Impedance field in the Port Pin Sense widget is read. Please note that even under the best conditions, there is no method to guarantee 100% impedance sensing due to variations in external circuitry and impedance overlap of devices that can be plugged into a jack. The impedance sense table reflects both standard Line Out and Headphone output drivers. Table 4. Impedance Sense IDTTM Bins Return Hex Code Measured Impedance Level General Device Detected 000b 0064h Impedance < 300 Passive Speakers, Headset Speakers 001b 012Ch Impedance = 300 +/- 25% Some Headset Speakers 010b 028Ah 300 > Impedance < 1275 Some Microphones 011b 03E8h Impedance = 1275 +/- 25% Microphones 100b 07D0h 1275 > Impedance < 2000 Microphones 101b 0BB8h Impedance = 2000 +/- 25% Amplified Speakers 110b 2710h > 2000 Amplified Speakers, Line In 111b 2710h > 2000 Amplified Speakers, Line In 21 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 1.3.9. PC AUDIO Power Management Table 5 describes the active functionality in each power state. Table 5. Power Management Function D0-D1 D2 D3-default D3-alternate DAC On Off Off Off ADC On Off Off Off Ports On On Off Off Headphone (HP) Amps On On Off1 Off VrefOut On On Off Off Port Sense On On On2 Programmable AZ-Link On On On3 Programmable4 Programmable Off VAG On On On5 Differential Amplifiers On On Off 1. VAG is kept active when amplifiers are turned off. 2. If BITCLK is not active, a wake event must be generated. Otherwise an unsolicited response is sent. 3. Not active if BITCLK is not running. 4. This mode can only be exited with a Bus Reset. 5. VAG is always ramped up and down gradually, except in the case of a sudden power removal. The D3-default state is available for HD Audio compliance. The programmable values exposed via vendor-specific settings are under the IDT Device Driver control for further power reduction. The default power state for the Audio Function Group after reset is D3-default. 1.3.10. Analog PC-Beep PC Beep may need to be active on power up, in which case the BIOS is responsible for enabling it by setting AnalogBeepEn in the AFG AnaCtrl widget. The PC_BEEP input is routed directly to the MONO_OUT, LINE_OUT and HP_OUT pins of the CODEC. Because the PC_BEEP input drive is often a full scale digital signal, some resistive attenuation of the PC_BEEP input is recommended to keep the beep tone within reasonable volume levels. The user should mute this input before using any other mixer input because the PC Beep input can contribute noise to the lineout during normal operation. Analog PC-Beep is not supported during Link Reset. 1.3.11. Headphone Drivers Performance degradation will occur when using two headphones simultaneously. See the electrical specifications for details. IDTTM 22 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 1.3.12. PC AUDIO Device IDs Table 6. Device IDs Part Number DAC SNR DAC ADC Digital Mics Dolby VID DID STAC9205X 103dB 4 4 Yes No 8384h 76A0h STAC9205D 103dB 4 4 Yes Yes-HT/SR 8384h 76A1h STAC9204X 103dB 4 4 No No 8384h 76A2h STAC9204D 103dB 4 4 No Yes-HT/SR 8384h 76A3h Note: HT/SR refers to Dolby Home Theater (HT) and Sound Room (SR), logos of the Dolby PC Entertainment Experience Logo program. IDTTM 23 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO 2. CHARACTERISTICS 2.1. Electrical Specifications 2.1.1. Absolute Maximum Ratings Stresses above the ratings listed below can cause permanent damage to the STAC9204/9205. These ratings, which are standard values for IDT commercially rated parts, are stress ratings only. Functional operation of the device at these or any other conditions above those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods can affect product reliability. Electrical parameters are guaranteed only over the recommended operating temperature range. Item Pin Maximum Rating Analog maximum supply voltage AVdd 6 Volts Digital maximum supply voltage DVdd 5.5 Volts VREFOUT output current 5 mA Voltage on any pin relative to ground Vss - 0.3 V to Vdd + 0.3 V Operating temperature 0 oC to +70 oC Storage temperature -55 oC to +125 oC Soldering temperature Soldering temperature information for all available packages begins on page 189. 2.1.2. Recommended Operating Conditions Parameter Power Supply Voltage (Note: With Supply Override Enable Bit set to force 5 V operation.) Min. Typ. Max. Units Digital - 3.3 V 3.135 3.3 3.465 V Analog - 3.3 V 3.135 3.3 3.465 V 3.8 4 4.2 V Analog - 4.5 V 4.275 4.5 4.725 V Analog - 5 V 4.75 5 5.25 V +70 C Tcase (48-LQFP) +90 C Tcase (48-QFN) +95 C Analog - 4 V Ambient Operating Temperature Case Temperature 0 ESD: The STAC9204/9205 is an ESD (electrostatic discharge) sensitive device. The human body and test equipment can accumulate and discharge electrostatic charges up to 4000 Volts without detection. Even though the STAC9204/9205 implements internal ESD protection circuitry, proper ESD precautions should be followed to avoid damaging the functionality or performance. IDTTM 24 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 2.2. PC AUDIO STAC9204/9205 5.0V, 4.5V, 4.0V, and 3.3V Analog Performance Characteristics (Tambient = 25 C, AVdd = Supply 5%, DVdd = 3.3V 5%, AVss=DVss=0V; 1 kHz input sine wave; Sample Frequency = 48 kHz; 0 dB = 1 VRMS, 10KW//50pF load, Testbench Characterization BW: 20 Hz - 20 kHz, 0 dB settings on all gain stages) Table 7. Performance Characteristics Parameter Conditions AVdd Min Typ Max Unit Digital to Analog Converters Resolution All 24 Bits SNR - DAC to All Line-Out Ports (Note 4) PCM data, (Note 9) 5V 4.5V 4.0V 3.3V 103 101 100 98 dB THD+N - DAC to All Line-Out Ports -3dB Signal, PCM data, (Note 9) 5V 4.5V 4.0V 3.3V 87 85 84 82 dB SNR - DAC to All Headphone Ports (Note 4) 10K load, PCM data, (Note 9) 5V 4.5V 4.0V 3.3V 103 101 100 98 dB THD+N - DAC to All Headphone Ports (Note 3) -3dB Signal, 10K load, PCM data, (Note 9) 5V 4.5V 4.0V 3.3V 85 83 82 80 dB SNR - DAC to All Headphone Ports with 2 Headphone Outputs Operating (Note 4) 10K load, PCM data, (Note 9) 5V 4.5V 4.0V 3.3V 100 98 97 95 dB THD+N - DAC to All Headphone Ports with 2 Headphone Outputs Operating (Note 3) -3dB Signal, 10K load, PCM data, (Note 9) 5V 4.5V 4.0V 3.3V 82 80 79 77 dB SNR - DAC to All Headphone Ports (Note 4) 32 load, PCM data, (Note 9) 5V 4.5V 4.0V 3.3V 103 101 100 98 dB THD+N - DAC to All Headphone Ports (Note 3) -3dB Signal, 32 load, PCM data, (Note 9) 5V 4.5V 4.0V 3.3V 80 80 78 76 dB Any Analog Input to DAC Crosstalk 10KHz Signal Frequency All - -80 - dB Any Analog Input to DAC Crosstalk 1KHz Signal Frequency All - -85 - dB Gain Error (Note 9) All 0.5 dB Interchannel Gain Mismatch (Note 9) All 0.5 dB IDTTM 25 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Parameter PC AUDIO Conditions AVdd Min Typ Max Unit -60dB signal level 5V 4.5V 4.0V 3.3V - 95 93 92 90 - dB D/A Digital Filter Pass Band (Note 5) All 20 - 21,000 Hz D/A Digital Filter Transition Band All 21,000 - 31,000 Hz D/A Digital Filter Stop Band All 31,000 - - Hz D/A Digital Filter Stop Band Rejection (Note 6) All -75 - - dB D/A Out-of-Band Rejection (Notes 6 and 7) All -55 - - dB Group Delay (48KHz sample rate) All - - 1 ms Attenuation, Gain Step Size DIGITAL All - 0.75 - dB Gain Drift All - 100 - ppm/C DAC Offset Voltage All - 20 100 mV Deviation from Linear Phase All - 1 10 deg. 5V 4.5V 4.0V 3.3V 1.00 1.00 1.00 (*) 0.70 - - Vrms 5V 4.5V 4.0V 3.3V 2.83 2.83 2.83 (*) 2.00 - - Vp-p 5V 4.5V 4.0V 3.3V 31 31 31 (*) 15 50 50 50 (*) 25 - mWpeak 0dB Boost @4.75V 5V 4.5V 4.0V 3.3V 1.00 - - Vrms All Analog Inputs with boost 10dB Boost 5V 4.5V 4.0V 3.3V 0.31 - - Vrms All Analog Inputs with boost 20dB Boost 5V 4.5V 4.0V 3.3V 0.10 - - Vrms Dynamic Range: PCM to All Analog Outputs (Note 1) Analog Outputs Full Scale All Line-Outs DAC PCM Data * (Note 11) Full Scale All Line-Outs DAC PCM Data * (Note 11) All Headphone Capable Outputs 32 load * (Note 11) Analog inputs Full Scale Input Voltage IDTTM 26 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Parameter PC AUDIO Conditions AVdd Min Typ Max Unit All Analog Inputs with boost 30dB Boost 5V 4.5V 4.0V 3.3V 0.03 - - Vrms All Analog Inputs with boost 40dB Boost (Not recommended) 5V 4.5V 4.0V 3.3V 0.01 - - Vrms Input Impedance All - 50 - K Input Capacitance All - 15 - pF Analog to Digital Converter Resolution All 24 Bits Dynamic Range, All Analog Inputs to A/D (Note 1) High Pass Filer Enabled, 1Vrms Input, No boost 5V 4.5V 4.0V 3.3V 88 98 96 94 90 dB SNR All Analog Inputs to A/D (Note 4) High Pass Filter enabled, -3dBV input Level 5V 4.5V 4.0V 3.3V 88 98 96 94 90 dB THD+N All Analog Inputs to A/D (Note 3) High Pass Filter enabled, -3dBV input Level 5V 4.5V 4.0V 3.3V 85 80 74 72 dB Analog Frequency Response (Note 2) All 10 - 30,000 Hz A/D Digital Filter Pass Band (Note 5) All 20 - 21,000 Hz A/D Digital Filter Transition Band All 21,000 - 31,000 Hz A/D Digital Filter Stop Band All 31,000 - - Hz A/D Digital Filter Stop Band Rejection (Note 6) All -90 - - dB Group Delay (48KHz sample rate) All - - 1 ms Any Analog Input to ADC Crosstalk 10KHz Signal Frequency All - -80 - dB Any Analog Input to ADC Crosstalk 1KHz Signal Frequency All - -85 - dB Spurious Tone Rejection All - -100 - dB Attenuation, Gain Step Size ANALOG All - 1.5 - dB Interchannel Gain Mismatch ADC All - - 0.5 dB Noise Floor when 40dB Mic Boost Enabled (40dB not recommended) All 0.01 mV 40dB Mic Boost Enabled SNR (40dB not recommended) IDTTM 5mV Input All 27 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 60 STAC9204/9205 dB V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Min PC AUDIO Parameter Conditions AVdd Typ Max 40dB Mic Boost Enabled THD+N (40dB not recommended) 5mV Input All Power Supply Rejection Ratio 1kHz All - -80 - dB Power Supply Rejection Ratio 20kHz All - -70 - dB D0 Didd 3.3V 70 80 mA D0 Aidd 5.0V 3.3V 65 50 D1 Didd 3.3V 70 D1 Aidd 5.0V 3.3V 65 50 D2 Didd 3.3V 25 D2 Aidd 5.0V 3.3V 43 35 D3 Didd 3.3V 20 D3 Aidd 5.0V 3.3V 20 17 One Stereo ADC Didd 3.3V 3 5 mA One Stereo ADC Aidd (note 12) 5.0V 3.3V 3 5 mA One Stereo DAC Didd 3.3V 3 5 mA One Stereo DAC Aidd (Note 12) 5.0V 3.3V 10 13 mA 55 Unit dB Power Supply (Note 10) mA 80 mA mA 35 mA mA 35 mA mA CD Input CD Common Mode Rejection (CMR) All 50 55 dB VREFout (Note 8) All - 0.5 X AVdd VREFILT (VAG) All 0.45X AVdd PLL lock time All 96 200 usec PLL (or HD Audio Bit CLK) 24MHz clock jitter All 150 500 psec Voltage Reference Outputs - V V Phased Locked Loop 1. 2. 3. 4. 5. 6. IDTTM Ratio of Full Scale signal to noise output with -60dB signal, measured "A weighted" over a 20 Hz to a 20 kHz bandwidth. 3dB limits for Line Output & 0 dB gain, at -20dBV Amplitude of THD+N, measured with A-weighting filter, over 20 Hz to 20 kHz bandwidth. Ratio of Full Scale signal to idle channel noise output is measured "A weighted" over a 20 Hz to a 20 kHz bandwidth. (AES17-1991 Idle Channel Noise or EIAJ CP-307 Signal-to-noise Ratio). Peak-to-Peak Ripple over Passband meets 0.25dB limits, 48 kHz Sample Frequency. Stop Band rejection determines filter requirements. Out-of-Band rejection determines audible noise. 28 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO 7. The integrated Out-of-Band noise generated by the DAC process, during normal PCM audio playback, over a bandwidth 28.8 to 100 kHz, with respect to a 1 Vrms DAC output. 8. Can be set to 0.5 or 0.8 AVdd. 9. Analog mixer disabled. See Figure 2 10. Didd= Didd_Core + Didd_IO (with all converters enabled and no playback) 11. Requires setting the power supply override bit. 12. Current reduction by disabling. IDTTM 29 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO 3. WIDGET INFORMATION AND SUPPORTED COMMAND VERBS Figure 6. STAC9204/9205 Widget Diagram NID=24h 0 ExtVolume NID=10h NID=0Ah 1 VOLUME MUTE DAC0 DAC0 DAC1 1 PortA NID=0Bh NID=11h DAC0 DAC1 VOLUME MUTE DAC1 0 0 1 PortB NID=0Ch DAC1 PortC NID=0Dh NID=25h DAC0 VDW PortD NID=0Eh DAC0 NID=19h NID=1Dh 1 6 NID=1Bh INPORT0 VOL ADC0MUX 3 VOLUME ADC0 ADC0 2 MUX 0 Azalia Link 4 INPORT05 MUX 0 2 1 NID=0Fh A DAC1 B PortF C D E NID=14h NID=15h DAC0 F CD MONO OutMix VOLUME MUTE NID=12h PortE MONO Out NID=16h CD ADC1 ADC1 1 2 MUX 0 6 3 NID=1Ch INPORT1 VOL ADC1MUX VOLUME NID=13h NID=1Ah NID=1Eh 4 INPORT15 MUX 0 2 1 A NID=23h B C PCBEEP D E F NID=17h CD DMIC0 NID=18h DMIC1 NID=22h SPDIF IN DIGIN NID=21h NID=1Fh ADC0MUX ADC1MUX SPDIF OUT IDTTM NID=20h 30 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 DIGOUT V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.1. PC AUDIO Widget List STAC9204/9205 Table 8. High Definition Audio Widget IDTTM Node ID Widget Name Description 00h Root Root Node 01h AFG Audio Function Group 0Ah Port A Port A Pin Widget (Configurable as Headphone, Line In, Line Out, Microphone) 0Bh Port B Port B Pin Widget (Configurable as Line In, Line Out, Microphone) 0Ch Port C Port C Pin Widget (Configurable as Line In, Line Out, Microphone) 0Dh Port D Port D Pin Widget (Configurable as Headphone, Line In, Line Out, Microphone) 0Eh Port E Port E Pin Widget (Configurable as Line In, Line Out, Microphone) 0Fh Port F Port F Pin Widget (Configurable as Line In, Line Out, Microphone) 10h DAC0 Stereo Output Converter to DAC 11h DAC1 Stereo Output Converter to DAC 12h ADC0 Stereo Input Converter to ADC 13h ADC1 Stereo Input Converter to ADC 14h Port MonoOut Port MonoOut Pin Widget (output only) 15h MonoOutMix Port MonoOut Mixer 16h CD CD Pin Widget 17h DigMic0 Digital Microphone 0 Pin Widget 18h DigMic1 Digital Microphone 1 Pin Widget 19h InPort0Mux ADC0 Input Port Mux 1Ah InPort1Mux ADC1 Input Port Mux 1Bh InPort0Vol ADC0 Input Port Volume 1Ch InPort1Vol ADC1 Input Port Volume 1Dh ADC0Mux ADC0 Mux 1Eh ADC1Mux ADC1 Mux 1Fh SPDIFOUT Stereo Output for SPDIF_Out 20h SPDIFIn Stereo Input for SPDIF_In 21h DigOut Digital Output Pin 22h DigIn Digital Input Pin 23h PcBeep Digital PC Beep 24h ExtVolume External Volume Control 25h Reserved Reserved 31 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.2. PC AUDIO Pin Configuration Default Register Settings The configuration default registers are 32-bit registers required for each pin widget. These registers are normally used by the CODEC driver to determine the configuration of jacks and devices attached to the CODEC. When the CODEC is powered on, these registers are loaded with the default values provided by IDT for typical system usage, and are loaded in a way that is compatible with the Microsoft Universal Audio Architecture (UAA) driver. The values can be overridden by IDT customers according to their system configuration. Table 9 shows the Pin Widget Configuration Default settings. Table 9. Pin Widget Configuration Default Settings Pin Name IDTTM Port Location Device Connection Color Misc Assoc. Seq DigInPin Not Connected 01b Mainboard Rear 1h SPDIF In Ch RCA 4h Unknown 0h Jack Detect Override=0 Fh 0h DigOutPin Connect to Jack 00b Mainboard Rear 1h SPDIF Out 4h RCA 4h Gray 2h Jack Detect Override=0 7h 0h PortAPin Connect to Jack 00b Mainboard Front 2h HP Out 2h 1/8 inch Jack 1h Green 4h Jack Detect Override=0 2h 0h PortBPin Connect to Jack 00b Mainboard Front 2h MIC In Ah 1/8 inch Jack 1h Pink 9h Jack Detect Override=0 8h 0h PortCPin Connect to Jack 00b Mainboard Rear 1h Line In 8h 1/8 inch Jack 1h Blue 3h Jack Detect Override=0 4h Eh PortDPin Connect to Jack 00b Mainboard Rear 1h HP Out 2h 1/8 inch Jack 1h Green 4h Jack Detect Override=0 1h Fh PortEPin Connect to Jack 00b Mainboard Rear 1h Line Out 0h 1/8 inch Jack 1h Black 1h Jack Detect Override=0 1h 0h PortFPin Connect to Jack 00b Mainboard Rear 1h MIC In Ah 1/8 inch Jack 1h Pink 9h Jack Detect Override=0 4h 0h MonoOutPin Not Connected 01b Internal 010000b Line Out 0h Other Analog 7h Unknown 0h Jack Detect Override=0 Fh 0h CDPin Not Connected 01b Internal 010000b CD 3h ATAPI Internal 3h Unknown 0h Jack Detect Override=0 Fh 0h DigMic0Pin Not Connected 01b Internal 010000b MIC In Ah Unknown 0h Unknown 0h Jack Detect Override=0 Fh 0h DigMic1Pin Not Connected 01b Internal 010000b MIC In Ah Unknown 0h Unknown 0h Jack Detect Override=0 Fh 0h 32 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.3. PC AUDIO Widget Information Table 10. Command Format for Verb with 4-bit Identifier Bits [39:32] Bits [31:28] BITS [27:20] BITS[19:16] BITS [15:0] Reserved CODEC Address NID Verb ID (4-bit) Payload Data (16-bit) Table 11. Command Format for Verb with 12-bit Identifier Bits [39:32] Bits [31:28] BITS [27:20] BITS[19:8] BITS [7:0] Reserved CODEC Address NID Verb ID (12-bit) Payload Data (8-bit) There are two types of responses: Solicited and Unsolicited. Solicited responses are provided as a direct response to an issued command and will be provided in the frame immediately following the command. Unsolicited responses are provided by the CODEC independent of any command. Unsolicited responses are the result of CODEC events such as a jack insertion detection. The formats for Solicited Responses and Unsolicited Responses are shown in Tables 12 and 13 respectively. The "Tag" field in bits [31:28] of the Unsolicited Response identify the event. Table 12. Solicited Response Format Bit [35] Bit [34] BITS [33:32] BITS[31:0] Valid (Valid = 1) UnSol = 0 Reserved Response Table 13. Unsolicited Response Format IDTTM Bit [35] Bit [34] BITS [33:32] BITS[31:28] BITS [27:0] Valid (Valid = 1) UnSol = 1 Reserved Tag Response 33 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4. PC AUDIO Supported Command Verbs and Responses 3.4.1. Root Node (NID = 0x00) 3.4.1.1. Root PnpID Table 14. Root PnpID Command Verb Format Get Verb ID Payload Response F00 00 See bitfield table. Table 15. Root PnpID Command Response Format Bit Bitfield Name RW Reset [31:16] Vendor R 0x8384 [15:8] DeviceFix R 0x76 Fixed portion of Device ID. [7:0] DeviceProg R 0xA5 Dependant on device - See device ID table in section 1.3.12. 3.4.1.2. Description Vendor ID. Root RevID Table 16. Root RevID Command Verb Format Get Verb ID Payload Response F00 02 See bitfield table. Table 17. Root RevID Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd R 0x00 Reserved [23:20] Major R 0x1 Major rev number of compliant HD Audio spec. [19:16] Minor R 0x0 Minor rev number of compliant HD Audio spec. [15:12] VendorFix R 0x0 Vendor's rev number for this device. [11:8] VendorProg R 0x1 Vendor's rev number for this device. 34 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 17. Root RevID Command Response Format Bit Bitfield Name RW Reset [7:4] SteppingFix R 0x0 Vendor stepping number within the Vendor RevID. [3:0] SteppingProg R 0x4 Vendor stepping number within the Vendor RevID. 3.4.1.3. Description Root NodeInfo Table 18. Root NodeInfo Command Verb Format Get Verb ID Payload Response F00 04 See bitfield table. Table 19. Root NodeInfo Command Response Format 3.4.2. Bit Bitfield Name RW Reset Description [31:24] Rsvd2 R 0x00 Reserved [23:16] StartNID R 0x01 Starting node number (NID) of first function group [15:8] Rsvd1 R 0x00 Reserved [7:0] TotalNodes R 0x01 Total number of nodes AFG Node (NID = 0x01) 3.4.2.1. AFG NodeInfo Table 20. AFG NodeInfo Command Verb Format Get Verb ID Payload Response F00 04 See bitfield table. Table 21. AFG NodeInfo Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 [23:16] StartNID R 0x0A 35 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description Reserved Starting node number for function group subordinate nodes. STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 21. AFG NodeInfo Command Response Format Bit Bitfield Name RW Reset [15:8] Rsvd1 R 0x0 [7:0] TotalNodes R 0x1C 3.4.2.2. Description Reserved Total number of nodes. AFG Type Table 22. AFG Type Command Verb Format Get Verb ID Payload Response F00 05 See bitfield table. Table 23. AFG Type Command Response Format Bit Bitfield Name RW Reset Description [31:9] Rsvd R 0x0 Reserved [8] UnsolCap R 0x1 This node is capable of generating an unsolicited response, and will respond to the Unsolicited Response verb (Verb ID 708h). [7:0] NodeType R 0x01 Node type = Audio Function Group 3.4.2.3. AFG GrpCap Table 24. AFG GrpCap Command Verb Format Get Verb ID Payload Response F00 08 See bitfield table. Table 25. AFG GrpCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:17] Rsvd3 R 0x0 Reserved [16] BeepGen R 0x1 Optional Beep Generator is present [15:12] Rsvd2 R 0x0 Reserved 36 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 25. AFG GrpCap Command Response Format Bit Bitfield Name RW Reset Description [11:8] InputDelay R 0xD Typical latency = 13 frames. Number of samples between when the sample is received as an analog signal at the pin and when the digital representation is transmitted on the HD Audio link. [7:4] Rsvd1 R 0x0 Reserved 0xD Typical latency = 13 frames. Number of samples between when the signal is received from the HD Audio link and when it appears as an analog signal at the pin. [3:0] 3.4.2.4. OutputDelay R AFG FrmtCap Table 26. AFG FrmtCap Command Verb Format Get Verb ID Payload Response F00 0A See bitfield table. Table 27. AFG FrmtCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:21] Rsvd2 R 0x0 Reserved [20] B32 R 0x0 32 bit audio formats are NOT supported [19] B24 R 0x1 24 bit audio formats are supported [18] B20 R 0x1 20 bit audio formats are supported [17] B16 R 0x1 16 bit audio formats are supported [16] B8 R 0x0 8 bit audio formats are NOT supported [15:12] Rsvd1 R 0x0 Reserved [11] R12 R 0x0 384 KHz rate (8/1*48 KHz) NOT supported [10] R11 R 0x1 192.0 KHz rate (4/1*48 KHz) supported [9] R10 R 0x1 176.4 KHz rate (4/1*44.1 KHz) supported [8] R9 R 0x1 96.0 KHz rate (2/1*48 KHz) supported 37 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 27. AFG FrmtCap Command Response Format Bit Bitfield Name RW Reset [7] R8 R 0x1 88.2 KHz rate (2/1*44.1 KHz) supported [6] R7 R 0x1 48.0 KHz rate supported (REQUIRED) [5] R6 R 0x1 44.1 KHz rate supported [4] R5 R 0x0 32.0 KHz rate (2/3*48 KHz) supported [3] R4 R 0x0 22.05 KHz rate (1/2*44.1 KHz) supported [2] R3 R 0x0 16.0 KHz rate (1/3*48 KHz) supported [1] R2 R 0x0 11.025 KHz rate (1/4*44.0 KHz) supported [0] R1 R 0x0 8.0 KHz rate (1/6*48 KHz) supported 3.4.2.5. Description AFG StreamCap Table 28. AFG StreamCap Command Verb Format Get Verb ID Payload Response F00 0B See bitfield table. Table 29. AFG StreamCap Command Response Format Bit Bitfield Name RW Reset [31:3] Rsvd R 0x0 Reserved [2] NonPCM R 0x0 No support for non-PCM data. [1] Float32 R 0x0 No support for Float32 data. [0] PCM R 0x1 PCM-formatted data supported. 3.4.2.6. Description AFG InAmpCap Table 30. AFG InAmpCap Command Verb Format Get IDTTM Verb ID Payload Response F00 0D See bitfield table. 38 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 31. AFG InAmpCap Command Response Format Bit Bitfield Name RW Reset [31] Mute R 0x0 No mute capability [30:23] Rsvd3 R 0x0 Reserved [22:16] StepSize R 0x5 Size of each step in the gain range = 1.5dB [15] Rsvd2 R 0x0 Reserved [14:8] NumSteps R 0x0F Number of steps in the gain range = 15 (0dB to 22.5 dB) [7] Rsvd1 R 0x0 Reserved [6:0] Offset R 0x00 0dB-step is programmed with this offset 3.4.2.7. Description AFG PwrCap Table 32. AFG PwrCap Command Verb Format Get Verb ID Payload Response F00 0F See bitfield table. Table 33. AFG PwrCap Command Response Format Bit Bitfield Name RW Reset [31:4] Rsvd R 0x0 Reserved 0x1 Power State D3 is supported. Allows for lowest possible power consuming state under software control (and still properly respond to a subsequent Power State command). 0x1 Power State D2 is supported. Allows for lowest possible power consuming state from which it can return to fully on state within 10 ms. [3] [2] IDTTM D3 D2 R R 39 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 33. AFG PwrCap Command Response Format Bit Bitfield Name RW Reset Description [1] D1 R 0x1 Power State D1 is supported. Allows for lowest possible power consuming state from which it can return to fully on state within 10 ms, excepting analog pass-through circuits which must remain fully on. [0] D0 R 0x1 Power State D0 is supported. Node power state is fully on. 3.4.2.8. AFG GPIOCap Table 34. AFG GPIOCap Command Verb Format Get Verb ID Payload Response F00 11 See bitfield table. Table 35. AFG GPIOCap Command Response Format Bit [31] IDTTM Bitfield Name GPIWake RW R Reset Description 0x1 Wake capability. Assuming the Wake Enable Mask controls are enabled, GPIOs configured as inputs can cause a wake (generate a Status Change event on the link) when there is a change in level on the pin. [30] GPIUnsol R 0x1 Unsolicited Response capability. Assuming the Unsolicited Enable Mask controls are enabled, GPIOs configured as inputs can generate an Unsolicited Response on the link when there is a change in level on the pin. [29:24] Rsvd R 0x0 Reserved [23:16] NumGPIs R 0x00 Number of GPI pins supported by function [15:8] NumGPOs R 0x00 Number of GPO pins supported by function [7:0] NumGPIOs R 0x05 Number of GPIO pins supported by function 40 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.2.9. PC AUDIO AFG OutAmpCap Table 36. AFG OutAmpCap Command Verb Format Verb ID Payload Response F00 12 See bitfield table. Get Table 37. AFG OutAmpCap Command Response Format Bit Bitfield Name RW Reset [31] Mute R 0x1 Amplifier is capable of muting [30:23] Rsvd3 R 0x0 Reserved [22:16] StepSize R 0x02 Size of each step in the gain range = 0.75dB [15] Rsvd2 R 0x0 Reserved [14:8] NumSteps R 0x7F Number of steps in the gain range = 128 (-95.25dB to +0dB) [7] Rsvd1 R 0x0 Reserved [6:0] Offset R 0x7F 0dB-step is programmed with this offset 3.4.2.10. Description AFG PwrState Table 38. AFG PwrState Command Verb Format Verb ID Payload Response Get F05 00 See bitfield table. Set1 705 See bits [7:0] of bitfield table. 0000_0000h Table 39. AFG PwrState Command Response Format IDTTM Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7:4] Act R 0x3 PS-Act: Actual power state of referenced node. 41 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 39. AFG PwrState Command Response Format Bit Bitfield Name RW Reset [3:2] Rsvd1 R 0x0 Reserved 0x3 PS-Set: Current power setting of referenced node. 00: All Powered-On 01: D1 = > PR0, PR1 10: D2 = > PR0, PR1, PR2, PR6, EAPD 11: D3 = > PR6, PR5, PR3, PR2, PR1, PR0, EAPD Note: PR4 is not mapped in HD Audio [1:0] Set 3.4.2.11. RW Description AFG UnsolResp Table 40. AFG UnsolResp Command Verb Format Verb ID Payload Response Get F08 00 See bitfield table. Set1 708 See bits [7:0] of bitfield table. 0000_0000h Table 41. AFG UnsolResp Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7] En RW 0x0 Allow generation of Unsolicited Responses. [6] Rsvd1 R 0x0 Reserved [5:0] Tag RW 0x0 Software programmable field returned in top six bits (31:26) of every Unsolicited Response generated by this node. 3.4.2.12. Description AFG GPIO Table 42. AFG GPIO Command Verb Format IDTTM Verb ID Payload Response Get F15 00 See bitfield table. Set1 715 See bits [7:0] of bitfield table. 0000_0000h 42 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 43. AFG GPIO Command Response Format Bit Bitfield Name RW Reset [31:5] Rsvd R 0x0 Reserved 0x0 Data for GPIO4. If this GPIO bit is configured as Sticky (edge-sensitive) input, it can be cleared by writing zero (one) here when the corresponding Polarity Control bit is zero (one). 0x0 Data for GPIO3. If this GPIO bit is configured as Sticky (edge-sensitive) input, it can be cleared by writing zero (one) here when the corresponding Polarity Control bit is zero (one). 0x0 Data for GPIO2. If this GPIO bit is configured as Sticky (edge-sensitive) input, it can be cleared by writing zero (one) here when the corresponding Polarity Control bit is zero (one). 0x0 Data for GPIO1. If this GPIO bit is configured as Sticky (edge-sensitive) input, it can be cleared by writing zero (one) here when the corresponding Polarity Control bit is zero (one). 0x0 Data for GPIO0. If this GPIO bit is configured as Sticky (edge-sensitive) input, it can be cleared by writing zero (one) here when the corresponding Polarity Control bit is zero (one). [4] Data4 [3] Data3 [2] Data2 [1] Data1 [0] 3.4.2.13. Data0 RW RW RW RW RW Description AFG GPIOEn Table 44. AFG GPIOEn Command Verb Format IDTTM Verb ID Payload Response Get F16 00 See bitfield table. Set1 716 See bits [7:0] of bitfield table. 0000_0000h 43 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 45. AFG GPIOEn Command Response Format Bit Bitfield Name RW Reset [31:5] Rsvd R 0x0 Reserved 0x0 Enable for GPIO4: 0 = pin is disabled (Hi-Z state); 1 = pin is enabled; behavior determined by GPIO Direction control 0x0 Enable for GPIO3: 0 = pin is disabled (Hi-Z state); 1 = pin is enabled; behavior determined by GPIO Direction control 0x0 Enable for GPIO2: 0 = pin is disabled (Hi-Z state); 1 = pin is enabled; behavior determined by GPIO Direction control 0x0 Enable for GPIO1: 0 = pin is disabled (Hi-Z state); 1 = pin is enabled; behavior determined by GPIO Direction control 0x0 Enable for GPIO0: 0 = pin is disabled (Hi-Z state); 1 = pin is enabled; behavior determined by GPIO Direction control [4] Mask4 [3] RW Mask3 [2] RW Mask2 [1] RW Mask1 [0] RW Mask0 3.4.2.14. RW Description AFG GPIODir Table 46. AFG GPIODir Command Verb Format Verb ID Payload Response Get F17 00 See bitfield table. Set1 717 See bits [7:0] of bitfield table. 0000_0000h Table 47. AFG GPIODir Command Response Format IDTTM Bit Bitfield Name RW Reset [31:5] Rsvd R 0x0 Reserved [4] Control4 RW 0x0 Direction control for GPIO4 0 = GPIO signal is configured as input 1 = GPIO signal is configured as output 44 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 47. AFG GPIODir Command Response Format Bit Bitfield Name RW Reset [3] Control3 RW 0x0 Direction control for GPIO3 0 = GPIO signal is configured as input 1 = GPIO signal is configured as output [2] Control2 RW 0x0 Direction control for GPIO2 0 = GPIO signal is configured as input 1 = GPIO signal is configured as output [1] Control1 RW 0x0 Direction control for GPIO1 0 = GPIO signal is configured as input 1 = GPIO signal is configured as output [0] Control0 RW 0x0 Direction control for GPIO0 0 = GPIO signal is configured as input 1 = GPIO signal is configured as output 3.4.2.15. Description AFG GPIOWake Table 48. AFG GPIOWake Command Verb Format Verb ID Payload Response Get F18 00 See bitfield table. Set1 718 See bits [7:0] of bitfield table. 0000_0000h Table 49. AFG GPIOWake Command Response Format Bit Bitfield Name RW Reset [31:5] Rsvd R 0x0 Reserved 0x0 Wake enable for GPIO4: 0 = wake-up event is disabled; 1 = when HD Audio link is powered down (RST# is asserted), a wake-up event will trigger a Status Change Request event on the link. 0x0 Wake enable for GPIO3: 0 = wake-up event is disabled; 1 = when HD Audio link is powered down (RST# is asserted), a wake-up event will trigger a Status Change Request event on the link. [4] [3] IDTTM En4 En3 RW RW 45 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 49. AFG GPIOWake Command Response Format Bit Bitfield Name [2] RW En2 [1] RW En1 [0] RW En0 3.4.2.16. RW Reset Description 0x0 Wake enable for GPIO2: 0 = wake-up event is disabled; 1 = when HD Audio link is powered down (RST# is asserted), a wake-up event will trigger a Status Change Request event on the link. 0x0 Wake enable for GPIO1: 0 = wake-up event is disabled; 1 = when HD Audio link is powered down (RST# is asserted), a wake-up event will trigger a Status Change Request event on the link. 0x0 Wake enable for GPIO0: 0 = wake-up event is disabled; 1 = when HD Audio link is powered down (RST# is asserted), a wake-up event will trigger a Status Change Request event on the link. AFG GPIOUnsol Table 50. AFG GPIOUnsol Command Verb Format Verb ID Payload Response Get F19 00 See bitfield table. Set1 719 See bits [7:0] of bitfield table. 0000_0000h Table 51. AFG GPIOUnsol Command Response Format Bit Bitfield Name RW Reset [31:5] Rsvd R 0x0 Reserved 0x0 Unsolicited enable mask for GPIO4. If set, and the Unsolicited Response control for this widget has been enabled, an unsolicited response will be sent when GPIO0 is configured as input and changes state. 0x0 Unsolicited enable mask for GPIO3. If set, and the Unsolicited Response control for this widget has been enabled, an unsolicited response will be sent when GPIO0 is configured as input and changes state. [4] [3] IDTTM En4 En3 RW RW 46 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 51. AFG GPIOUnsol Command Response Format Bit Bitfield Name [2] En2 [1] RW En1 [0] RW En0 3.4.2.17. RW RW Reset Description 0x0 Unsolicited enable mask for GPIO2. If set, and the Unsolicited Response control for this widget has been enabled, an unsolicited response will be sent when GPIO0 is configured as input and changes state. 0x0 Unsolicited enable mask for GPIO1. If set, and the Unsolicited Response control for this widget has been enabled, an unsolicited response will be sent when GPIO0 is configured as input and changes state. 0x0 Unsolicited enable mask for GPIO0. If set, and the Unsolicited Response control for this widget has been enabled, an unsolicited response will be sent when GPIO0 is configured as input and changes state. AFG GPIOSticky Table 52. AFG GPIOSticky Command Verb Format Verb ID Payload Response Get F1A 00 See bitfield table. Set1 71A See bits [7:0] of bitfield table. 0000_0000h Table 53. AFG GPIOSticky Command Response Format Bit Bitfield Name RW Reset [31:5] Rsvd R 0x0 Reserved 0x0 GPIO4 input type (when configured as input): 0 = Non-Sticky (level-sensitive); 1 = Sticky (edge-sensitive). Sticky inputs are cleared by writing zero to corresponding bit of GPIO Data register. GPIOPolarity determines rising or falling edge sensitivity. [4] IDTTM Mask4 RW 47 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 53. AFG GPIOSticky Command Response Format Bit Bitfield Name [3] Mask3 [2] RW Mask2 [1] RW Mask1 [0] 3.4.2.18. RW RW Mask0 RW Reset Description 0x0 GPIO3 input type (when configured as input): 0 = Non-Sticky (level-sensitive); 1 = Sticky (edge-sensitive). Sticky inputs are cleared by writing zero to corresponding bit of GPIO Data register. GPIOPolarity determines rising or falling edge sensitivity. 0x0 GPIO2 input type (when configured as input): 0 = Non-Sticky (level-sensitive); 1 = Sticky (edge-sensitive). Sticky inputs are cleared by writing zero to corresponding bit of GPIO Data register. GPIOPolarity determines rising or falling edge sensitivity. 0x0 GPIO1 input type (when configured as input): 0 = Non-Sticky (level-sensitive); 1 = Sticky (edge-sensitive). Sticky inputs are cleared by writing zero to corresponding bit of GPIO Data register. GPIOPolarity determines rising or falling edge sensitivity. 0x0 GPIO0 input type (when configured as input): 0 = Non-Sticky (level-sensitive); 1 = Sticky (edge-sensitive). Sticky inputs are cleared by writing zero to corresponding bit of GPIO Data register. GPIOPolarity determines rising or falling edge sensitivity. AFG SubID Table 54. AFG SubID Command Verb Format IDTTM Verb ID Payload Response Get F20 00 See bitfield table. Set1 720 See bits [7:0] of bitfield table. 0000_0000h Set2 721 See bits [7:0] of bitfield table. 0000_0000h 48 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 54. AFG SubID Command Verb Format Verb ID Payload Response Set3 722 See bits [7:0] of bitfield table. 0000_0000h Set4 723 See bits [7:0] of bitfield table. 0000_0000h Table 55. AFG SubID Command Response Format Bit Bitfield Name RW Reset [31:24] Subsys3 RW 0x00 Subsystem ID. (Any non-zero value) [23:16] Subsys2 RW 0x00 Subsystem ID. (Any non-zero value) [15:8] Subsys1 RW 0x01 Subsystem ID. (Any non-zero value) [7:0] Assembly RW 0x00 Assembly ID. (Not applicable to CODEC vendors) 3.4.2.19. Description AFG GPIOInvert Table 56. AFG GPIOInvert Command Verb Format Verb ID Payload Response Get FEE 00 See bitfield table. Set1 7EE See bits [7:0] of bitfield table. 0000_0000h Table 57. AFG GPIOInvert Command Response Format Bit Bitfield Name RW Reset [31:5] Rsvd R 0x0 Reserved 0x1 GPIO4 Polarity If configured as an output: 0 = inverting 1 = non-inverting If configured as a non-sticky input: 0 = inverting 1 = non-inverting If configured as a sticky input: 0 = falling events will be detected 1 = rising events will be detected. [4] IDTTM GP4 RW 49 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 57. AFG GPIOInvert Command Response Format Bit [3] [2] [1] [0] IDTTM Bitfield Name GP3 GP2 GP1 GP0 RW RW RW RW RW 50 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Reset Description 0x1 GPIO3 Polarity If configured as an output: 0 = inverting 1 = non-inverting If configured as a non-sticky input: 0 = inverting 1 = non-inverting If configured as a sticky input: 0 = falling events will be detected 1 = rising events will be detected. 0x1 GPIO2 Polarity If configured as an output: 0 = inverting 1 = non-inverting If configured as a non-sticky input: 0 = inverting 1 = non-inverting If configured as a sticky input: 0 = falling events will be detected 1 = rising events will be detected. 0x1 GPIO1 Polarity If configured as an output: 0 = inverting 1 = non-inverting If configured as a non-sticky input: 0 = inverting 1 = non-inverting If configured as a sticky input: 0 = falling events will be detected 1 = rising events will be detected. 0x1 GPIO0 Polarity If configured as an output: 0 = inverting 1 = non-inverting If configured as a non-sticky input: 0 = inverting 1 = non-inverting If configured as a sticky input: 0 = falling events will be detected 1 = rising events will be detected. STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.2.20. PC AUDIO AFG GPIODrive Table 58. AFG GPIODrive Command Verb Format Verb ID Payload Response Get FEF 00 See bitfield table. Set1 7EF See bits [7:0] of bitfield table. 0000_0000h Table 59. AFG GPIODrive Command Response Format Bit Bitfield Name RW Reset [31:5] Rsvd R 0x0 Reserved [4] OD4 RW 0x0 GPIO4 Drive Mode; 0 = push-pull (drive 0 and 1), 1 = open drain (drive 0, float for 1). [3] OD3 RW 0x0 GPIO3 Drive Mode; 0 = push-pull (drive 0 and 1), 1 = open drain (drive 0, float for 1). [2] OD2 RW 0x0 GPIO2 Drive Mode; 0 = push-pull (drive 0 and 1), 1 = open drain (drive 0, float for 1). [1] OD1 RW 0x0 GPIO1 Drive Mode; 0 = push-pull (drive 0 and 1), 1 = open drain (drive 0, float for 1). [0] OD0 RW 0x0 GPIO0 Drive Mode; 0 = push-pull (drive 0 and 1), 1 = open drain (drive 0, float for 1). 3.4.2.21. Description AFG AnaCtrl Table 60. AFG AnaCtrl Command Verb Format IDTTM Verb ID Payload Response Get FE0 00 See bitfield table. Set1 7E0 See bits [7:0] of bitfield table. 0000_0000h 51 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 61. AFG AnaCtrl Command Response Format Bit Bitfield Name RW Reset Description [31:8] Rsvd2 R 0x0 Reserved [7] AnaD3Enable RW 0x0 D3 enable signal for analog [6] ADCMixDAC RW 0x0 Enable mixing of ADC with DAC signal (for karaoke) [5] AnalogBeepEn RW 0x0 Enable Analog PC-Beep path [4] LockLS RW 0x0 Lock Level Shifters prior to digital power down while analog power still on (DEPENDS Bit) 0 = normal 1 = lock [3] UnlockLS RW 0x0 Unlock Level Shifters 0 = lock 1 = Releases lock level shift. [2] Rsvd1 R 0x0 Reserved 0x0 VAG amplifier output drive: 00 = nominal 01 = -50% 10 = +100% 11 = +50% [1:0] 3.4.2.22. VAGISel RW AFG Supply Table 62. AFG Supply Command Verb Format IDTTM Verb ID Payload Response Get FE6 00 See bitfield table. Set1 7E6 See bits [7:0] of bitfield table. 0000_0000h 52 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 63. AFG Supply Command Response Format Bit Bitfield Name RW Reset [31:7] Rsvd R 0x0 Reserved 0x0 An internal power supply anti-pop circuit prevents audible clicks and pops from being heard when the CODEC is powered on and off. This function is accomplished by delaying the charge/discharge of the VREF capacitor. A value of CVREF = 1 F will cause a turn-on delay of roughly 3 seconds, which will allow the power supplies to stabilize before the CODEC outputs are enabled. The recommended value of CVREF = 10 F will extend the delay to 30 seconds. The CODEC outputs are also kept stable for the same amount of time at power-off to allow the system to be gracefully turned off. Setting the VAGRamp bit speeds up the ramp rate by 10X (degrading the anti-pop performance), for easier production testing. Any external component anti-pop circuit is unaffected by the internal circuit. 0x0 00 = Normal Current 01 = 80% nominal Analog Current 10 = 120% nominal Analog Current 11 = 140% nominal Analog Current 0x1 0 = low-level SPDIF Input (special buffer for low level signals) 1 = standard SPDIF Input (for high level signals) 0x0 Supply Override Control. [0] = invert ADC supply [1] = invert DAC supply [2] = supply value [3] = supply override enable [7] [6:5] [4] [3:0] IDTTM VAGRamp IBIAS SPDIFPinLvl Override RW RW RW RW 53 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.2.23. PC AUDIO AFG DMicCtrl Table 64. AFG DMicCtrl Command Verb Format Verb ID Payload Response Get FF0 00 See bitfield table. Set1 7F0 See bits [7:0] of bitfield table. 0000_0000h Table 65. AFG DMicCtrl Command Response Format Bit Bitfield Name RW Reset [31:4] Rsvd R 0x0 Reserved 0x0 Selects what phase of the DigMic clock the data should be latched: 0 = rising edge 1 = center of high 2 = falling edge 3 = center of low. 0x2 Selects the DigMic rate: 0 = 4.704 MHz 1 = 3.528 MHz 2 = 2.352 MHz 3 = 1.176 MHz. [3:2] Phase [1:0] 3.4.2.24. RW Rate RW Description AFG Reset Table 66. AFG Reset Command Verb Format IDTTM Verb ID Payload Response Get 7FF 00 See bitfield table. Set1 7FF See bits [7:0] of bitfield table. 0000_0000h 54 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 67. AFG Reset Command Response Format Bit Bitfield Name RW Reset [31:0] Response R 0x0 Reserved. Overlaps Execute. 0x0 Function Reset. Function Group reset is executed when the Set verb 7FF is written with 8-bit payload of 00h. The CODEC should issue a response to acknowledge receipt of the verb, and then reset the affected Function Group and all associated widgets to their power-on reset values. Some controls such as Configuration Default controls should not be reset. Overlaps Response. [0] 3.4.3. Execute W Description PortA Node (NID = 0x0A) 3.4.3.1. PortA WCap Table 68. PortA WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 69. PortA WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Widget type = Pin Complex [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x1 Unsolicited Response is supported 55 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 69. PortA WCap Command Response Format Bit Bitfield Name RW Reset [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.3.2. Description PortA PinCap Table 70. PortA PinCap Command Verb Format Get Verb ID Payload Response F00 0C See bitfield table. Table 71. PortA PinCap Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:17] Rsvd2 R 0x0 Reserved [16] EAPDCap R 0x0 This widget does not control EAPD pin [15:8] VrefCap R 0x17 VRef generation is supported by this pin complex, and the following voltages can be produced on the associated VRef pin: 80% AVdd; 50% AVdd; GND; Hi-Z (required since pin complex is output capable) [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. [5] InCap R 0x1 Pin complex is input capable. [4] OutCap R 0x1 Pin complex is output capable. 56 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 71. PortA PinCap Command Response Format Bit Bitfield Name RW Reset [3] HdphCap R 0x1 Pin complex has headphone amplifier. [2] PresDtctCap R 0x1 Pin complex can perform Presence Detect. [1] TrigRqd R 0x1 Trigger is required for impedance measurement [0] ImpSenseCap R 0x1 Pin complex supports impedance sense. 3.4.3.3. Description PortA ConnLen Table 72. PortA ConnLen Command Verb Format Get Verb ID Payload Response F00 0E See bitfield table. Table 73. PortA ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x02 Number of NID entries in connection list. N = 02h if DAC1 enabled, N = 01h otherwise 3.4.3.4. Description PortA ConnLst Table 74. PortA ConnLst Command Verb Format Get Verb ID Payload Response F02 00 See bitfield table. Table 75. PortA ConnLst Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 Unused list entry. [23:16] Entry2 R 0x00 Unused list entry. 57 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 75. PortA ConnLst Command Response Format Bit Bitfield Name RW Reset [15:8] Entry1 R 0x11 DAC1 Converter widget. Entry1 = 11h if DAC1 enabled, Entry1 = 00h otherwise [7:0] Entry0 R 0x10 DAC0 Converter widget 3.4.3.5. Description PortA ConnSelect Table 76. PortA ConnSelect Command Verb Format Verb ID Payload Response Get F01 00 See bitfield table. Set1 701 See bits [7:0] of bitfield table. 0000_0000h Table 77. PortA ConnSelect Command Response Format Bit Bitfield Name RW Reset [31:1] Rsvd R 0x0 Reserved [0] Index RW 0x0 Connection select control index. 3.4.3.6. Description PortA PinCtl Table 78. PortA PinCtl Command Verb Format Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h Table 79. PortA PinCtl Command Response Format IDTTM Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7] HdphEn RW 0x0 1 = enable the low impedance amplifier associated with the output. [6] OutEn RW 0x0 1 = (CODEC) output path of Pin Widget is enabled 58 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 79. PortA PinCtl Command Response Format Bit Bitfield Name RW Reset [5] InEn RW 0x0 1 = (CODEC) input path of Pin Widget is enabled [4:3] Rsvd1 R 0x0 Reserved 0x0 VRefEn: Selects one of the possible states for the VRef signal associated with the Pin Widget. If the value written to this control does not correspond to a supported value defined in the VRefCntrl field of the Pin Capabilities parameter (0C), then this control will take the value of 000b (Hi-Z). (Hi-Z = 000b, 50% = 001b, GND = 010b, 80% = 100b) [2:0] 3.4.3.7. VrefSelect RW Description PortA UnsolResp Table 80. PortA UnsolResp Command Verb Format Verb ID Payload Response Get F08 00 See bitfield table. Set1 708 See bits [7:0] of bitfield table. 0000_0000h Table 81. PortA UnsolResp Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:8] Rsvd2 R 0x00 Reserved [7] En RW 0x0 Allow generation of Unsolicited Responses. Unsolicited response events occur upon jack-insertion OR completion of a Jack-Sense cycle. [6] Rsvd1 R 0x0 Reserved [5:0] Tag RW 0x00 Software programmable field returned in top six bits (31:26) of every Unsolicited Response generated by this node. 59 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.3.8. PC AUDIO PortA PinSense Table 82. PortA PinSense Command Verb Format Verb ID Payload Response Get F09 00 See bitfield table. Set1 709 See bits [7:0] of bitfield table. 0000_0000h Set2 709 See bits [7:0] of bitfield table. 0000_0000h Table 83. PortA PinSense Command Response Format Bit Bitfield Name RW Reset [31] PresDtct R 0x0 Description 1 = something is plugged into jack associated with Pin Complex. [30:0] Impedance R 0x7FFF_FFFF Measured impedance of the widget. A value of all 1s indicates that a valid sense reading is not available, or the sense measurement is busy if it has been recently triggered. [0] RightCh W 0x0 Set 1 = perform impedance sensing on right channel or ring of the connector [0] LeftCh W 0x0 Set 0 = perform impedance sensing on left channel or tip of the connector 3.4.3.9. PortA PinConfig Table 84. PortA PinConfig Command Verb Format IDTTM Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h 60 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 85. PortA PinConfig Command Response Format 3.4.4. Bit Bitfield Name RW Reset Description [31:30] Port RW 0x0 External Port Connectivity of the Pin Complex. 0 = connected to a jack [29:24] Location RW 0x02 Physical location of the jack. 02h = Mainboard, Front [23:20] Device RW 0x2 Default Device, indicating intended use of jack. 2 = HP Out [19:16] Connection RW 0x1 Connection Type. [15:12] Color RW 0x4 Color of physical jack. [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0x2 Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0x0 All Widgets in an association must have unique sequence number. 1 = 1/8 inch jack 4 = Green PortB Node (NID = 0x0B) 3.4.4.1. PortB WCap Table 86. PortB WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 87. PortB WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Widget type = Pin Complex [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability 61 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 87. PortB WCap Command Response Format Bit Bitfield Name RW Reset [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x1 Unsolicited Response is supported [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.4.2. Description PortB PinCap Table 88. PortB PinCap Command Verb Format Get Verb ID Payload Response F00 0C See bitfield table. Table 89. PortB PinCap Command Response Format Bit Bitfield Name RW Reset [31:17] Rsvd2 R 0x0 Reserved [16] EapdCap R 0x0 This widget does not control EAPD pin. 0x17 VRef generation is supported by this pin complex, and the following voltages can be produced on the associated VRef pin: 80% AVdd; 50% AVdd; GND; Hi-Z (required since pin complex is output capable) [15:8] IDTTM VrefCap R 62 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 89. PortB PinCap Command Response Format Bit Bitfield Name RW Reset [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. [5] InCap R 0x1 Pin complex is input capable. [4] OutCap R 0x1 Pin complex is output capable. [3] HdphCap R 0x0 Pin has a headphone amplifier. [2] PresDtctCap R 0x1 Pin complex can perform Presence Detect. [1] TrigRqd R 0x1 Trigger is required for impedance measurement. [0] ImpSenseCap R 0x1 Pin complex supports impedance sense. 3.4.4.3. Description PortB ConnLen Table 90. PortB ConnLen Command Verb Format Get Verb ID Payload Response F00 0E See bitfield table. Table 91. PortB ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x02 Number of NID entries in connection list. N = 02h if DAC1 enabled, N = 01h otherwise 3.4.4.4. Description PortB ConnLst Table 92. PortB ConnLst Command Verb Format Get IDTTM Verb ID Payload Response F02 00 See bitfield table. 63 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 93. PortB ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 Unused list entry. [23:16] Entry2 R 0x00 Unused list entry. [15:8] Entry1 R 0x11 DAC1 Converter widget. Entry1 = 11h if DAC1 enabled, Entry1 = 00h otherwise [7:0] Entry0 R 0x10 DAC0 Converter widget 3.4.4.5. Description PortB ConnSelect Table 94. PortB ConnSelect Command Verb Format Verb ID Payload Response Get F01 00 See bitfield table. Set1 701 See bits [7:0] of bitfield table. 0000_0000h Table 95. PortB ConnSelect Command Response Format Bit Bitfield Name RW Reset [31:1] Rsvd R 0x0 Reserved [0] Index RW 0x0 Connection select control index. 3.4.4.6. Description PortB PinCtl Table 96. PortB PinCtl Command Verb Format IDTTM Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h 64 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 97. PortB PinCtl Command Response Format Bit Bitfield Name RW Reset [31:7] Rsvd2 R 0x0 Reserved [6] OutEn RW 0x0 1 = (CODEC) output path of Pin Widget is enabled [5] InEn RW 0x0 1 = (CODEC) input path of Pin Widget is enabled [4:3] Rsvd1 R 0x0 Reserved 0x0 VRefEn: Selects one of the possible states for the VRef signal associated with the Pin Widget. If the value written to this control does not correspond to a supported value defined in the VRefCntrl field of the Pin Capabilities parameter (0C), then this control will take the value of 000b (Hi-Z). (Hi-Z = 000b, 50% = 001b, GND = 010b, 80% = 100b) [2:0] VrefSelect 3.4.4.7. RW Description PortB UnsolResp Table 98. PortB UnsolResp Command Verb Format Verb ID Payload Response Get F08 00 See bitfield table. Set1 708 See bits [7:0] of bitfield table. 0000_0000h Table 99. PortB UnsolResp Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:8] Rsvd2 R 0x00 Reserved [7] En RW 0x0 Allow generation of Unsolicited Responses. Unsolicited response events occur upon jack-insertion OR completion of a Jack-Sense cycle. [6] Rsvd1 R 0x0 Reserved [5:0] Tag RW 0x00 Software programmable field returned in top six bits (31:26) of every Unsolicited Response generated by this node. 65 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.4.8. PC AUDIO PortB PinSense Table 100. PortB PinSense Command Verb Format Verb ID Payload Response Get F09 00 See bitfield table. Set1 709 See bits [7:0] of bitfield table. 0000_0000h Set2 709 See bits [7:0] of bitfield table. 0000_0000h Table 101. PortB PinSense Command Response Format Bit Bitfield Name RW Reset [31] PresDtct R 0x0 Description 1 = something is plugged into jack associated with Pin Complex. [30:0] Impedance R 0x7FFF_FFFF Measured impedance of the widget. A value of all 1s indicates that a valid sense reading is not available, or the sense measurement is busy if it has been recently triggered. [0] RightCh W 0x0 Set 1 = perform impedance sensing on right channel or ring of the connector [0] LeftCh W 0x0 Set 0 = perform impedance sensing on left channel or tip of the connector 3.4.4.9. PortB PinConfig Table 102. PortB PinConfig Command Verb Format IDTTM Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h 66 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 103. PortB PinConfig Command Response Format 3.4.5. Bit Bitfield Name RW Reset Description [31:30] Port RW 0x0 External Port Connectivity of the Pin Complex. 0 = connected to a jack [29:24] Location RW 0x02 Physical location of the jack. 02h = Mainboard, Front [23:20] Device RW 0xA Default Device, indicating intended use of jack. A = MIC In [19:16] Connection RW 0x1 Connection Type. [15:12] Color RW 0x9 Color of physical jack. [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0x8 Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0x0 All Widgets in an association must have unique sequence number. 1 = 1/8 inch jack 9 = Pink PortC Node (NID = 0x0C) 3.4.5.1. PortC WCap Table 104. PortC WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 105. PortC WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Widget type = Pin Complex [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability 67 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 105. PortC WCap Command Response Format Bit Bitfield Name RW Reset [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present. ConnList = 1 if DAC1 enabled, ConnList = 0 otherwise [7] UnsolCap R 0x1 Unsolicited Response is supported [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.5.2. Description PortC PinCap Table 106. PortC PinCap Command Verb Format Get Verb ID Payload Response F00 0C See bitfield table. Table 107. PortC PinCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:17] Rsvd2 R 0x0 Reserved [16] EapdCap R 0x0 This widget does not control EAPD pin 68 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 107. PortC PinCap Command Response Format Bit Bitfield Name RW Reset Description [15:8] VrefCap R 0x17 VRef generation is supported by this pin complex, and the following voltages can be produced on the associated VRef pin: 80% AVdd; 50% AVdd; GND; Hi-Z (required since pin complex is output capable) [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. [5] InCap R 0x1 Pin complex is input capable. [4] OutCap R 0x1 Pin complex is output capable. OutCap = 1 if DAC1 enabled, OutCap = 0 otherwise [3] HdphCap R 0x0 Pin does not have a headphone amplifier. [2] PresDtctCap R 0x1 Pin complex can perform Presence Detect. [1] TrigRqd R 0x1 Trigger is required for impedance measurement [0] ImpSenseCap R 0x1 Pin complex supports impedance sense. 3.4.5.3. PortC ConnLen Table 108. PortC ConnLen Command Verb Format Get Verb ID Payload Response F00 0E See bitfield table. Table 109. PortC ConnLen Command Response Format IDTTM Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x01 Number of NID entries in connection list. N = 01h if DAC1 enabled, N = 00h otherwise 69 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.5.4. PC AUDIO PortC ConnLst Table 110. PortC ConnLst Command Verb Format Verb ID Payload Response F02 00 See bitfield table. Get Table 111. PortC ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 Unused list entry. [23:16] Entry2 R 0x00 Unused list entry. [15:8] Entry1 R 0x00 Unused list entry. [7:0] Entry0 R 0x11 DAC1 Converter widget. Entry1 = 11h if DAC1 enabled, Entry1 = 00h otherwise 3.4.5.5. Description PortC PinCtl Table 112. PortC PinCtl Command Verb Format Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h Table 113. PortC PinCtl Command Response Format IDTTM Bit Bitfield Name RW Reset [31:7] Rsvd2 R 0x0 Reserved [6] OutEn RW 0x0 1 = (CODEC) output path of Pin Widget is enabled [5] InEn RW 0x0 1 = (CODEC) input path of Pin Widget is enabled 70 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 113. PortC PinCtl Command Response Format Bit Bitfield Name RW Reset [4:3] Rsvd1 R 0x0 Reserved 0x0 VRefEn: Selects one of the possible states for the VRef signal associated with the Pin Widget. If the value written to this control does not correspond to a supported value defined in the VRefCntrl field of the Pin Capabilities parameter (0C), then this control will take the value of 000b (Hi-Z). (Hi-Z = 000b, 50% = 001b, GND = 010b, 80% = 100b) [2:0] VrefSelect 3.4.5.6. RW Description PortC UnsolResp Table 114. PortC UnsolResp Command Verb Format Verb ID Payload Response Get F08 00 See bitfield table. Set1 708 See bits [7:0] of bitfield table. 0000_0000h Table 115. PortC UnsolResp Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:8] Rsvd2 R 0x00 Reserved [7] En RW 0x0 Allow generation of Unsolicited Responses. Unsolicited response events occur upon jack-insertion OR completion of a Jack-Sense cycle. [6] Rsvd1 R 0x0 Reserved [5:0] Tag RW 0x00 Software programmable field returned in top six bits (31:26) of every Unsolicited Response generated by this node. 71 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.5.7. PC AUDIO PortC PinSense Table 116. PortC PinSense Command Verb Format Verb ID Payload Response Get F09 00 See bitfield table. Set1 709 See bits [7:0] of bitfield table. 0000_0000h Set2 709 See bits [7:0] of bitfield table. 0000_0000h Table 117. PortC PinSense Command Response Format Bit Bitfield Name RW Reset [31] PresDtct R 0x0 Description 1 = something is plugged into jack associated with Pin Complex. [30:0] Impedance R 0x7FFF_FFFF Measured impedance of the widget. A value of all 1s indicates that a valid sense reading is not available, or the sense measurement is busy if it has been recently triggered. [0] RightCh W 0x0 Set 1 = perform impedance sensing on right channel or ring of the connector [0] LeftCh W 0x0 Set 0 = perform impedance sensing on left channel or tip of the connector 3.4.5.8. PortC PinConfig Table 118. PortC PinConfig Command Verb Format IDTTM Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h 72 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 119. PortC PinConfig Command Response Format 3.4.6. Bit Bitfield Name RW Reset Description [31:30] Port RW 0x0 External Port Connectivity of the Pin Complex. 0 = connected to a jack [29:24] Location RW 0x01 Physical location of the jack. 01h = Mainboard, Rear [23:20] Device RW 0x8 Default Device, indicating intended use of jack. 8 = Line In [19:16] Connection RW 0x1 Connection Type. [15:12] Color RW 0x3 Color of physical jack. [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0x4 Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0xE All Widgets in an association must have unique sequence number. 1 = 1/8 inch jack 3 = Blue PortD Node (NID = 0x0D) 3.4.6.1. PortD WCap Table 120. PortD WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 121. PortD WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Widget type = Pin Complex [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability 73 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 121. PortD WCap Command Response Format Bit Bitfield Name RW Reset [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x1 Unsolicited Response is supported [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.6.2. Description PortD PinCap Table 122. PortD PinCap Command Verb Format Get Verb ID Payload Response F00 0C See bitfield table. Table 123. PortD PinCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:17] Rsvd2 R 0x0 Reserved [16] EapdCap R 0x0 This widget does not control EAPD pin [15:8] VrefCap R 0x00 VRef generation not supported by this pin complex. [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. 74 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 123. PortD PinCap Command Response Format Bit Bitfield Name RW Reset [5] InCap R 0x1 Pin complex is input capable. [4] OutCap R 0x1 Pin complex is output capable. [3] HdphCap R 0x1 Pin complex has headphone amplifier. [2] PresDtctCap R 0x1 Pin complex can perform Presence Detect. [1] TrigRqd R 0x1 Trigger is required for impedance measurement [0] ImpSenseCap R 0x1 Pin complex supports impedance sense. 3.4.6.3. Description PortD ConnLen Table 124. PortD ConnLen Command Verb Format Get Verb ID Payload Response F00 0E See bitfield table. Table 125. PortD ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x01 Number of NID entries in connection list. 3.4.6.4. Description PortD ConnLst Table 126. PortD ConnLst Command Verb Format Get IDTTM Verb ID Payload Response F02 00 See bitfield table. 75 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 127. PortD ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 Unused list entry. [23:16] Entry2 R 0x00 Unused list entry. [15:8] Entry1 R 0x00 Unused list entry. [7:0] Entry0 R 0x10 DAC0 Converter widget 3.4.6.5. Description PortD PinCtl Table 128. PortD PinCtl Command Verb Format Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h Table 129. PortD PinCtl Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7] HdphEn RW 0x0 1 = enable the low impedance amplifier associated with the output. [6] OutEn RW 0x0 1 = (CODEC) output path of Pin Widget is enabled [5] InEn RW 0x0 1 = (CODEC) input path of Pin Widget is enabled [4:0] Rsvd1 R 0x0 Reserved 3.4.6.6. Description PortD UnsolResp Table 130. PortD UnsolResp Command Verb Format IDTTM Verb ID Payload Response Get F08 00 See bitfield table. Set1 708 See bits [7:0] of bitfield table. 0000_0000h 76 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 131. PortD UnsolResp Command Response Format Bit Bitfield Name RW Reset Description [31:8] Rsvd2 R 0x00 Reserved [7] En RW 0x0 Allow generation of Unsolicited Responses. Unsolicited response events occur upon jack-insertion OR completion of a Jack-Sense cycle. [6] Rsvd1 R 0x0 Reserved [5:0] Tag RW 0x00 Software programmable field returned in top six bits (31:26) of every Unsolicited Response generated by this node. 3.4.6.7. PortD PinSense Table 132. PortD PinSense Command Verb Format Verb ID Payload Response Get F09 00 See bitfield table. Set1 709 See bits [7:0] of bitfield table. 0000_0000h Set2 709 See bits [7:0] of bitfield table. 0000_0000h Table 133. PortD PinSense Command Response Format IDTTM Bit Bitfield Name RW Reset [31] PresDtct R 0x0 Description 1 = something is plugged into jack associated with Pin Complex. [30:0] Impedance R 0x7FFF_FFFF Measured impedance of the widget. A value of all 1s indicates that a valid sense reading is not available, or the sense measurement is busy if it has been recently triggered. [0] RightCh W 0x0 Set 1 = perform impedance sensing on right channel or ring of the connector [0] LeftCh W 0x0 Set 0 = perform impedance sensing on left channel or tip of the connector 77 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.6.8. PC AUDIO PortD PinConfig Table 134. PortD PinConfig Command Verb Format Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h Table 135. PortD PinConfig Command Response Format IDTTM Bit Bitfield Name RW Reset [31:30] Port RW 0x0 External Port Connectivity of the Pin Complex. 0 = connected to a jack [29:24] Location RW 0x01 Physical location of the jack. 01h = Mainboard, Rear [23:20] Device RW 0x2 Default Device, indicating intended use of jack. 2 = HP Out [19:16] Connection RW 0x1 Connection Type. [15:12] Color RW 0x4 Color of physical jack. [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0x1 Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0xF All Widgets in an association must have unique sequence number. 78 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description 1 = 1/8 inch jack STAC9204/9205 4 = Green V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.7. PC AUDIO PortE Node (NID = 0x0E) 3.4.7.1. PortE WCap Table 136. PortE WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 137. PortE WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Widget type = Pin Complex [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x1 Unsolicited Response is supported [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 79 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.7.2. PC AUDIO PortE PinCap Table 138. PortE PinCap Command Verb Format Get Verb ID Payload Response F00 0C See bitfield table. Table 139. PortE PinCap Command Response Format Bit Bitfield Name RW Reset Description [31:17] Rsvd2 R 0x0 Reserved [16] EapdCap R 0x0 This widget does not control EAPD pin [15:8] VrefCap R 0x17 VRef generation is supported by this pin complex, and the following voltages can be produced on the associated VRef pin: 80% AVdd; 50% AVdd; GND; Hi-Z (required since pin complex is output capable) [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. [5] InCap R 0x1 Pin complex is input capable. [4] OutCap R 0x1 Pin complex is output capable. [3] HdphCap R 0x0 Pin does not have a headphone amplifier. [2] PresDtctCap R 0x1 Pin complex can perform Presence Detect. [1] TrigRqd R 0x1 Trigger is required for impedance measurement [0] ImpSenseCap R 0x1 Pin complex supports impedance sense. 3.4.7.3. PortE ConnLen Table 140. PortE ConnLen Command Verb Format Get IDTTM Verb ID Payload Response F00 0E See bitfield table. 80 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 141. PortE ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x01 Number of NID entries in connection list. 3.4.7.4. Description PortE ConnLst Table 142. PortE ConnLst Command Verb Format Verb ID Payload Response F02 00 See bitfield table. Get Table 143. PortE ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 Unused list entry. [23:16] Entry2 R 0x00 Unused list entry. [15:8] Entry1 R 0x00 Unused list entry. [7:0] Entry0 R 0x10 DAC0 Converter widget 3.4.7.5. Description PortE PinCtl Table 144. PortE PinCtl Command Verb Format Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h Table 145. PortE PinCtl Command Response Format IDTTM Bit Bitfield Name RW Reset [31:7] Rsvd2 R 0x0 Reserved [6] OutEn RW 0x0 1 = (CODEC) output path of Pin Widget is enabled 81 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 145. PortE PinCtl Command Response Format Bit Bitfield Name RW Reset [5] InEn RW 0x0 1 = (CODEC) input path of Pin Widget is enabled [4:3] Rsvd1 R 0x0 Reserved 0x0 VRefEn: Selects one of the possible states for the VRef signal associated with the Pin Widget. If the value written to this control does not correspond to a supported value defined in the VRefCntrl field of the Pin Capabilities parameter (0C), then this control will take the value of 000b (Hi-Z). (Hi-Z = 000b, 50% = 001b, GND = 010b, 80% = 100b) [2:0] VrefSelect 3.4.7.6. RW Description PortE UnsolResp Table 146. PortE UnsolResp Command Verb Format Verb ID Payload Response Get F08 00 See bitfield table. Set1 708 See bits [7:0] of bitfield table. 0000_0000h Table 147. PortE UnsolResp Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:8] Rsvd2 R 0x00 Reserved [7] En RW 0x0 Allow generation of Unsolicited Responses. Unsolicited response events occur upon jack-insertion OR completion of a Jack-Sense cycle. [6] Rsvd1 R 0x0 Reserved [5:0] Tag RW 0x00 Software programmable field returned in top six bits (31:26) of every Unsolicited Response generated by this node. 82 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.7.7. PC AUDIO PortE PinSense Table 148. PortE PinSense Command Verb Format Verb ID Payload Response Get F09 00 See bitfield table. Set1 709 See bits [7:0] of bitfield table. 0000_0000h Set2 709 See bits [7:0] of bitfield table. 0000_0000h Table 149. PortE PinSense Command Response Format Bit Bitfield Name RW Reset [31] PresDtct R 0x0 Description 1 = something is plugged into jack associated with Pin Complex. [30:0] Impedance R 0x7FFF_FFFF Measured impedance of the widget. A value of all 1s indicates that a valid sense reading is not available, or the sense measurement is busy if it has been recently triggered. [0] RightCh W 0x0 Set 1 = perform impedance sensing on right channel or ring of the connector [0] LeftCh W 0x0 Set 0 = perform impedance sensing on left channel or tip of the connector 3.4.7.8. PortE PinConfig Table 150. PortE PinConfig Command Verb Format IDTTM Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h 83 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 151. PortE PinConfig Command Response Format 3.4.8. Bit Bitfield Name RW Reset Description [31:30] Port RW 0x0 External Port Connectivity of the Pin Complex. 0 = connected to a jack [29:24] Location RW 0x01 Physical location of the jack. 01h = Mainboard, Rear [23:20] Device RW 0x0 Default Device, indicating intended use of jack. 0 = Line Out [19:16] Connection RW 0x1 Connection Type. [15:12] Color RW 0x1 Color of physical jack. [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0x1 Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0x0 All Widgets in an association must have unique sequence number. 1 = 1/8 inch jack 1 = Black PortF Node (NID = 0x0F) 3.4.8.1. PortF WCap Table 152. PortF WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 153. PortF WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Widget type = Pin Complex [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability 84 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 153. PortF WCap Command Response Format Bit Bitfield Name RW Reset [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present. ConnList = 1 if DAC1 enabled, ConnList = 0 otherwise [7] UnsolCap R 0x1 Unsolicited Response is supported [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.8.2. Description PortF PinCap Table 154. PortF PinCap Command Verb Format Get Verb ID Payload Response F00 0C See bitfield table. Table 155. PortF PinCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:17] Rsvd2 R 0x0 Reserved [16] EapdCap R 0x0 This widget does not control EAPD pin 85 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 155. PortF PinCap Command Response Format Bit Bitfield Name RW Reset Description [15:8] VrefCap R 0x17 VRef generation is supported by this pin complex, and the following voltages can be produced on the associated VRef pin: 80% AVdd; 50% AVdd; GND; Hi-Z (required since pin complex is output capable) [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. [5] InCap R 0x1 Pin complex is input capable. [4] OutCap R 0x1 Pin complex is output capable. OutCap = 1 if DAC1 enabled, OutCap = 0 otherwise [3] HdphCap R 0x0 Pin does not have a headphone amplifier. [2] PresDtctCap R 0x1 Pin complex can perform Presence Detect. [1] TrigRqd R 0x1 Trigger is required for impedance measurement [0] ImpSenseCap R 0x1 Pin complex supports impedance sense. 3.4.8.3. PortF ConnLen Table 156. PortF ConnLen Command Verb Format Get Verb ID Payload Response F00 0E See bitfield table. Table 157. PortF ConnLen Command Response Format IDTTM Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x01 Number of NID entries in connection list. N = 01h if DAC1 enabled, N = 00h otherwise 86 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.8.4. PC AUDIO PortF ConnLst Table 158. PortF ConnLst Command Verb Format Verb ID Payload Response F02 00 See bitfield table. Get Table 159. PortF ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 Unused list entry. [23:16] Entry2 R 0x00 Unused list entry. [15:8] Entry1 R 0x00 Unused list entry. [7:0] Entry0 R 0x11 DAC1 Converter widget. Entry1 = 11h if DAC1 enabled, Entry1 = 00h otherwise 3.4.8.5. Description PortF PinCtl Table 160. PortF PinCtl Command Verb Format Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h Table 161. PortF PinCtl Command Response Format IDTTM Bit Bitfield Name RW Reset [31:7] Rsvd2 R 0x0 Reserved [6] OutEn RW 0x0 1 = (CODEC) output path of Pin Widget is enabled [5] InEn RW 0x0 1 = (CODEC) input path of Pin Widget is enabled 87 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 161. PortF PinCtl Command Response Format Bit Bitfield Name RW Reset [4:3] Rsvd1 R 0x0 Reserved 0x0 VRefEn: Selects one of the possible states for the VRef signal associated with the Pin Widget. If the value written to this control does not correspond to a supported value defined in the VRefCntrl field of the Pin Capabilities parameter (0C), then this control will take the value of 000b (Hi-Z). (Hi-Z = 000b, 50% = 001b, GND = 010b, 80% = 100b) [2:0] VrefSelect 3.4.8.6. RW Description PortF UnsolResp Table 162. PortF UnsolResp Command Verb Format Verb ID Payload Response Get F08 00 See bitfield table. Set1 708 See bits [7:0] of bitfield table. 0000_0000h Table 163. PortF UnsolResp Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:8] Rsvd2 R 0x00 Reserved [7] En RW 0x0 Allow generation of Unsolicited Responses. Unsolicited response events occur upon jack-insertion OR completion of a Jack-Sense cycle. [6] Rsvd1 R 0x0 Reserved [5:0] Tag RW 0x00 Software programmable field returned in top six bits (31:26) of every Unsolicited Response generated by this node. 88 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.8.7. PC AUDIO PortF PinSense Table 164. PortF PinSense Command Verb Format Verb ID Payload Response Get F09 00 See bitfield table. Set1 709 See bits [7:0] of bitfield table. 0000_0000h Set2 709 See bits [7:0] of bitfield table. 0000_0000h Table 165. PortF PinSense Command Response Format Bit Bitfield Name RW Reset [31] PresDtct R 0x0 Description 1 = something is plugged into jack associated with Pin Complex. [30:0] Impedance R 0x7FFF_FFFF Measured impedance of the widget. A value of all 1s indicates that a valid sense reading is not available, or the sense measurement is busy if it has been recently triggered. [0] RightCh W 0x0 Set 1 = perform impedance sensing on right channel or ring of the connector [0] LeftCh W 0x0 Set 0 = perform impedance sensing on left channel or tip of the connector 3.4.8.8. PortF PinConfig Table 166. PortF PinConfig Command Verb Format IDTTM Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h 89 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 167. PortF PinConfig Command Response Format 3.4.9. Bit Bitfield Name RW Reset Description [31:30] Port RW 0x0 External Port Connectivity of the Pin Complex. 0 = connected to a jack [29:24] Location RW 0x01 Physical location of the jack. 01h = Mainboard, Rear [23:20] Device RW 0xA Default Device, indicating intended use of jack. A = MIC In [19:16] Connection RW 0x1 Connection Type. [15:12] Color RW 0x9 Color of physical jack. [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0x4 Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0x0 All Widgets in an association must have unique sequence number. 1 = 1/8 inch jack 9 = Pink DAC0 Node (NID = 0x10) 3.4.9.1. DAC0 CnvtrFrmt Table 168. DAC0 CnvtrFrmt Command Verb Format Verb ID Payload Response Get A 0000 See bitfield table. Set1 2 See bits [15:0] of bitfield table. 0000_0000h Table 169. DAC0 CnvtrFrmt Command Response Format IDTTM Bit Bitfield Name RW Reset [31:16] Rsvd2 R 0x0 Reserved [15] StrmType R 0x0 Stream Type: only PCM streams are supported by this widget. 90 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 169. DAC0 CnvtrFrmt Command Response Format Bit Bitfield Name RW Reset [14] RateBase RW 0x0 Sample Base Rate 0 = 48 KHz 1 = 44.1 KHz 0x0 Sample Base Rate Multiple 000 = 48 KHz / 44.1 KHz or less 001 = x2 010 = Reserved (x3) 011 = x4 100-111 = Reserved [13:11] RateMult RW Description [10:8] RateDiv RW 0x0 Sample Base Rate Divisor 000 = Divide by 1 001 = Divide by 2 010 = Divide by 3 011 = Divide by 4 100 = Divide by 5 101 = Divide by 6 110 = Divide by 7 111 = Divide by 8 [7] Rsvd1 R 0x0 Reserved 0x3 Bits per Sample 000 = 8 bits 001 = 16 bits 010 = 20 bits 011 = 24 bits 100-111 = Reserved 0x1 Number of Channels Number of channels in each frame of the stream. 0000 = 1 channel 0001 = 2 channels ... 1111 = 16 channels [6:4] NumBits [3:0] 3.4.9.2. RW NumChan RW DAC0 OutAmpRight Table 170. DAC0 OutAmpRight Command Verb Format IDTTM Verb ID Payload Response Get B80 00 See bitfield table. Set1 390 See bits [7:0] of bitfield table. 0000_0000h 91 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 171. DAC0 OutAmpRight Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] Mute RW 0x1 1 = mute is active [6:0] Gain RW 0x7F Amplifier gain step number 3.4.9.3. Description DAC0 OutAmpLeft Table 172. DAC0 OutAmpLeft Command Verb Format Verb ID Payload Response Get BA0 00 See bitfield table. Set1 3A0 See bits [7:0] of bitfield table. 0000_0000h Table 173. DAC0 OutAmpLeft Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] Mute RW 0x1 1 = mute is active [6:0] Gain RW 0x7F Amplifier gain step number 3.4.9.4. Description DAC0 WCap Table 174. DAC0 WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 175. DAC0 WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x0 Widget type = Audio Output [19:16] Delay R 0xD Number of sample delays through widget 92 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 175. DAC0 WCap Command Response Format Bit Bitfield Name RW Reset [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x1 Left and right channels can be swapped [10] PwrPrsnt R 0x1 Power State control is supported [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x0 No connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter. [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 No format info; use default format parameters from Audio Function node instead [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x1 Output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.9.5. Description DAC0 PwrState Table 176. DAC0 PwrState Command Verb Format Verb ID Payload Response Get F05 00 See bitfield table. Set1 705 See bits [7:0] of bitfield table. 0000_0000h Table 177. DAC0 PwrState Command Response Format IDTTM Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7:4] Act R 0x3 PS-Act: Actual power state of referenced node. 93 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 177. DAC0 PwrState Command Response Format Bit Bitfield Name RW Reset [3:2] Rsvd1 R 0x0 Reserved 0x3 PS-Set: Current power setting of referenced node. 00 - Fully on. 01 - Fully on. 10 - Fully on. 11 - Powered down. [1:0] Set 3.4.9.6. RW Description DAC0 CnvtrID Table 178. DAC0 CnvtrID Command Verb Format Verb ID Payload Response Get F06 00 See bitfield table. Set1 706 See bits [7:0] of bitfield table. 0000_0000h Table 179. DAC0 CnvtrID Command Response Format Bit Bitfield Name RW Reset Description [31:8] Rsvd R 0x0 Reserved [7:4] Stream RW 0x0 Software-programmable integer representing link stream ID used by the converter widget. By convention, stream 0 is reserved as unused. [3:0] Channel RW 0x0 Integer representing lowest channel used by converter. 3.4.9.7. DAC0 LR Table 180. DAC0 LR Command Verb Format IDTTM Verb ID Payload Response Get F0C 00 See bitfield table. Set1 70C See bits [7:0] of bitfield table. 0000_0000h 94 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 181. DAC0 LR Command Response Format 3.4.10. Bit Bitfield Name RW Reset Description [31:3] Rsvd2 R 0x0 Reserved [2] SwapEn RW 0x0 1 = enable swapping of left and right channels. [1:0] Rsvd1 R 0x0 Reserved DAC1 Node (NID = 0x11) 3.4.10.1. DAC1 CnvtrFrmt Table 182. DAC1 CnvtrFrmt Command Verb Format Verb ID Payload Response Get A 0000 See bitfield table. Set1 2 See bits [15:0] of bitfield table. 0000_0000h Table 183. DAC1 CnvtrFrmt Command Response Format Bit Bitfield Name RW Reset [31:16] Rsvd2 R 0x0 Reserved [15] StrmType R 0x0 Stream Type: only PCM streams are supported by this widget. [14] RateBase RW 0x0 Sample Base Rate 0 = 48 KHz 1 = 44.1 KHz 0x0 Sample Base Rate Multiple 000 = 48 KHz / 44.1 KHz or less 001 = x2 010 = Reserved (x3) 011 = x4 100-111 = Reserved [13:11] IDTTM RateMult RW 95 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 183. DAC1 CnvtrFrmt Command Response Format Bit Bitfield Name RW Reset Description [10:8] RateDiv RW 0x0 Sample Base Rate Divisor 000 = Divide by 1 001 = Divide by 2 010 = Divide by 3 011 = Divide by 4 100 = Divide by 5 101 = Divide by 6 110 = Divide by 7 111 = Divide by 8 [7] Rsvd1 R 0x0 Reserved 0x3 Bits per Sample 000 = 8 bits 001 = 16 bits 010 = 20 bits 011 = 24 bits 100-111 = Reserved 0x1 Number of Channels Number of channels in each frame of the stream. 0000 = 1 channel 0001 = 2 channels ... 1111 = 16 channels [6:4] NumBits [3:0] RW NumChan 3.4.10.2. RW DAC1 OutAmpRight Table 184. DAC1 OutAmpRight Command Verb Format Verb ID Payload Response Get B80 00 See bitfield table. Set1 390 See bits [7:0] of bitfield table. 0000_0000h Table 185. DAC1 OutAmpRight Command Response Format IDTTM Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] Mute RW 0x1 1 = mute is active [6:0] Gain RW 0x7F Amplifier gain step number 96 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.10.3. PC AUDIO DAC1 OutAmpLeft Table 186. DAC1 OutAmpLeft Command Verb Format Verb ID Payload Response Get BA0 00 See bitfield table. Set1 3A0 See bits [7:0] of bitfield table. 0000_0000h Table 187. DAC1 OutAmpLeft Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] Mute RW 0x1 1 = mute is active [6:0] Gain RW 0x7F Amplifier gain step number 3.4.10.4. Description DAC1 WCap Table 188. DAC1 WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 189. DAC1 WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x0 Audio Output widget. Type = 0h (Output Converter) if DAC1 enabled, Type = Fh (Vendor Defined) otherwise [19:16] Delay R 0xD Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x1 Left and right channels can be swapped [10] PwrPrsnt R 0x1 Power State control is supported [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x0 No connection list is present 97 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 189. DAC1 WCap Command Response Format Bit Bitfield Name RW Reset [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter. [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 No format info; use default format parameters from Audio Function node instead [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x1 Output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.10.5. Description DAC1 PwrState Table 190. DAC1 PwrState Command Verb Format Verb ID Payload Response Get F05 00 See bitfield table. Set1 705 See bits [7:0] of bitfield table. 0000_0000h Table 191. DAC1 PwrState Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7:4] Act R 0x3 PS-Act: Actual power state of referenced node. [3:2] Rsvd1 R 0x0 Reserved 0x3 PS-Set: Current power setting of referenced node. 00 - Fully on. 01 - Fully on. 10 - Fully on. 11 - Powered down. [1:0] IDTTM Set RW 98 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.10.6. PC AUDIO DAC1 CnvtrID Table 192. DAC1 CnvtrID Command Verb Format Verb ID Payload Response Get F06 00 See bitfield table. Set1 706 See bits [7:0] of bitfield table. 0000_0000h Table 193. DAC1 CnvtrID Command Response Format Bit Bitfield Name RW Reset Description [31:8] Rsvd R 0x0 Reserved [7:4] Stream RW 0x0 Software-programmable integer representing link stream ID used by the converter widget. By convention, stream 0 is reserved as unused. [3:0] Channel RW 0x0 Integer representing lowest channel used by converter. 3.4.10.7. DAC1 LR Table 194. DAC1 LR Command Verb Format Verb ID Payload Response Get F0C 00 See bitfield table. Set1 70C See bits [7:0] of bitfield table. 0000_0000h Table 195. DAC1 LR Command Response Format IDTTM Bit Bitfield Name RW Reset [31:3] Rsvd2 R 0x0 Reserved [2] SwapEn RW 0x0 1 = enable swapping of left and right channels. [1:0] Rsvd1 R 0x0 Reserved 99 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.11. PC AUDIO ADC0 Node (NID = 0x12) 3.4.11.1. ADC0 CnvtrFrmt Table 196. ADC0 CnvtrFrmt Command Verb Format Verb ID Payload Response Get A 0000 See bitfield table. Set1 2 See bits [15:0] of bitfield table. 0000_0000h Table 197. ADC0 CnvtrFrmt Command Response Format Bit Bitfield Name RW Reset [31:16] Rsvd2 R 0x0 Reserved [15] StrmType R 0x0 Stream Type: only PCM streams are supported by this widget. [14] RateBase RW 0x0 Sample Base Rate 0 = 48 KHz 1 = 44.1 KHz 0x0 Sample Base Rate Multiple 000 = 48 KHz / 44.1 KHz or less 001 = x2 010 = Reserved (x3) 011 = x4 100-111 = Reserved [13:11] IDTTM RateMult RW Description [10:8] RateDiv RW 0x0 Sample Base Rate Divisor 000 = Divide by 1 001 = Divide by 2 010 = Divide by 3 011 = Divide by 4 100 = Divide by 5 101 = Divide by 6 110 = Divide by 7 111 = Divide by 8 [7] Rsvd1 R 0x0 Reserved 100 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 197. ADC0 CnvtrFrmt Command Response Format Bit Bitfield Name [6:4] NumBits [3:0] 3.4.11.2. NumChan RW RW RW Reset Description 0x3 Bits per Sample 000 = 8 bits 001 = 16 bits 010 = 20 bits 011 = 24 bits 100-111 = Reserved 0x1 Number of Channels Number of channels in each frame of the stream. 0000 = 1 channel 0001 = 2 channels ... 1111 = 16 channels ADC0 WCap Table 198. ADC0 WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 199. ADC0 WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x1 Widget type = Audio Input [19:16] Delay R 0xD Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right swap capability [10] PwrPrsnt R 0x1 Power State control is supported [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x1 Software should query the Processing Controls parameter for this widget. 101 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 199. ADC0 WCap Command Response Format Bit Bitfield Name RW Reset [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 No format info; use default format parameters from Audio Function node instead [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.11.3. Description ADC0 ConnLen Table 200. ADC0 ConnLen Command Verb Format Verb ID Payload Response F00 0E See bitfield table. Get Table 201. ADC0 ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved. [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x01 Number of NID entries in connection list. 3.4.11.4. Description ADC0 ConnLst Table 202. ADC0 ConnLst Command Verb Format Get IDTTM Verb ID Payload Response F02 00 See bitfield table. 102 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 203. ADC0 ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 Unused list entry. [23:16] Entry2 R 0x00 Unused list entry. [15:8] Entry1 R 0x00 Unused list entry. [7:0] Entry0 R 0x1D ADC0Mux widget 3.4.11.5. Description ADC0 ProcState Table 204. ADC0 ProcState Command Verb Format Verb ID Payload Response Get F03 00 See bitfield table. Set1 703 See bits [7:0] of bitfield table. 0000_0000h Table 205. ADC0 ProcState Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7] HPFOCDIS RW 0x0 High Pass Filter Offset Calculation Disable 0 = Calculation enabled. 1 = Calculation disabled. [6:2] Rsvd1 R 0x0 Reserved 0x1 Processing State = 00 (OFF): bypass the ADC high pass filter; Processing State = 01, 10, 11 (ON or BENIGN): ADC high pass filter is enabled. [1:0] 3.4.11.6. ADCHPFByp RW Description ADC0 PwrState Table 206. ADC0 PwrState Command Verb Format IDTTM Verb ID Payload Response Get F05 00 See bitfield table. Set1 705 See bits [7:0] of bitfield table. 0000_0000h 103 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 207. ADC0 PwrState Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7:4] Act R 0x3 PS-Act: Actual power state of referenced node. [3:2] Rsvd1 R 0x0 Reserved 0x3 PS-Set: Current power setting of referenced node. 00 - Fully on. 01 - Fully on. 10 - Fully on. 11 - Powered down (default) [1:0] Set 3.4.11.7. RW Description ADC0 CnvtrID Table 208. ADC0 CnvtrID Command Verb Format Verb ID Payload Response Get F06 00 See bitfield table. Set1 706 See bits [7:0] of bitfield table. 0000_0000h Table 209. ADC0 CnvtrID Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:8] Rsvd R 0x0 Reserved [7:4] Stream RW 0x0 Software-programmable integer representing link stream ID used by the converter widget. By convention, stream 0 is reserved as unused. [3:0] Channel RW 0x0 Integer representing lowest channel used by converter 104 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.12. PC AUDIO ADC1 Node (NID = 0x13) 3.4.12.1. ADC1 CnvtrFrmt Table 210. ADC1 CnvtrFrmt Command Verb Format Verb ID Payload Response Get A 0000 See bitfield table. Set1 2 See bits [15:0] of bitfield table. 0000_0000h Table 211. ADC1 CnvtrFrmt Command Response Format Bit Bitfield Name RW Reset [31:16] Rsvd2 R 0x0 Reserved [15] StrmType R 0x0 Stream Type: only PCM streams are supported by this widget. [14] RateBase RW 0x0 Sample Base Rate 0 = 48 KHz 1 = 44.1 KHz 0x0 Sample Base Rate Multiple 000 = 48 KHz / 44.1 KHz or less 001 = x2 010 = Reserved (x3) 011 = x4 100-111 = Reserved [13:11] IDTTM RateMult RW Description [10:8] RateDiv RW 0x0 Sample Base Rate Divisor 000 = Divide by 1 001 = Divide by 2 010 = Divide by 3 011 = Divide by 4 100 = Divide by 5 101 = Divide by 6 110 = Divide by 7 111 = Divide by 8 [7] Rsvd1 R 0x0 Reserved 105 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 211. ADC1 CnvtrFrmt Command Response Format Bit Bitfield Name [6:4] NumBits [3:0] 3.4.12.2. NumChan RW RW RW Reset Description 0x3 Bits per Sample 000 = 8 bits 001 = 16 bits 010 = 20 bits 011 = 24 bits 100-111 = Reserved 0x1 Number of Channels Number of channels in each frame of the stream. 0000 = 1 channel 0001 = 2 channels ... 1111 = 16 channels ADC1 WCap Table 212. ADC1 WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 213. ADC1 WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x1 Widget type = Audio Input [19:16] Delay R 0xD Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right swap capability [10] PwrPrsnt R 0x1 Power State control is supported [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x1 Software should query the Processing Controls parameter for this widget. 106 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 213. ADC1 WCap Command Response Format Bit Bitfield Name RW Reset [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 No format info; use default format parameters from Audio Function node instead [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.12.3. Description ADC1 ConnLen Table 214. ADC1 ConnLen Command Verb Format Get Verb ID Payload Response F00 0E See bitfield table. Table 215. ADC1 ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved. [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x01 Number of NID entries in connection list. 3.4.12.4. Description ADC1 ConnLst Table 216. ADC1 ConnLst Command Verb Format Get IDTTM Verb ID Payload Response F02 00 See bitfield table. 107 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 217. ADC1 ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 Unused list entry. [23:16] Entry2 R 0x00 Unused list entry. [15:8] Entry1 R 0x00 Unused list entry. [7:0] Entry0 R 0x1E ADC1Mux widget 3.4.12.5. Description ADC1 ProcState Table 218. ADC1 ProcState Command Verb Format Verb ID Payload Response Get F03 00 See bitfield table. Set1 703 See bits [7:0] of bitfield table. 0000_0000h Table 219. ADC1 ProcState Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7] HPFOCDIS RW 0x0 High Pass Filter Offset Calculation Disable 0 = Calculation enabled. 1 = Calculation disabled. [6:2] Rsvd1 R 0x0 Reserved 0x1 Processing State = 00 (OFF): bypass the ADC high pass filter; Processing State = 01, 10, 11 (ON or BENIGN): ADC high pass filter is enabled. [1:0] 3.4.12.6. ADCHPFByp RW Description ADC1 PwrState Table 220. ADC1 PwrState Command Verb Format IDTTM Verb ID Payload Response Get F05 00 See bitfield table. Set1 705 See bits [7:0] of bitfield table. 0000_0000h 108 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 221. ADC1 PwrState Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7:4] Act R 0x3 PS-Act: Actual power state of referenced node. [3:2] Rsvd1 R 0x0 Reserved 0x3 PS-Set: Current power setting of referenced node. 00 - Fully on. 01 - Fully on. 10 - Fully on. 11 - Powered down (default) [1:0] Set 3.4.12.7. RW Description ADC1 CnvtrID Table 222. ADC1 CnvtrID Command Verb Format Verb ID Payload Response Get F06 00 See bitfield table. Set1 706 See bits [7:0] of bitfield table. 0000_0000h Table 223. ADC1 CnvtrID Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:8] Rsvd R 0x0 Reserved [7:4] Stream RW 0x0 Software-programmable integer representing link stream ID used by the converter widget. By convention, stream 0 is reserved as unused. [3:0] Channel RW 0x0 Integer representing lowest channel used by converter 109 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.13. PC AUDIO PortMonoOut Node (NID = 0x14) 3.4.13.1. PortMonoOut Vol Table 224. PortMonoOut Vol Command Verb Format Verb ID Payload Response Get BA0 00 See bitfield table. Set1 3A0 See bits [7:0] of bitfield table. 0000_0000h Table 225. PortMonoOut Vol Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7] Mute RW 0x1 1 = mute is active [6:5] Rsvd1 R 0x0 Reserved [4:0] Gain RW 0x1F Mono (left) amplifier gain step number 3.4.13.2. Description PortMonoOut WCap Table 226. PortMonoOut WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 227. PortMonoOut WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Widget type = Pin Complex [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream 110 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 227. PortMonoOut WCap Command Response Format Bit Bitfield Name RW Reset [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x1 This widget contains its own amplifier parameters. [2] OutAmpPrsnt R 0x1 Output amplifier is present [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x0 Mono widget 3.4.13.3. Description PortMonoOut PinCap Table 228. PortMonoOut PinCap Command Verb Format Get Verb ID Payload Response F00 0C See bitfield table. Table 229. PortMonoOut PinCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:17] Rsvd2 R 0x0 Reserved [16] EapdCap R 0x0 This widget does not control EAPD pin [15:8] VrefCap R 0x00 VRef generation N/A since pin complex is not input capable. [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. [5] InCap R 0x0 Pin complex is not input capable. [4] OutCap R 0x1 Pin complex is output capable. 111 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 229. PortMonoOut PinCap Command Response Format Bit Bitfield Name RW Reset [3] HdphCap R 0x0 Pin does not have a headphone amplifier. [2] PresDtctCap R 0x0 Pin complex cannot perform Presence Detect. [1] TrigRqd R 0x0 N/A [0] ImpSenseCap R 0x0 Pin complex does not support impedance sense. 3.4.13.4. Description PortMonoOut OutAmpCap Table 230. PortMonoOut OutAmpCap Command Verb Format Get Verb ID Payload Response F00 12 See bitfield table. Table 231. PortMonoOut OutAmpCap Command Response Format Bit Bitfield Name RW Reset [31] Mute R 0x1 Amplifier is capable of muting [30:23] Rsvd3 R 0x0 Reserved [22:16] StepSize R 0x05 Size of each step in the gain range = 1.5dB [15] Rsvd2 R 0x0 Reserved [14:8] NumSteps R 0x1F Number of steps in the gain range = 31 (32 values, -46.5dB to +0dB) [7] Rsvd1 R 0x0 Reserved [6:0] Offset R 0x1F 0dB-step is programmed with this offset 3.4.13.5. Description PortMonoOut ConnLen Table 232. PortMonoOut ConnLen Command Verb Format Get IDTTM Verb ID Payload Response F00 0E See bitfield table. 112 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 233. PortMonoOut ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x01 Number of NID entries in connection list. 3.4.13.6. Description PortMonoOut ConnLst Table 234. PortMonoOut ConnLst Command Verb Format Verb ID Payload Response F02 00 See bitfield table. Get Table 235. PortMonoOut ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 Unused list entry. [23:16] Entry2 R 0x00 Unused list entry. [15:8] Entry1 R 0x00 Unused list entry. [7:0] Entry0 R 0x15 MonoOut Mix widget. 3.4.13.7. Description PortMonoOut PinCtl Table 236. PortMonoOut PinCtl Command Verb Format Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h Table 237. PortMonoOut PinCtl Command Response Format IDTTM Bit Bitfield Name RW Reset [31:7] Rsvd2 R 0x0 113 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description Reserved STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 237. PortMonoOut PinCtl Command Response Format Bit Bitfield Name RW Reset [6] OutEn RW 0x0 1 = (CODEC) output path of Pin Widget is enabled [5:0] Rsvd1 R 0x0 Reserved 3.4.13.8. Description PortMonoOut PinConfig Table 238. PortMonoOut PinConfig Command Verb Format Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h Table 239. PortMonoOut PinConfig Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:30] Port RW 0x1 External Port Connectivity of the Pin Complex. 1 = no physical connection [29:24] Location RW 0x10 Physical location of the jack. 10h = Internal, N/A [23:20] Device RW 0x0 Default Device, indicating intended use of jack. 0 = Line Out [19:16] Connection RW 0x7 Connection Type. [15:12] Color RW 0x0 Color of physical jack. [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0xF Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0x0 All Widgets in an association must have unique sequence number. 114 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 7 = Other Analog STAC9204/9205 0 = Unknown V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.14. PC AUDIO MonoOutMix Node (NID = 0x15) 3.4.14.1. MonoOutMix WCap Table 240. MonoOutMix WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 241. MonoOutMix WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x2 Widget type = Audio Mixer [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 Swapping of left and right channels not supported [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter. [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 No format info; use default format parameters from Audio Function node instead [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x0 Mono widget 115 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.14.2. PC AUDIO MonoOutMix ConnLen Table 242. MonoOutMix ConnLen Command Verb Format Verb ID Payload Response F00 0E See bitfield table. Get Table 243. MonoOutMix ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved. [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x01 Number of NID entries in connection list. 3.4.14.3. Description MonoOutMix ConnLst Table 244. MonoOutMix ConnLst Command Verb Format Get Verb ID Payload Response F02 00 See bitfield table. Table 245. MonoOutMix ConnLst Command Response Format 3.4.15. Bit Bitfield Name RW Reset Description [31:24] Entry3 R 0x00 Unused list entry. [23:16] Entry2 R 0x00 Unused list entry. [15:8] Entry1 R 0x00 Unused list entry. [7:0] Entry0 R 0x10 DAC0 Converter widget CD Node (NID = 0x16) 3.4.15.1. CD WCap Table 246. CD WCap Command Verb Format Get IDTTM Verb ID Payload Response F00 09 See bitfield table. 116 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 247. CD WCap Command Response Format Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Widget type = Pin Complex [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x0 No connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x0 No amplifier [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.15.2. Description CD PinCap Table 248. CD PinCap Command Verb Format Get IDTTM Verb ID Payload Response F00 0C See bitfield table. 117 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 249. CD PinCap Command Response Format Bit Bitfield Name RW Reset [31:17] Rsvd2 R 0x0 Reserved [16] EapdCap R 0x0 This widget does not control EAPD pin [15:8] VrefCap R 0x00 Vref generation not supported on this pin [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. [5] InCap R 0x1 Pin complex is input capable. [4] OutCap R 0x0 Pin complex is not output capable. [3] HdphCap R 0x0 Pin does not have a headphone amplifier. [2] PresDtctCap R 0x0 Pin complex cannot perform Presence Detect. [1] TrigRqd R 0x0 N/A [0] ImpSenseCap R 0x0 Pin complex does not support impedance sense. 3.4.15.3. Description CD PinCtl Table 250. CD PinCtl Command Verb Format Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h Table 251. CD PinCtl Command Response Format IDTTM Bit Bitfield Name RW Reset [31:6] Rsvd2 R 0x0 Reserved [5] InEn RW 0x0 1 = (CODEC) input path of Pin Widget is enabled [4:0] Rsvd1 R 0x0 Reserved 118 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.15.4. PC AUDIO CD PinConfig Table 252. CD PinConfig Command Verb Format Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h Table 253. CD PinConfig Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:30] Port RW 0x1 External Port Connectivity of the Pin Complex. 1 = no physical connection [29:24] Location RW 0x10 Physical location of the jack. 10h = Internal, N/A [23:20] Device RW 0x3 Default Device, indicating intended use of jack. 3 = S887CD [19:16] Connection RW 0x3 Connection Type. [15:12] Color RW 0x0 Color of physical jack. [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0xF Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0x0 All Widgets in an association must have unique sequence number. 119 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3 = ATAPI internal STAC9204/9205 0 = Unknown V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.16. PC AUDIO DigMic0 Node (NID = 0x17) 3.4.16.1. DigMic0 WCap Table 254. DigMic0 WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 255. DigMic0 WCap Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Pin Complex widget. Type = 4h (Pin Complex) if DMIC enabled, Type = Fh (Vendor Defined) otherwise [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream (since the digital microphone input is a SDM signal that needs to be processed by the digital filters, it is not a true bit for bit digital stream like I2S or SPDIF where samples are passed through unchanged) [8] ConnList R 0x0 No connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead. [2] OutAmpPrsnt R 0x0 No output amplifier 120 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 255. DigMic0 WCap Command Response Format Bit Bitfield Name RW Reset [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.16.2. Description DigMic0 PinCap Table 256. DigMic0 PinCap Command Verb Format Get Verb ID Payload Response F00 0C See bitfield table. Table 257. DigMic0 PinCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:17] Rsvd2 R 0x0 Reserved [16] EapdCap R 0x0 This widget does not control EAPD pin [15:8] VrefCap R 0x00 VRef generation not supported by this pin complex. [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. [5] InCap R 0x1 Pin complex is input capable. [4] OutCap R 0x0 Pin complex is not output capable. [3] HdphCap R 0x0 Pin does not have a headphone amplifier. [2] PresDtctCap R 0x0 Pin complex cannot perform Presence Detect. [1] TrigRqd R 0x0 N/A [0] ImpSenseCap R 0x0 Pin complex does not support impedance sense. 121 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.16.3. PC AUDIO DigMic0 PinCtl Table 258. DigMic0 PinCtl Command Verb Format Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h Table 259. DigMic0 PinCtl Command Response Format Bit Bitfield Name RW Reset [31:6] Rsvd2 R 0x0 Reserved [5] InEn RW 0x0 1 = (CODEC) input path of Pin Widget is enabled [4:0] Rsvd1 R 0x0 Reserved 3.4.16.4. Description DigMic0 PinConfig Table 260. DigMic0 PinConfig Command Verb Format Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h Table 261. DigMic0 PinConfig Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:30] Port RW 0x1 External Port Connectivity of the Pin Complex. 1 = no physical connection [29:24] Location RW 0x10 Physical location of the jack. 10h = Internal, N/A [23:20] Device RW 0xA Default Device, indicating intended use of jack. A = MIC In [19:16] Connection RW 0x0 Connection Type. 0 = Unknown 122 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 261. DigMic0 PinConfig Command Response Format 3.4.17. Bit Bitfield Name RW Reset Description [15:12] Color RW 0x0 Color of physical jack. 0 = Unknown [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0xF Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0x0 All Widgets in an association must have unique sequence number. DigMic1 Node (NID = 0x18) 3.4.17.1. DigMic1 WCap Table 262. DigMic1 WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 263. DigMic1 WCap Command Response Format Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Pin Complex widget. Type = 4h (Pin Complex) if DMIC enabled, Type = Fh (Vendor Defined) otherwise [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x0 No support for Power State control 0x0 Widget supports an Analog stream (since the digital microphone input is a SDM signal that needs to be processed by the digital filters, it is not a true bit for bit digital stream like I2S or SPDIF where samples are passed through unchanged) [9] IDTTM DigitalStrm R 123 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 263. DigMic1 WCap Command Response Format Bit Bitfield Name RW Reset [8] ConnList R 0x0 No connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead. [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.17.2. Description DigMic1 PinCap Table 264. DigMic1 PinCap Command Verb Format Get Verb ID Payload Response F00 0C See bitfield table. Table 265. DigMic1 PinCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:17] Rsvd2 R 0x0 Reserved [16] EapdCap R 0x0 This widget does not control EAPD pin [15:8] VrefCap R 0x00 VRef generation not supported by this pin complex. [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. [5] InCap R 0x1 Pin complex is input capable. [4] OutCap R 0x0 Pin complex is not output capable. 124 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 265. DigMic1 PinCap Command Response Format Bit Bitfield Name RW Reset [3] HdphCap R 0x0 Pin does not have a headphone amplifier. [2] PresDtctCap R 0x0 Pin complex cannot perform Presence Detect. [1] TrigRqd R 0x0 N/A [0] ImpSenseCap R 0x0 Pin complex does not support impedance sense. 3.4.17.3. Description DigMic1 PinCtl Table 266. DigMic1 PinCtl Command Verb Format Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h Table 267. DigMic1 PinCtl Command Response Format Bit Bitfield Name RW Reset [31:6] Rsvd2 R 0x0 Reserved [5] InEn RW 0x0 1 = (CODEC) input path of Pin Widget is enabled [4:0] Rsvd1 R 0x0 Reserved 3.4.17.4. Description DigMic1 PinConfig Table 268. DigMic1 PinConfig Command Verb Format IDTTM Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h 125 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 269. DigMic1 PinConfig Command Response Format 3.4.18. Bit Bitfield Name RW Reset Description [31:30] Port RW 0x1 External Port Connectivity of the Pin Complex. 1 = no physical connection [29:24] Location RW 0x10 Physical location of the jack. 10h = Internal, N/A [23:20] Device RW 0xA Default Device, indicating intended use of jack. A = MIC In [19:16] Connection RW 0x0 Connection Type. [15:12] Color RW 0x0 Color of physical jack. [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0xF Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0x0 All Widgets in an association must have unique sequence number. 0 = Unknown 0 = Unknown InPort0Mux Node (NID = 0x19) 3.4.18.1. InPort0Mux WCap Table 270. InPort0Mux WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 271. InPort0Mux WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x3 Widget type = Audio Selector [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability 126 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 271. InPort0Mux WCap Command Response Format Bit Bitfield Name RW Reset [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter. [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 No format info; use default format parameters from Audio Function node instead [3] AmpOverride R 0x1 This widget contains its own amplifier parameters. [2] OutAmpPrsnt R 0x1 Output amplifier is present [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.18.2. Description InPort0Mux OutAmpCap Table 272. InPort0Mux OutAmpCap Command Verb Format Get Verb ID Payload Response F00 12 See bitfield table. Table 273. InPort0Mux OutAmpCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31] Mute R 0x0 No mute capability [30:23] Rsvd3 R 0x0 Reserved [22:16] StepSize R 0x27 Size of each step in the gain range = 10dB [15] Rsvd2 R 0x0 Reserved 127 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 273. InPort0Mux OutAmpCap Command Response Format Bit Bitfield Name RW Reset [14:8] NumSteps R 0x04 Number of steps in the gain range = 5 (0dB to +40dB) [7] Rsvd1 R 0x0 Reserved [6:0] Offset R 0x00 0dB-step is programmed with this offset 3.4.18.3. Description InPort0Mux OutAmpRight Table 274. InPort0Mux OutAmpRight Command Verb Format Verb ID Payload Response Get B80 00 See bitfield table. Set1 390 See bits [7:0] of bitfield table. 0000_0000h Table 275. InPort0Mux OutAmpRight Command Response Format Bit Bitfield Name RW Reset [31:3] Rsvd1 R 0x0 Reserved 0x0 Amplifier gain step number: 000 = 0dB; 001 = 10dB; 010 = 20dB; 011 = 30dB; 100 = 40dB [2:0] 3.4.18.4. Gain RW Description InPort0Mux OutAmpLeft Table 276. InPort0Mux OutAmpLeft Command Verb Format IDTTM Verb ID Payload Response Get BA0 00 See bitfield table. Set1 3A0 See bits [7:0] of bitfield table. 0000_0000h 128 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 277. InPort0Mux OutAmpLeft Command Response Format Bit Bitfield Name RW Reset [31:3] Rsvd1 R 0x0 Reserved 0x0 Amplifier gain step number: 000 = 0dB 001 = 10dB 010 = 20dB 011 = 30dB 100 = 40dB [2:0] 3.4.18.5. Gain RW Description InPort0Mux ConnSelect Table 278. InPort0Mux ConnSelect Command Verb Format Verb ID Payload Response Get F01 00 See bitfield table. Set1 701 See bits [7:0] of bitfield table. 0000_0000h Table 279. InPort0Mux ConnSelect Command Response Format Bit Bitfield Name RW Reset [31:3] Rsvd R 0x0 Reserved [2:0] Index RW 0x0 Connection select control index. (Default = Port E) 3.4.18.6. Description InPort0Mux ConnLen Table 280. InPort0Mux ConnLen Command Verb Format Verb ID Payload Response F00 0E See bitfield table. Get Table 281. InPort0Mux ConnLen Command Response Format IDTTM Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x07 Number of NID entries in connection list. 129 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.18.7. PC AUDIO InPort0Mux ConnLst Table 282. InPort0Mux ConnLst Command Verb Format Verb ID Payload Response F02 00 See bitfield table. Get Table 283. InPort0Mux ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x0B Port B [23:16] Entry2 R 0x0F Port F [15:8] Entry1 R 0x16 CD In [7:0] Entry0 R 0x0E Port E 3.4.18.8. Description InPort0Mux ConnLst4 Table 284. InPort0Mux ConnLst4 Command Verb Format Verb ID Payload Response F02 04 See bitfield table. Get Table 285. InPort0Mux ConnLst4 Command Response Format 3.4.19. Bit Bitfield Name RW Reset Description [31:24] Entry7 R 0x0 [23:16] Entry6 R 0x0A Port A [15:8] Entry5 R 0x0D Port D [7:0] Entry4 R 0x0C Port C No connection. InPort1Mux Node (NID = 0x1A) 3.4.19.1. InPort1Mux WCap Table 286. InPort1Mux WCap Command Verb Format Get IDTTM Verb ID Payload Response F00 09 See bitfield table. 130 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 287. InPort1Mux WCap Command Response Format Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x3 Widget type = Audio Selector [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter. [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 No format info; use default format parameters from Audio Function node instead [3] AmpOverride R 0x1 This widget contains its own amplifier parameters. [2] OutAmpPrsnt R 0x1 Output amplifier is present [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.19.2. Description InPort1Mux OutAmpCap Table 288. InPort1Mux OutAmpCap Command Verb Format Get IDTTM Verb ID Payload Response F00 12 See bitfield table. 131 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 289. InPort1Mux OutAmpCap Command Response Format Bit Bitfield Name RW Reset [31] Mute R 0x0 No mute capability [30:23] Rsvd3 R 0x0 Reserved [22:16] StepSize R 0x27 Size of each step in the gain range = 10dB [15] Rsvd2 R 0x0 Reserved [14:8] NumSteps R 0x04 Number of steps in the gain range = 5 (0dB to +40dB) [7] Rsvd1 R 0x0 Reserved [6:0] Offset R 0x00 0dB-step is programmed with this offset 3.4.19.3. Description InPort1Mux OutAmpRight Table 290. InPort1Mux OutAmpRight Command Verb Format Verb ID Payload Response Get B80 00 See bitfield table. Set1 390 See bits [7:0] of bitfield table. 0000_0000h Table 291. InPort1Mux OutAmpRight Command Response Format Bit Bitfield Name RW Reset [31:3] Rsvd1 R 0x0 Reserved 0x0 Amplifier gain step number: 000 = 0dB; 001 = 10dB; 010 = 20dB; 011 = 30dB; 100 = 40dB [2:0] IDTTM Gain RW 132 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.19.4. PC AUDIO InPort1Mux OutAmpLeft Table 292. InPort1Mux OutAmpLeft Command Verb Format Verb ID Payload Response Get BA0 00 See bitfield table. Set1 3A0 See bits [7:0] of bitfield table. 0000_0000h Table 293. InPort1Mux OutAmpLeft Command Response Format Bit Bitfield Name RW Reset [31:3] Rsvd1 R 0x0 Reserved 0x0 Amplifier gain step number: 000 = 0dB; 001 = 10dB; 010 = 20dB; 011 = 30dB; 100 = 40dB [2:0] 3.4.19.5. Gain RW Description InPort1Mux ConnSelect Table 294. InPort1Mux ConnSelect Command Verb Format Verb ID Payload Response Get F01 00 See bitfield table. Set1 701 See bits [7:0] of bitfield table. 0000_0000h Table 295. InPort1Mux ConnSelect Command Response Format Bit Bitfield Name RW Reset [31:3] Rsvd R 0x0 Reserved [2:0] Index RW 0x0 Connection select control index. (Default = Port E) 3.4.19.6. Description InPort1Mux ConnLen Table 296. InPort1Mux ConnLen Command Verb Format Get IDTTM Verb ID Payload Response F00 0E See bitfield table. 133 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 297. InPort1Mux ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x07 Number of NID entries in connection list. 3.4.19.7. Description InPort1Mux ConnLst Table 298. InPort1Mux ConnLst Command Verb Format Verb ID Payload Response F02 00 See bitfield table. Get Table 299. InPort1Mux ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x0B Port B [23:16] Entry2 R 0x0F Port F [15:8] Entry1 R 0x16 CD In [7:0] Entry0 R 0x0E Port E 3.4.19.8. Description InPort1Mux ConnLst4 Table 300. InPort1Mux ConnLst4 Command Verb Format Get Verb ID Payload Response F02 04 See bitfield table. Table 301. InPort1Mux ConnLst4 Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Entry7 R 0x0 [23:16] Entry6 R 0x0A 134 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description No connection. Port A STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 301. InPort1Mux ConnLst4 Command Response Format 3.4.20. Bit Bitfield Name RW Reset Description [15:8] Entry5 R 0x0D Port D [7:0] Entry4 R 0x0C Port C InPort0Vol Node (NID = 0x1B) 3.4.20.1. InPort0Vol WCap Table 302. InPort0Vol WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 303. InPort0Vol WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x3 Widget type = Audio Selector [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter. [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 No format info; use default format parameters from Audio Function node instead 135 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 303. InPort0Vol WCap Command Response Format Bit Bitfield Name RW Reset [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x1 Input amplifier is present [0] Stereo R 0x1 Stereo widget 3.4.20.2. Description InPort0Vol InAmpRight Table 304. InPort0Vol InAmpRight Command Verb Format Verb ID Payload Response Get B00 00 See bitfield table. Set1 350 See bits [7:0] of bitfield table. 0000_0000h Table 305. InPort0Vol InAmpRight Command Response Format Bit Bitfield Name RW Reset [31:4] Rsvd1 R 0x0 Reserved [3:0] Gain RW 0x0 Amplifier gain step number 3.4.20.3. Description InPort0Vol InAmpLeft Table 306. InPort0Vol InAmpLeft Command Verb Format Verb ID Payload Response Get B20 00 See bitfield table. Set1 360 See bits [7:0] of bitfield table. 0000_0000h Table 307. InPort0Vol InAmpLeft Command Response Format IDTTM Bit Bitfield Name RW Reset [31:4] Rsvd1 R 0x0 Reserved [3:0] Gain RW 0x0 Amplifier gain step number 136 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.20.4. PC AUDIO InPort0Vol ConnLen Table 308. InPort0Vol ConnLen Command Verb Format Get Verb ID Payload Response F00 0E See bitfield table. Table 309. InPort0Vol ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x01 Number of NID entries in connection list. 3.4.20.5. Description InPort0Vol ConnLst Table 310. InPort0Vol ConnLst Command Verb Format Get Verb ID Payload Response F02 00 See bitfield table. 3.4.20.6. Table 311. InPort0Vol ConnLst Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 No Connection [23:16] Entry2 R 0x00 No Connection [15:8] Entry1 R 0x00 No Connection [7:0] Entry0 R 0x19 InPort0 Mux widget 137 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.21. PC AUDIO InPort1Vol Node (NID = 0x1C) 3.4.21.1. InPort1Vol WCap Table 312. InPort1Vol WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 313. InPort1Vol WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x3 Widget type = Audio Selector [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter. [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 No format info; use default format parameters from Audio Function node instead [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x1 Input amplifier is present [0] Stereo R 0x1 Stereo widget 138 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.21.2. PC AUDIO InPort1Vol InAmpRight Table 314. InPort1Vol InAmpRight Command Verb Format Verb ID Payload Response Get B00 00 See bitfield table. Set1 350 See bits [7:0] of bitfield table. 0000_0000h Table 315. InPort1Vol InAmpRight Command Response Format Bit Bitfield Name RW Reset [31:4] Rsvd1 R 0x0 Reserved [3:0] Gain RW 0x0 Amplifier gain step number 3.4.21.3. Description InPort1Vol InAmpLeft Table 316. InPort1Vol InAmpLeft Command Verb Format Verb ID Payload Response Get B20 00 See bitfield table. Set1 360 See bits [7:0] of bitfield table. 0000_0000h Table 317. InPort1Vol InAmpLeft Command Response Format Bit Bitfield Name RW Reset [31:4] Rsvd1 R 0x0 Reserved [3:0] Gain RW 0x0 Amplifier gain step number 3.4.21.4. Description InPort1Vol ConnLen Table 318. InPort1Vol ConnLen Command Verb Format Get IDTTM Verb ID Payload Response F00 0E See bitfield table. 139 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 319. InPort1Vol ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x01 Number of NID entries in connection list. 3.4.21.5. Description InPort1Vol ConnLst Table 320. InPort1Vol ConnLst Command Verb Format Get Verb ID Payload Response F02 00 See bitfield table. Table 321. InPort1Vol ConnLst Command Response Format 3.4.22. Bit Bitfield Name RW Reset Description [31:24] Entry3 R 0x00 No Connection [23:16] Entry2 R 0x00 No Connection [15:8] Entry1 R 0x00 No Connection [7:0] Entry0 R 0x1A InPort1Mux widget ADC0Mux Node (NID = 0x1D) 3.4.22.1. ADC0Mux WCap Table 322. ADC0Mux WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 323. ADC0Mux WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x3 Widget type = Audio Selector 140 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 323. ADC0Mux WCap Command Response Format Bit Bitfield Name RW Reset [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x1 Left and right channels can be swapped [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter. [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 No format info; use default format parameters from Audio Function node instead [3] AmpOverride R 0x1 This widget contains its own amplifier parameters. [2] OutAmpPrsnt R 0x1 Output amplifier is present [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.22.2. Description ADC0Mux ConnSelect Table 324. ADC0Mux ConnSelect Command Verb Format IDTTM Verb ID Payload Response Get F01 00 See bitfield table. Set1 701 See bits [7:0] of bitfield table. 0000_0000h 141 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 325. ADC0Mux ConnSelect Command Response Format Bit Bitfield Name RW Reset [31:2] Rsvd R 0x0 Reserved [1:0] Index RW 0x0 Connection select control index. 3.4.22.3. Description ADC0Mux ConnLen Table 326. ADC0Mux ConnLen Command Verb Format Get Verb ID Payload Response F00 0E See bitfield table. Table 327. ADC0Mux ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x03 Number of NID entries in connection list. N = 03h if DMIC enabled, N = 01h otherwise 3.4.22.4. Description ADC0Mux ConnLst Table 328. ADC0Mux ConnLst Command Verb Format Get Verb ID Payload Response F02 00 See bitfield table. Table 329. ADC0Mux ConnLst Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 No connection [23:16] Entry2 R 0x18 DMic1 Pin widget. Entry2 = 18h if DMIC enabled, Entry2 = 00h otherwise 142 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 329. ADC0Mux ConnLst Command Response Format Bit Bitfield Name RW Reset [15:8] Entry1 R 0x17 DMic0 Pin widget. Entry1 = 17h if DMIC enabled, Entry1 = 00h otherwise [7:0] Entry0 R 0x1B InPort0Vol widget 3.4.22.5. Description ADC0Mux LR Table 330. ADC0Mux LR Command Verb Format Verb ID Payload Response Get F0C 00 See bitfield table. Set1 70C See bits [7:0] of bitfield table. 0000_0000h Table 331. ADC0Mux LR Command Response Format Bit Bitfield Name RW Reset [31:3] Rsvd2 R 0x0 Reserved [2] SwapEn RW 0x0 1 = swap left and right channels of this Widget. [1:0] Rsvd1 R 0x0 Reserved 3.4.22.6. Description ADC0Mux OutAmpCap Table 332. ADC0Mux OutAmpCap Command Verb Format Get Verb ID Payload Response F00 12 See bitfield table. Table 333. ADC0Mux OutAmpCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31] Mute R 0x1 Amplifier is capable of muting [30:23] Rsvd3 R 0x0 Reserved [22:16] StepSize R 0x00 Size of each step in the gain range, N/A since there are no steps 143 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 333. ADC0Mux OutAmpCap Command Response Format Bit Bitfield Name RW Reset [15] Rsvd2 R 0x0 Reserved [14:8] NumSteps R 0x00 No steps, gain is fixed at 0dB [7] Rsvd1 R 0x0 Reserved [6:0] Offset R 0x00 0dB-step is programmed with this offset 3.4.22.7. Description ADC0Mux OutAmpRight Table 334. ADC0Mux OutAmpRight Command Verb Format Verb ID Payload Response Get B80 00 See bitfield table. Set1 390 See bits [7:0] of bitfield table. 0000_0000h Table 335. ADC0Mux OutAmpRight Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7] Mute RW 0x1 1 = mute is active [6:0] Rsvd1 R 0x0 Reserved 3.4.22.8. Description ADC0Mux OutAmpLeft Table 336. ADC0Mux OutAmpLeft Command Verb Format Verb ID Payload Response Get BA0 00 See bitfield table. Set1 3A0 See bits [7:0] of bitfield table. 0000_0000h Table 337. ADC0Mux OutAmpLeft Command Response Format IDTTM Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 144 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description Reserved STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 337. ADC0Mux OutAmpLeft Command Response Format 3.4.23. Bit Bitfield Name RW Reset Description [7] Mute RW 0x1 1 = mute is active [6:0] Rsvd1 R 0x0 Reserved ADC1Mux Node (NID = 0x1E) 3.4.23.1. ADC1Mux WCap Table 338. ADC1Mux WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 339. ADC1Mux WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x3 Widget type = Audio Selector [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x1 Left and right channels can be swapped [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x0 Widget supports an Analog stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter. [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 No format info; use default format parameters from Audio Function node instead 145 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 339. ADC1Mux WCap Command Response Format Bit Bitfield Name RW Reset [3] AmpOverride R 0x1 This widget contains its own amplifier parameters. [2] OutAmpPrsnt R 0x1 Output amplifier is present [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.23.2. Description ADC1Mux ConnSelect Table 340. ADC1Mux ConnSelect Command Verb Format Verb ID Payload Response Get F01 00 See bitfield table. Set1 701 See bits [7:0] of bitfield table. 0000_0000h Table 341. ADC1Mux ConnSelect Command Response Format Bit Bitfield Name RW Reset [31:2] Rsvd R 0x0 Reserved [1:0] Index RW 0x0 Connection select control index. 3.4.23.3. Description ADC1Mux ConnLen Table 342. ADC1Mux ConnLen Command Verb Format Get Verb ID Payload Response F00 0E See bitfield table. Table 343. ADC1Mux ConnLen Command Response Format IDTTM Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 146 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description Reserved STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 343. ADC1Mux ConnLen Command Response Format Bit Bitfield Name RW Reset [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x03 Number of NID entries in connection list. N = 03h if DMIC enabled, N = 01h otherwise 3.4.23.4. Description ADC1Mux ConnLst Table 344. ADC1Mux ConnLst Command Verb Format Get Verb ID Payload Response F02 00 See bitfield table. Table 345. ADC1Mux ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 No connection [23:16] Entry2 R 0x18 DMic1 Pin widget. Entry2 = 18h if DMIC enabled, Entry2 = 00h otherwise [15:8] Entry1 R 0x17 DMic0 Pin widget. Entry1 = 17h if DMIC enabled, Entry1 = 00h otherwise [7:0] Entry0 R 0x1C InPort1Vol widget 3.4.23.5. Description ADC1Mux LR Table 346. ADC1Mux LR Command Verb Format IDTTM Verb ID Payload Response Get F0C 00 See bitfield table. Set1 70C See bits [7:0] of bitfield table. 0000_0000h 147 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 347. ADC1Mux LR Command Response Format Bit Bitfield Name RW Reset [31:3] Rsvd2 R 0x0 Reserved [2] SwapEn RW 0x0 1 = swap left and right channels of this Widget. [1:0] Rsvd1 R 0x0 Reserved 3.4.23.6. Description ADC1Mux OutAmpCap Table 348. ADC1Mux OutAmpCap Command Verb Format Get Verb ID Payload Response F00 12 See bitfield table. Table 349. ADC1Mux OutAmpCap Command Response Format Bit Bitfield Name RW Reset [31] Mute R 0x1 Amplifier is capable of muting [30:23] Rsvd3 R 0x0 Reserved [22:16] StepSize R 0x00 Size of each step in the gain range, N/A since there are no steps [15] Rsvd2 R 0x0 Reserved [14:8] NumSteps R 0x00 No steps, gain is fixed at 0dB [7] Rsvd1 R 0x0 Reserved [6:0] Offset R 0x00 0dB-step is programmed with this offset 3.4.23.7. Description ADC1Mux OutAmpRight Table 350. ADC1Mux OutAmpRight Command Verb Format IDTTM Verb ID Payload Response Get B80 00 See bitfield table. Set1 390 See bits [7:0] of bitfield table. 0000_0000h 148 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 351. ADC1Mux OutAmpRight Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7] Mute RW 0x1 1 = mute is active [6:0] Rsvd1 R 0x0 Reserved 3.4.23.8. Description ADC1Mux OutAmpLeft Table 352. ADC1Mux OutAmpLeft Command Verb Format Verb ID Payload Response Get BA0 00 See bitfield table. Set1 3A0 See bits [7:0] of bitfield table. 0000_0000h Table 353. ADC1Mux OutAmpLeft Command Response Format 3.4.24. Bit Bitfield Name RW Reset Description [31:8] Rsvd2 R 0x0 Reserved [7] Mute RW 0x1 1 = mute is active [6:0] Rsvd1 R 0x0 Reserved SPDIFOut Node (NID = 0x1F) 3.4.24.1. SPDIFOut CnvtrFrmt Table 354. SPDIFOut CnvtrFrmt Command Verb Format IDTTM Verb ID Payload Response Get A 0000 See bitfield table. Set1 2 See bits [15:0] of bitfield table. 0000_0000h 149 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 355. SPDIFOut CnvtrFrmt Command Response Format Bit Bitfield Name RW Reset [31:16] Rsvd2 R 0x0 Reserved [15] StrmType RW 0x0 Stream Type 0 = PCM 1 = Non-PCM (remaining bits in this verb have other meanings) [14] RateBase RW 0x0 Sample Base Rate 0 = 48 KHz 1 = 44.1 KHz 0x0 Sample Base Rate Multiple 000 = 48 KHz / 44.1 KHz or less 001 = x2 010 = Reserved (x3) 011 = x4 100-111 = Reserved [13:11] RateMult RW [10:8] RateDiv RW 0x0 Sample Base Rate Divisor 000 = Divide by 1 001 = Divide by 2 010 = Divide by 3 011 = Divide by 4 100 = Divide by 5 101 = Divide by 6 110 = Divide by 7 111 = Divide by 8 [7] Rsvd1 R 0x0 Reserved 0x3 Bits per Sample 000 = 8 bits 001 = 16 bits 010 = 20 bits 011 = 24 bits 100-111 = Reserved 0x1 Number of Channels Number of channels in each frame of the stream. 0000 = 1 channel 0001 = 2 channels ... 1111 = 16 channels [6:4] [3:0] IDTTM Description NumBits NumChan RW RW 150 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.24.2. PC AUDIO SPDIFOut WCap Table 356. SPDIFOut WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 357. SPDIFOut WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x0 Widget type = Audio Output [19:16] Delay R 0x4 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x1 Widget supports a Digital stream [8] ConnList R 0x0 No connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x1 Widget contains format info; software should query [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 151 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.24.3. PC AUDIO SPDIFOut FrmtCap Table 358. SPDIFOut FrmtCap Command Verb Format Get Verb ID Payload Response F00 0A See bitfield table. Table 359. SPDIFOut FrmtCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:21] Rsvd2 R 0x0 Reserved [20] B32 R 0x0 32 bit audio formats are NOT supported [19] B24 R 0x1 24 bit audio formats are supported [18] B20 R 0x1 20 bit audio formats are supported [17] B16 R 0x1 16 bit audio formats are supported [16] B8 R 0x0 8 bit audio formats are NOT supported [15:12] Rsvd1 R 0x0 Reserved [11] R12 R 0x0 384 KHz rate (8/1*48 KHz) NOT supported [10] R11 R 0x1 192.0 KHz rate (4/1*48 KHz) supported [9] R10 R 0x0 176.4 KHz rate (4/1*44.1 KHz) NOT supported [8] R9 R 0x1 96.0 KHz rate (2/1*48 KHz) supported [7] R8 R 0x1 88.2 KHz rate (2/1*44.1 KHz) supported [6] R7 R 0x1 48.0 KHz rate supported (REQUIRED) [5] R6 R 0x1 44.1 KHz rate supported [4] R5 R 0x0 32.0 KHz rate (2/3*48 KHz) NOT supported [3] R4 R 0x0 22.05 KHz rate (1/2*44.1 KHz) NOT supported [2] R3 R 0x0 16.0 KHz rate (1/3*48 KHz) NOT supported [1] R2 R 0x0 11.025 KHz rate (1/4*44.0 KHz) NOT supported [0] R1 R 0x0 8.0 KHz rate (1/6*48 KHz) NOT supported 152 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.24.4. PC AUDIO SPDIFOut StreamCap Table 360. SPDIFOut StreamCap Command Verb Format Get Verb ID Payload Response F00 0B See bitfield table. Table 361. SPDIFOut StreamCap Command Response Format Bit Bitfield Name RW Reset [31:3] Rsvd R 0x0 Reserved [2] NonPCM R 0x1 Non-PCM data supported. [1] Float32 R 0x0 No support for Float32 data. [0] PCM R 0x1 PCM-formatted data supported. 3.4.24.5. Description SPDIFOut CnvtrID Table 362. SPDIFOut CnvtrID Command Verb Format Verb ID Payload Response Get F06 00 See bitfield table. Set1 706 See bits [7:0] of bitfield table. 0000_0000h Table 363. SPDIFOut CnvtrID Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:8] Rsvd R 0x0 Reserved [7:4] Stream RW 0x0 Software-programmable integer representing link stream ID used by the converter widget. By convention, stream 0 is reserved as unused. [3:0] Channel RW 0x0 Integer representing lowest channel used by converter 153 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.24.6. PC AUDIO SPDIFOut DigCtl Table 364. SPDIFOut DigCtl Command Verb Format Verb ID Payload Response Get F0D 00 See bitfield table. Set1 70D See bits [7:0] of bitfield table. 0000_0000h Set2 70E See bits [7:0] of bitfield table. 0000_0000h Table 365. SPDIFOut DigCtl Command Response Format 3.4.25. Bit Bitfield Name RW Reset Description [31:16] Rsvd2 R 0x0 Reserved [15] Rsvd1 R 0x0 Rsvd [14:8] CC RW 0x00 CC[6:0] - Category Code [7] L RW 0x0 L - Generation Level [6] PRO RW 0x0 PRO - Professional [5] AUDIO RW 0x0 /AUDIO - Non-Audio [4] COPY RW 0x0 COPY - Copyright [3] PRE RW 0x0 PRE - Pre-emphasis [2] VCFG RW 0x0 VCFG - Validity Config [1] V RW 0x0 V - Validity [0] DigEn RW 0x0 DigEn - Digital Enable SPDIFIn Node (NID = 0x20) 3.4.25.1. SPDIFIn CnvtrFrmt Table 366. SPDIFIn CnvtrFrmt Command Verb Format IDTTM Verb ID Payload Response Get A 0000 See bitfield table. Set1 2 See bits [15:0] of bitfield table. 0000_0000h 154 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 367. SPDIFIn CnvtrFrmt Command Response Format Bit Bitfield Name RW Reset [31:16] Rsvd2 R 0x0 Reserved [15] StrmType RW 0x0 Stream Type 0 = PCM 1 = Non-PCM (remaining bits in this verb have other meanings) [14] RateBase RW 0x0 Sample Base Rate 0 = 48 KHz 1 = 44.1 KHz 0x0 Sample Base Rate Multiple 000 = 48 KHz / 44.1 KHz or less 001 = x2 010 = Reserved (x3) 011 = x4 100-111 = Reserved [13:11] RateMult RW [10:8] RateDiv RW 0x0 Sample Base Rate Divisor 000 = Divide by 1 001 = Divide by 2 010 = Divide by 3 011 = Divide by 4 100 = Divide by 5 101 = Divide by 6 110 = Divide by 7 111 = Divide by 8 [7] Rsvd1 R 0x0 Reserved 0x3 Bits per Sample 000 = 8 bits 001 = 16 bits 010 = 20 bits 011 = 24 bits 100-111 = Reserved 0x1 Number of Channels Number of channels in each frame of the stream. 0000 = 1 channel 0001 = 2 channels ... 1111 = 16 channels [6:4] [3:0] IDTTM Description NumBits NumChan RW RW 155 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.25.2. PC AUDIO SPDIFIn WCap Table 368. SPDIFIn WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 369. SPDIFIn WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x1 Widget type = Audio Input. Input Converter (1h) if SPDIFIn enabled, Vendor Defined (Fh) otherwise [19:16] Delay R 0x4 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x1 Widget supports a Digital stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 Unsolicited Response is not supported [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x1 Widget contains format info; software should query [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 156 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.25.3. PC AUDIO SPDIFIn FrmtCap Table 370. SPDIFIn FrmtCap Command Verb Format Get Verb ID Payload Response F00 0A See bitfield table. Table 371. SPDIFIn FrmtCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:21] Rsvd2 R 0x0 Reserved [20] B32 R 0x0 32 bit audio formats are NOT supported [19] B24 R 0x1 24 bit audio formats are supported [18] B20 R 0x1 20 bit audio formats are supported [17] B16 R 0x1 16 bit audio formats are supported [16] B8 R 0x0 8 bit audio formats are NOT supported [15:12] Rsvd1 R 0x0 Reserved [11] R12 R 0x0 384 KHz rate (8/1*48 KHz) NOT supported [10] R11 R 0x0 192.0 KHz rate (4/1*48 KHz) NOT supported [9] R10 R 0x0 176.4 KHz rate (4/1*44.1 KHz) NOT supported [8] R9 R 0x1 96.0 KHz rate (2/1*48 KHz) supported [7] R8 R 0x0 88.2 KHz rate (2/1*44.1 KHz) NOT supported [6] R7 R 0x1 48.0 KHz rate supported (REQUIRED) [5] R6 R 0x1 44.1 KHz rate supported [4] R5 R 0x0 32.0 KHz rate (2/3*48 KHz) NOT supported [3] R4 R 0x0 22.05 KHz rate (1/2*44.1 KHz) NOT supported [2] R3 R 0x0 16.0 KHz rate (1/3*48 KHz) NOT supported [1] R2 R 0x0 11.025 KHz rate (1/4*44.0 KHz) NOT supported [0] R1 R 0x0 8.0 KHz rate (1/6*48 KHz) NOT supported 157 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.25.4. PC AUDIO SPDIFIn StreamCap Table 372. SPDIFIn StreamCap Command Verb Format Verb ID Payload Response F00 0B See bitfield table. Get Table 373. SPDIFIn StreamCap Command Response Format Bit Bitfield Name RW Reset [31:3] Rsvd R 0x0 Reserved [2] NonPCM R 0x1 Non-PCM data supported. [1] Float32 R 0x0 No support for Float32 data. [0] PCM R 0x1 PCM-formatted data supported. 3.4.25.5. Description SPDIFIn ConnLen Table 374. SPDIFIn ConnLen Command Verb Format Verb ID Payload Response F00 0E See bitfield table. Get Table 375. SPDIFIn ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved. [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x01 Number of NID entries in connection list. 3.4.25.6. Description SPDIFIn ConnLst Table 376. SPDIFIn ConnLst Command Verb Format Get IDTTM Verb ID Payload Response F02 00 See bitfield table. 158 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 377. SPDIFIn ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 Unused list entry. [23:16] Entry2 R 0x00 Unused list entry. [15:8] Entry1 R 0x00 Unused list entry. [7:0] Entry0 R 0x22 DigIn pin widget 3.4.25.7. Description SPDIFIn CnvtrID Table 378. SPDIFIn CnvtrID Command Verb Format Verb ID Payload Response Get F06 00 See bitfield table. Set1 706 See bits [7:0] of bitfield table. 0000_0000h Table 379. SPDIFIn CnvtrID Command Response Format Bit Bitfield Name RW Reset Description [31:8] Rsvd R 0x0 Reserved [7:4] Stream RW 0x0 Software-programmable integer representing link stream ID used by the converter widget. By convention, stream 0 is reserved as unused. [3:0] Channel RW 0x0 Integer representing lowest channel used by converter 3.4.25.8. SPDIFIn DigCtl Table 380. SPDIFIn DigCtl Command Verb Format IDTTM Verb ID Payload Response Get F0D 00 See bitfield table. Set1 70D See bits [7:0] of bitfield table. 0000_0000h Set2 70E See bits [7:0] of bitfield table. 0000_0000h 159 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 381. SPDIFIn DigCtl Command Response Format Bit Bitfield Name RW Reset [31:15] Rsvd2 R 0x0 Reserved [14:8] CC R 0x00 CC[6:0] - Category Code [7] L R 0x0 L - Generation Level [6] PRO R 0x0 PRO - Professional [5] AUDIO R 0x0 /AUDIO - Non-Audio [4] COPY R 0x0 COPY - Copyright [3] PRE R 0x0 PRE - Pre-emphasis [2] Rsvd1 R 0x0 Reserved (VCFG bit applies only to output streams) [1] V R 0x0 V - Validity [0] DigEn RW 0x0 DigEn - Digital Enable 3.4.25.9. Description SPDIFIn VSR Table 382. SPDIFIn VSR Command Verb Format Verb ID Payload Response Get FE0 00 See bitfield table. Set1 7E0 See bits [7:0] of bitfield table. 0000_0000h Table 383. SPDIFIn VSR Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31] RcvRateBase R 0x0 Recovered sample rate base 0 = 48 KHz 1 = 44.1 KHz [30:28] RcvRateMult R 0x0 Recovered sample rate multiplier 000 = 1X 001 = 2X all others reserved [27:26] Rsvd R 0x0 Reserved 160 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 383. SPDIFIn VSR Command Response Format Bit Bitfield Name RW Reset [25:22] OrigFS R 0x0 Original sample rate (IEC spec). 0x0 Clock accuracy 00 = Level II 01 = Level I 10 = Level III 11 = Reserved 0x0 Sample Rate 0000 = 44.1 KHz 0010 = 48 KHz 0011 = 32 KHz All other combinations are reserved and shall not be used until further defined (IEC spec). 0x0 Channel Number (audio channel) 0000 = do not take into account 0001 = A (left channel for stereo channel format) 0010 = B (right channel for stereo channel format) 0011 = C ... 1111 = O 0x0 Sample Word Length [2:0] If MaxWordLen = 1: 000 = unspecified 001 = 20 bits 010 = 22 bits 011 = reserved 100 = 23 bits 101 = 24 bits 110 = 21 bits 111 = reserved If MaxWordLen = 0: 000 = unspecified 001 = 16 bits 010 = 18 bits 011 = reserved 100 = 19 bits 101 = 20 bits 110 = 17 bits 111 = reserved [21:20] [19:16] [15:12] [11:9] IDTTM CA FS CN WordLen R R R R 161 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 383. SPDIFIn VSR Command Response Format Bit RW Reset Description [8] MaxWordLen R 0x0 Max Word Length 0 = maximum audio sample word length is 20 bits 1 = maximum audio sample word length is 24 bits [7] IgnoreBlkSz RW 0x0 0 = normal behavior 1 = disable block size checking for SPDIF_IN. [6] IgnoreV RW 0x0 0 = Respond to SPDIF_IN Valid tag 1 = Ignore SPDIF_IN valid tag [5] AutoMuteDis RW 0x0 0 = Auto mute when SPDIF stream marked non PCM 1 = Auto Mute disabled. 0x0 SPDIF_IN Parity Limit: Loss of DPLL Lock after 00 = 4 parity errors 01 = 3 parity errors 10 = 2 parity errors 11 = 1 parity errors NEW LOCATION -- was at Register 72h, Page 0, D13:12, moved as part of SPDIF In consolidation [4:3] IDTTM Bitfield Name ParityLimit RW [2] Running R 0x0 SPDIF IN Running 0 = no signal on pin 47 1 = signal on pin 47 NEW LOCATION -- was at Register 72h, Page 0, D2, moved as part of SPDIF In consolidation [1] ParityErr RW 0x0 SPDIF_IN PARITY ERROR. Set to clear. Overlaps SIPERSTAT. [0] InvertCOPY RW 0x0 Copyright invert bit. 162 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.26. PC AUDIO DigOut Node (NID = 0x21) 3.4.26.1. DigOut WCap Table 384. DigOut WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 385. DigOut WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Widget type = Pin Complex [19:16] Delay R 0x0 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No support for swapping left and right channels [10] PwrPrsnt R 0x0 No support for Power State control [9] DigitalStrm R 0x1 Widget supports a Digital stream [8] ConnList R 0x1 Connection list is present [7] UnsolCap R 0x0 No support for Unsolicited Response [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 163 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.26.2. PC AUDIO DigOut PinCap Table 386. DigOut PinCap Command Verb Format Verb ID Payload Response F00 0C See bitfield table. Get Table 387. DigOut PinCap Command Response Format Bit Bitfield Name RW Reset [31:17] Rsvd2 R 0x0 Reserved [16] EapdCap R 0x0 This widget does not control EAPD pin [15:8] VrefCap R 0x00 Vref generation not supported on this pin [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. [5] InCap R 0x0 Pin complex is not input capable. [4] OutCap R 0x1 Pin complex is output capable. [3] HdphCap R 0x0 Pin does not have a headphone amplifier. [2] PresDtctCap R 0x0 Pin complex cannot perform Presence Detect. [1] TrigRqd R 0x0 N/A [0] ImpSenseCap R 0x0 Pin complex does not support impedance sense. 3.4.26.3. Description DigOut ConnSelect Table 388. DigOut ConnSelect Command Verb Format IDTTM Verb ID Payload Response Get F01 00 See bitfield table. Set1 701 See bits [7:0] of bitfield table. 0000_0000h 164 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 389. DigOut ConnSelect Command Response Format Bit Bitfield Name RW Reset [31:2] Rsvd R 0x0 Reserved [1:0] Index RW 0x0 Connection select control index. 3.4.26.4. Description DigOut ConnLen Table 390. DigOut ConnLen Command Verb Format Get Verb ID Payload Response F00 0E See bitfield table. Table 391. DigOut ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved. [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x03 Number of NID entries in connection list. 3.4.26.5. Description DigOut ConnLst Table 392. DigOut ConnLst Command Verb Format Get Verb ID Payload Response F02 00 See bitfield table. Table 393. DigOut ConnLst Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Entry3 R 0x00 No connection [23:16] Entry2 R 0x1E ADC1Mux widget [15:8] Entry1 R 0x1D ADC0Mux widget [7:0] Entry0 R 0x1F SPDIF Out Converter widget 165 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.26.6. PC AUDIO DigOut PinCtl Table 394. DigOut PinCtl Command Verb Format Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h Table 395. DigOut PinCtl Command Response Format Bit Bitfield Name RW Reset [31:7] Rsvd2 R 0x0 Reserved [6] OutEn RW 0x0 1 = (CODEC) output path of Pin Widget is enabled [5:0] Rsvd1 R 0x0 Reserved 3.4.26.7. Description DigOut PinConfig Table 396. DigOut PinConfig Command Verb Format Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h Table 397. DigOut PinConfig Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:30] Port RW 0x0 External Port Connectivity of the Pin Complex. 0 = connected to a jack [29:24] Location RW 0x01 Physical location of the jack. 01h = Mainboard, Rear [23:20] Device RW 0x4 Default Device, indicating intended use of jack. 4 = SPDIF Out 166 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 397. DigOut PinConfig Command Response Format 3.4.27. Bit Bitfield Name RW Reset Description [19:16] Connection RW 0x4 Connection Type. [15:12] Color RW 0x2 Color of physical jack. [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0x7 Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0x0 All Widgets in an association must have unique sequence number. 4 = RCA 2 = Grey DigIn Node (NID = 0x22) 3.4.27.1. DigIn WCap Table 398. DigIn WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 399. DigIn WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x4 Widget type = Pin Complex. Pin Complex (4h) if SPDIFIn enabled, Vendor Defined (Fh) otherwise [19:16] Delay R 0x3 Number of sample delays through widget [15:12] Rsvd1 R 0x0 Reserved [11] SwapCap R 0x0 No left/right channel swap capability [10] PwrPrsnt R 0x1 Power State control capability for support of EAPD [9] DigitalStrm R 0x1 Widget supports a Digital stream [8] ConnList R 0x0 No connection list is present 167 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 399. DigIn WCap Command Response Format Bit Bitfield Name RW Reset [7] UnsolCap R 0x1 Unsolicited Response is supported [6] ProcPrsnt R 0x0 No Processing Controls parameter [5] Stripe R 0x0 No support for striping [4] FrmtOverride R 0x0 N/A for pin complex [3] AmpOverride R 0x0 No amplifier info; use default amplifier parameters from Audio Function node instead [2] OutAmpPrsnt R 0x0 No output amplifier [1] InAmpPrsnt R 0x0 No input amplifier [0] Stereo R 0x1 Stereo widget 3.4.27.2. Description DigIn PinCap Table 400. DigIn PinCap Command Verb Format Get Verb ID Payload Response F00 0C See bitfield table. Table 401. DigIn PinCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:17] Rsvd2 R 0x0 Reserved [16] EapdCap R 0x1 This widget controls EAPD pin [15:8] VrefCap R 0x00 Vref generation not supported on input pins. [7] Rsvd1 R 0x0 Reserved [6] BalancedIO R 0x0 Pin complex does not have balanced pins. [5] InCap R 0x1 Pin complex is input capable. [4] OutCap R 0x0 Pin complex is not output capable. (EAPD = output stream) [3] HdphCap R 0x0 Pin does not have a headphone amplifier. 168 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 401. DigIn PinCap Command Response Format Bit Bitfield Name RW Reset Description [2] PresDtctCap R 0x1 Pin complex can perform Presence Detect. [1] TrigRqd R 0x0 N/A [0] ImpSenseCap R 0x0 Pin complex does not support impedance sense. 3.4.27.3. DigIn PwrState Table 402. DigIn PwrState Command Verb Format Verb ID Payload Response Get F05 00 See bitfield table. Set1 705 See bits [7:0] of bitfield table. 0000_0000h Table 403. DigIn PwrState Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7:4] Act R 0x3 PS-Act: Actual power state of referenced node. [3:2] Rsvd1 R 0x0 Reserved 0x3 PS-Set: Current power setting of referenced node. 00 - Fully on. 01 - Fully on. 10 - EAPD powered down (Hi-Z). 11 - Powered down (default) [1:0] 3.4.27.4. Set RW Description DigIn PinCtl Table 404. DigIn PinCtl Command Verb Format IDTTM Verb ID Payload Response Get F07 00 See bitfield table. Set1 707 See bits [7:0] of bitfield table. 0000_0000h 169 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 405. DigIn PinCtl Command Response Format Bit Bitfield Name RW Reset [31:6] Rsvd2 R 0x0 Reserved [5] InEn RW 0x0 1 = (CODEC) input path of Pin Widget is enabled [4:0] Rsvd1 R 0x0 Reserved 3.4.27.5. Description DigIn UnsolResp Table 406. DigIn UnsolResp Command Verb Format Verb ID Payload Response Get F08 00 See bitfield table. Set1 708 See bits [7:0] of bitfield table. 0000_0000h Table 407. DigIn UnsolResp Command Response Format Bit Bitfield Name RW Reset Description [31:8] Rsvd2 R 0x00 Reserved [7] En RW 0x0 Allow generation of Unsolicited Responses. Unsolicited response events occur upon lock or loss-of-lock of SPDIF_IN clock recovery circuit. Note that the DigEn field of SPDIFIn DigCtl must be set for the functionality to work. [6] Rsvd1 R 0x0 Reserved. [5:0] Tag RW 0x00 Software programmable field returned in top six bits (31:26) of every Unsolicited Response generated by this node. 3.4.27.6. DigIn PinSense Table 408. DigIn PinSense Command Verb Format IDTTM Verb ID Payload Response Get F09 00 See bitfield table. Set1 709 See bits [7:0] of bitfield table. 0000_0000h 170 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 409. DigIn PinSense Command Response Format Bit Bitfield Name RW Reset Description [31] PresDtct R 0x0 For this widget, Presence Detect indicates that the SPDIF_IN clock recovery circuit has locked onto a valid SPDIF_IN sampling frequency. Any change in status will generate an Unsolicited Response, if enabled with verb 708. The SPDIF_IN clock recovery circuit must also be enabled (by setting SPDIFInDigCtl:DigEn). [30:0] Rsvd R 0x0 Reserved. Impedance sense not supported for this Pin Complex. 3.4.27.7. DigIn EAPD Table 410. DigIn EAPD Command Verb Format Verb ID Payload Response Get F0C 00 See bitfield table. Set1 70C See bits [7:0] of bitfield table. 0000_0000h Table 411. DigIn EAPD Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:2] Rsvd2 R 0x0 Reserved [1] Data RW 0x0 EAPD value reflected on the EAPD pin. 0 = power down external amplifier; 1 = power up external amplifier if PwrState < 0x2. If PwrState > = 0x2, Pin47 is Hi-Z. An external pull-down is required if EAPD must be low when Pin Widget is powered down. [0] Rsvd1 R 0x0 Reserved 171 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.27.8. PC AUDIO DigIn PinConfig Table 412. DigIn PinConfig Command Verb Format Verb ID Payload Response Get F1C 00 See bitfield table. Set1 71C See bits [7:0] of bitfield table. 0000_0000h Set2 71D See bits [7:0] of bitfield table. 0000_0000h Set3 71E See bits [7:0] of bitfield table. 0000_0000h Set4 71F See bits [7:0] of bitfield table. 0000_0000h Table 413. DigIn PinConfig Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:30] Port RW 0x1 External Port Connectivity of the Pin Complex. 1 = no physical connection [29:24] Location RW 0x01 Physical location of the jack. 01h = Mainboard, Rear [23:20] Device RW 0xC Default Device, indicating intended use of jack. C = SPDIF In [19:16] Connection RW 0x4 Connection Type. [15:12] Color RW 0x0 Color of physical jack. [11:8] Misc RW 0x0 Misc[0] = Jack Detect override. [7:4] Assoc RW 0xF Default Association for Pin Complex groups. Reserved value 0000b should not be used. Value 1111b indicates lowest priority. [3:0] Sequence RW 0x0 All Widgets in an association must have unique sequence number. 172 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 4 = RCA STAC9204/9205 0 = Unknown V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.28. PC AUDIO PCBeep Node (NID = 0x23) 3.4.28.1. PCBeep WCap Table 414. PCBeep WCap Command Verb Format Verb ID Payload Response F00 09 See bitfield table. Get Table 415. PCBeep WCap Command Response Format Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x7 Widget type = Beep Generator [19:4] Rsvd1 R 0x0 Reserved [3] AmpOverride R 0x1 This widget contains its own amplifier parameters. [2] OutAmpPrsnt R 0x1 Output amplifier is present [1] InAmpPrsnt R 0x0 N/A [0] Stereo R 0x0 Mono widget 3.4.28.2. Description PCBeep OutAmpCap Table 416. PCBeep OutAmpCap Command Verb Format Get Verb ID Payload Response F00 12 See bitfield table. Table 417. PCBeep OutAmpCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31] Mute R 0x0 Amplifier is capable of muting [30:23] Rsvd3 R 0x0 Reserved [22:16] StepSize R 0x17 Size of each step in the gain range = 6 dB [15] Rsvd2 R 0x0 Reserved 173 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 417. PCBeep OutAmpCap Command Response Format Bit Bitfield Name RW Reset [14:8] NumSteps R 0x03 Number of steps in the gain range = 4 (-18dB to 0dB) [7] Rsvd1 R 0x0 Reserved [6:0] Offset R 0x03 0dB-step is programmed with this offset 3.4.28.3. Description PCBeep Vol Table 418. PCBeep Vol Command Verb Format Verb ID Payload Response Get BA0 00 See bitfield table. Set1 3A0 See bits [7:0] of bitfield table. 0000_0000h Table 419. PCBeep Vol Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd2 R 0x0 Reserved [7] Mute RW 0x0 1 = disable Digital PC Beep [6:2] Rsvd1 R 0x0 Reserved [1:0] Gain RW 0x0 Mono (left) amplifier gain step number 3.4.28.4. Description PCBeep Gen Table 420. PCBeep Gen Command Verb Format IDTTM Verb ID Payload Response Get F0A 00 See bitfield table. Set1 70A See bits [7:0] of bitfield table. 0000_0000h 174 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 421. PCBeep Gen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved 0x0 Enable internal PC-Beep generation. Divider = 00h - disables internal PC Beep generation and enables normal operation of the CODEC. Divider not equal to 00h - generates the beep tone on all Pin Complexes that are currently configured as outputs. The HD Audio spec states that: beep tone frequency = (48 KHz HD Audio SYNC rate) / (4*Divider), producing tones from 47 Hz to 12 KHz (logarithmic scale). Instead, this part generates tones with frequency = 48000 * (257 - Divider) / 1024, yielding a linear range from 12 KHz to 93.75 Hz in steps of 46.875 Hz. If JackSenseVSR[Rate2x], then the beep tones generated have frequency = 48000 * (513 - Divider) / 1024, yielding a range of 24 KHz to 12093.75 Hz in steps of 46.875 Hz. [7:0] 3.4.29. Divider RW Description ExtVolume Node (NID = 0x24) 3.4.29.1. ExtVolume WCap Table 422. ExtVolume WCap Command Verb Format Get Verb ID Payload Response F00 09 See bitfield table. Table 423. ExtVolume WCap Command Response Format IDTTM Bit Bitfield Name RW Reset [31:24] Rsvd2 R 0x0 Reserved [23:20] Type R 0x6 Widget type = Volume Knob Widget. Volume Knob (6h) if VOLUME enabled, Vendor Defined (Fh) otherwise [19:0] Rsvd1 R 0x0 Reserved. Software assumes capability of unsolicited responses and a connection list for this widget type. 175 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.29.2. PC AUDIO ExtVolume KnobCap Table 424. ExtVolume KnobCap Command Verb Format Get Verb ID Payload Response F00 13 See bitfield table. Table 425. ExtVolume KnobCap Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved [7] Delta R 0x1 Indicates if software can write a base volume to the Volume Control Knob. [6:0] NumSteps R 0x7F Total number of steps in the range of the volume knob = 128 3.4.29.3. Description ExtVolume ConnLen Table 426. ExtVolume ConnLen Command Verb Format Get Verb ID Payload Response F00 0E See bitfield table. Table 427. ExtVolume ConnLen Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved. [7] LongForm R 0x0 Connection list uses short-form (7-bit) NID entries. [6:0] N R 0x02 Number of NID entries in connection list. N = 02h if DAC1 enabled, N = 01h otherwise 3.4.29.4. Description ExtVolume ConnLst Table 428. ExtVolume ConnLst Command Verb Format Get IDTTM Verb ID Payload Response F02 00 See bitfield table. 176 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Table 429. ExtVolume ConnLst Command Response Format Bit Bitfield Name RW Reset [31:24] Entry3 R 0x0 No connection. [23:16] Entry2 R 0x0 No connection. [15:8] Entry1 R 0x11 DAC1. Entry1 = 11h if DAC1 enabled, Entry1 = 00h otherwise [7:0] Entry0 R 0x10 DAC0 3.4.29.5. Description ExtVolume UnsolResp Table 430. ExtVolume UnsolResp Command Verb Format Verb ID Payload Response Get F08 00 See bitfield table. Set1 708 See bits [7:0] of bitfield table. 0000_0000h Table 431. ExtVolume UnsolResp Command Response Format IDTTM Bit Bitfield Name RW Reset Description [31:8] Rsvd2 R 0x00 Reserved [7] En RW 0x0 Allow generation of Unsolicited Responses. Unsolicited response events occur upon jack-insertion OR completion of a Jack-Sense cycle. [6] Rsvd1 R 0x0 Reserved [5:0] Tag RW 0x00 Software programmable field returned in top six bits (31:26) of every Unsolicited Response generated by this node. 177 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 3.4.29.6. PC AUDIO ExtVolume KnobCtl Table 432. ExtVolume KnobCtl Command Verb Format Verb ID Payload Response Get F0F 00 See bitfield table. Set1 70F See bits [7:0] of bitfield table. 0000_0000h Table 433. ExtVolume KnobCtl Command Response Format Bit Bitfield Name RW Reset [31:8] Rsvd R 0x0 Reserved Direct = 1 causes the volume control to directly control the hardware volume of the slave amps. Direct = 0 causes unsolicited responses to be generated. [7] Direct RW 0x0 [6:0] Volume RW 0x7F 3.4.29.7. Description Volume, specified in steps of amplifier gain ExtVolume KnobVSR Table 434. ExtVolume KnobVSR Command Verb Format Verb ID Payload Response Get FE0 00 See bitfield table. Set1 7E0 See bits [7:0] of bitfield table. 0000_0000h Table 435. ExtVolume KnobVSR Command Response Format IDTTM Bit Bitfield Name RW Reset [31:4] Rsvd R 0x0 Reserved [3] Continuous RW 0x1 Allow continuous incrementing/decrementing of the volume knob value. [2:0] Rate RW 0x0 Volume knob update rate, for continuous mode and de-bouncing (2.5 Hz to 20 Hz, in increments of 2.5 Hz) 178 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE Description STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO 4. ORDERING INFORMATION Dolby Home Theater (HT) and Dolby Sound Room (SR) require the 5 V version of this part. Dolby Digital Live (DDL) characteristics are available in the 3.3 V version. Dolby also requires a separate license from Dolby to use their parts. IDT will only provide Dolby parts to Dolby approved customers. TnR indicates availability on Tape and Reel. The minimum order quantity for TnR is 2,000 units. Part Number Voltage Package DAC ADC Modem Digital Mics Dolby TnR Yes - DDL No STAC9204D3TAEyyX 3.3 V 48 pin LQFP 4 channel 4 channel No No STAC9204D3TAEyyXR 3.3 V 48 pin LQFP 4 channel 4 channel No No Yes - DDL Yes 5V 48 pin LQFP 4 channel 4 channel No No Yes - HT / SR No Yes - HT / SR Yes STAC9204D5TAEyyX STAC9204D5TAEyyXR 5V 48 pin LQFP 4 channel 4 channel No No STAC9204X3TAEyyX 3.3 V 48 pin LQFP 4 channel 4 channel No No No No STAC9204X3TAEyyXR 3.3 V 48 pin LQFP 4 channel 4 channel No No No Yes 5V 48 pin LQFP 4 channel 4 channel No No No No STAC9204X5TAEyyX STAC9204X5TAEyyXR 5V 48 pin LQFP 4 channel 4 channel No No No Yes STAC9205D3TAEyyX 3.3 V 48 pin LQFP 4 channel 4 channel No Yes Yes - DDL No STAC9205D3TAEyyXR 3.3 V 48 pin LQFP 4 channel 4 channel No Yes Yes - DDL Yes 5V 48 pin LQFP 4 channel 4 channel No Yes Yes - HT / SR No Yes - HT / SR Yes STAC9205D5TAEyyX STAC9205D5TAEyyXR 5V 48 pin LQFP 4 channel 4 channel No Yes STAC9205X3TAEyyX 3.3 V 48 pin LQFP 4 channel 4 channel No Yes No No STAC9205X3TAEyyXR 3.3 V 48 pin LQFP 4 channel 4 channel No Yes No Yes 5V 48 pin LQFP 4 channel 4 channel No Yes No No STAC9205X5TAEyyXR 5V 48 pin LQFP 4 channel 4 channel No Yes No Yes STAC9204D3NBEyyX 3.3 V 48 pad QFN 4 channel 4 channel No No Yes - DDL No STAC9204D3NBEyyXR 3.3 V 48 pad QFN 4 channel 4 channel No No Yes - DDL Yes 5V 48 pad QFN 4 channel 4 channel No No Yes - HT / SR No Yes - HT / SR Yes STAC9205X5TAEyyX STAC9204D5NBEyyX STAC9204D5NBEyyXR 5V 48 pad QFN 4 channel 4 channel No No STAC9204X3NBEyyX 3.3 V 48 pad QFN 4 channel 4 channel No No No No STAC9204X3NBEyyXR 3.3 V 48 pad QFN 4 channel 4 channel No No No Yes 5V 48 pad QFN 4 channel 4 channel No No No No STAC9204X5NBEyyX STAC9204X5NBEyyXR 5V 48 pad QFN 4 channel 4 channel No No No Yes STAC9205D3NBEyyX 3.3 V 48 pad QFN 4 channel 4 channel No Yes Yes - DDL No STAC9205D3NBEyyXR 3.3 V 48 pad QFN 4 channel 4 channel No Yes Yes - DDL Yes 5V 48 pad QFN 4 channel 4 channel No Yes Yes - HT / SR No Yes - HT / SR Yes STAC9205D5NBEyyX STAC9205D5NBEyyXR 5V 48 pad QFN 4 channel 4 channel No Yes STAC9205X3NBEyyX 3.3 V 48 pad QFN 4 channel 4 channel No Yes No No STAC9205X3NBEyyXR 3.3 V 48 pad QFN 4 channel 4 channel No Yes No Yes STAC9205X5NBEyyX 5V 48 pad QFN 4 channel 4 channel No Yes No No STAC9205X5NBEyyXR 5V 48 pad QFN 4 channel 4 channel No Yes No Yes yy = CODEC revision number IDTTM 179 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO While the information presented herein has been checked for both accuracy and reliability, manufacturer assumes no responsibility for either its use or for the infringement of any patents or other rights of third parties, which would result from its use. No other circuits, patents, or licenses are implied. This product is intended for use in normal commercial applications. Any other applications, such as those requiring extended temperature range, high reliability, or other extraordinary environmental requirements, are not recommended without additional processing by manufacturer. Manufacturer reserves the right to change any circuitry or specifications without notice. Manufacturer does not authorize or warrant any product for use in life support devices or critical medical instruments. IDTTM 180 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO 5. PINOUTS 1 2 3 4 5 6 7 8 9 10 11 12 36 35 34 33 32 31 30 29 28 27 26 25 48 LQFP PORTD_R PORTD_L SENSE_B CAP2 MONO_OUT VREFOUT-E / GPIO4 VREFOUT-F / GPIO3 VREFOUT-C VREFOUT-B VREFFILT AVSS1 AVDD1 DVDD_CORE VOLUME_UP / DMIC_0 / GPIO1 DVDD_IO VOLUME_DOWN / DMIC_1 / GPIO2 SDO BITCLK DVSS SDI_CODEC DVDD_CORE SYNC RESET# PCBEEP NC NC AVSS2 PORTA_R DVDD_CORE/VPP PORTA_L AVDD2 VREFOUT-A 48 QFN 36 35 34 33 32 31 30 29 28 27 26 25 PORTD_R PORTD_L SENSE_B CAP2 MONO_OUT VREFOUT-E / GPIO4 VREFOUT-F / GPIO3 VREFOUT-C VREFOUT-B VREFFILT AVSS1 AVDD1 SENSE_A PORTE_L PORTE_R PORTF_L PORTF_R CD_L CD_GND CD_R PORTB_L PORTB_R PORTC_L PORTC_R SENSE_A PORTE_L PORTE_R PORTF_L PORTF_R CD_L CD_GND CD_R PORTB_L PORTB_R PORTC_L PORTC_R 5.2. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 13 14 15 16 17 18 19 20 21 22 23 24 DVDD_CORE VOLUME_UP / DMIC_0 / GPIO1 DVDD_IO VOLUME_DOWN / DMIC_1 / GPIO2 SDO BITCLK DVSS SDI_CODEC DVDD_CORE SYNC RESET# PCBEEP 48 47 46 45 44 43 42 41 40 39 38 37 48 47 46 45 44 43 42 41 40 39 38 37 NC NC AVSS2 PORTA_R DVDD_CORE/VPP PORTA_L AVDD2 VREFOUT-A SPDIF OUT SPDIF IN / GPIO0 / EAPD DMIC_CLK NC Pin Assignment SPDIF OUT SPDIF IN / GPIO0 / EAPD DMIC_CLK NC 5.1. Pin Descriptions Pin No. Pin Name Pin Type Internal Pull-up/ Pull-down 1 DVDD_CORE I(Digital) None 2 Volume Up / DMIC0 / GPIO1 I/O(Digital) 50 K pull-up with Volume or GPIO 50 K pull-down with Digital Microphone 3 DVDD_IO I(Digital) None 4 Volume Down / DMIC1 / GPIO2 I/O(Digital) 50 K pull-up with Volume or GPIO 50 K pull-down with Digital Microphone 5 SDO I/O(Digital) None HD Audio Serial Data output (inbound stream) 6 BITCLK I(Digital) None HD Audio Bit Clock 7 DVSS I(Digital) None Digital Ground 8 SDI_CODEC O(Digital) None HD Audio Serial Data (outbound stream), audio module 9 DVDD_CORE I(Digital) None Digital Vdd = 3.3 V IDTTM Pin Description Digital Vdd = 3.3 V Volume Control or Digital Microphone 0 Input or General Purpose I/O Reference Voltage (1.5 V or 3.3 V) Volume Control or Digital Microphone 1 Input or General Purpose I/O 181 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Pin No. Pin Name Pin Type Internal Pull-up/ Pull-down 10 SYNC I(Digital) None HD Audio Frame Sync 11 RESET# I(Digital) None HD Audio Reset 12 PCBEEP I(Analog) None PC Beep 13 SENSE_A I(Analog) None Jack insertion detection Ports A, B, C, D 14 PORTE_L I/O(Analog) None Input/Output of Left DAC0 15 PORTE_R I/O(Analog) None Input/Output of Right DAC0 16 PORTF_L I/O(Analog) None Input/Output of Left DAC1 17 PORTF_R I/O(Analog) None Input/Output of Right DAC1 18 CD-L I(Analog) None CD Audio Left Channel 19 CD-GND I(Analog) None CD Audio Analog Ground 20 CD-R I(Analog) None CD Audio Right Channel 21 PORTB_L I/O(Analog) None Input/Output of Left DAC0 & DAC1 22 PORTB_R I/O(Analog) None Input/Output of Right DAC0 & DAC1 23 PORTC_L I/O(Analog) None Input/Output of Left DAC1 24 PORTC_R I/O(Analog) None Input/Output of Right DAC1 25 AVDD1 I(Analog) None Analog Vdd = 5.0 V or 3.3 V 26 AVSS1 I(Analog) None Analog Ground 27 VREFFILT O(Analog) None Analog Virtual Ground 28 VREFOUT-B O(Analog) None Reference Voltage out drive (intended for microphone bias) for Port B 29 VREFOUT-C O(Analog) None Reference Voltage out drive (intended for microphone bias) for Port C 30 VREFOUT-F / GPIO3 IO(Analog) None Reference Voltage out drive (intended for microphone bias) for Port F or analog GPIO3 31 VREFOUT-E / GPIO4 IO(Analog) None Reference Voltage out drive (intended for microphone bias) for Port E or analog GPIO4 32 MONO_OUT O(Analog) None Mono output of DAC0 33 CAP2 O(Analog) None ADC reference Capacitor 34 SENSE_B I(Analog) None Jack insertion detection Ports E, F 35 PORT-D_L (HP) I/O(Analog) None Input/Output of Left DAC0 36 PORT-D_R (HP) I/O(Analog) None Input/Output of Right DAC0 IDTTM Pin Description 182 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Pin No. Pin Name Pin Type Internal Pull-up/ Pull-down Pin Description 37 VREFOUT-A O(Analog) None Reference Voltage out drive (intended for microphone bias) for Port A 38 AVDD2 I(Analog) None Analog Vdd = 5.0 V or 3.3 V 39 PORTA_L (HP) I/O(Analog) None Input/Output of Left DAC0 & 1 40 DVDD_CORE I(Analog) None DVDD 41 PORTA_R (HP) I/O(Analog) None Input/Output of Right DAC0 & 1 42 AVSS2 I(Analog) None Analog Ground 43 NC None None No Connect 44 NC None None No Connect 45 NC None None No Connect 46 DMIC_CLK O(Digital) 50 K pull-down 47 SPDIFIN / GPIO0 / EAPD I/O(Digital) 50 K pull-up 48 SPDIF-OUT O(Digital) IDTTM Digital Microphone Output Clock SPDIF Input, General Purpose I/O, EAPD Internal 50 K pull-down SPDIF digital output 183 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO 6. DESIGN CONSIDERATIONS 6.1. External Components The STAC9204/9205 requires a minimum number of external components for proper operation. 6.1.1. Decoupling Capacitor Decoupling capacitors must be connected between AVDD and AVSS and between DVDD and DVSS, as close to these pins as possible. * Between AVDD (pin 38) and AVSS (pins 26 and 42), use a 1.0 mF capacitor in parallel with a 10 mF capacitor. * Between AVDD (pin 25) and AVSS (pins 26 and 42), use a 0.1 mF capacitor in parallel with a 10 mF capacitor. * Between DVDD (pin 1) and DVSS (pins 4 and 7), use a 1.0 mF capacitor in parallel with a 10 mF capacitor. * Between DVDD (pin 9) and DVSS (pins 4 and 7), use a 0.1 mF capacitor in parallel with a 10 mF capacitor. For optimum device performance, the decoupling capacitors should be mounted on the CODEC side of the PCB. Avoid the use of vias in the decoupling circuit. 6.1.2. Other Required Components The following components are required: * Between VREFFILT (pin 27) and AVSS (pins 26 and 42), use a 1.0 mF capacitor in parallel with a 10 mF capacitor. * Each of these pins needs to have an 820 pF capacitor connected to AVSS (pins 26 and 42). (Recommend using NP0 type capacitor.) * ADC0_AFILT_L (pin 28). * ADC1_AFILT_L (pin 29). * ADC0_AFILT_R (pin 30). * ADC1_AFILT_R (pin 31). * ADC_VREF (pin 33) must have a 1.0 mF capacitor connected to AVSS (pins 26 and 42). Optionally, a 10 mF capacitor may also be connected in parallel, to improve performance. * SENSE_A (pin 13) and SENSE_B (pin 34) must each be connected to AVSS (pins 26 and 42) with a 1000 pF capacitor located as close to the pins as possible. * SENSE_A (pin 13) and SENSE_B (pin 34) must each be connected to AVDD (pins 25 and 38) with a 5.11 KW resistor. This resistor MUST be 1% tolerance and should be located as close to the pins as possible. * Either SENSE_A or SENSE_B is connected to each Port through a resistor. This resistor MUST be 1% or better tolerance. (For resistor details, see Table 3. For details about these connections, see the latest IDT reference designs.) For optimum device performance, these components should be mounted on the CODEC side of the PCB. Minimize the use of vias. IDTTM 184 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 6.2. PC AUDIO PCB Layout Recommendations An optimum layout is one with all components on the same side of the board, minimizing vias through other signal layers. Other signal traces should be routed away from the STAC9204/9205. This includes signal traces just underneath the device, or on layers adjacent to the ground plane layer used by the device. Separate analog and digital grounding is recommended. The analog grounds (AVSS (pins 26 and 42)) and the digital grounds (DVSS (pins 4 and 7)) should be tied together at only one place. This tie should be under the CODEC. Capacitive coupling is allowed for EMI considerations. Generally, use 0.1 mF capacitors. Make sure these are spread out in the layout. Analog ground (AVSS) should be located on all grounding layers. AVSS should be the same shape on these layers. Analog audio signals should not escape the AVSS cut. Analog non-audio signals should not enter the AVSS cut. Only audio voltage planes (such as AVDD) should be located on the VCC layer. Analog voltage should be provided from a filtered source. LDO's are preferred. Ferrite beads are acceptable. Whichever is used must support current requirements. 6.2.1. Vista WLP Compliance Requirements The following external components are REQUIRED for Vista WLP compliance. Required series coupling capacitors on analog I/O signal lines: IDTTM * Minimum Premium Desktop Implementations: * Line Output = 10 mF, 1206, 10 V, X5R (ceramic) or 3.3 mF aluminum electrolytic (or similar). * Headphone Output = 220 mF aluminum electrolytic (or similar). * Microphone or Line Input = 1 mF, 0603, X5R (ceramic) or better. * Minimum Premium Mobile Implementations: * Line Output = 2.2 mF, 1206, 16 V, X5R (ceramic). * Headphone Output = 100 mF D-Case size (or similar). Larger is better, we usually recommend 220 mF. * Microphone or Line Input = 1 mF, 0603, X5R (ceramic) or better. 185 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO EMI Components: * Recommended Ferrite Beads are 600 ohm. Use these manufacturers only: * TDK - MMZ1608Y601BTA * MURATA - BLM18BD601SN1 * TAIYO YUDEN - LF BK 1608HM601-T * EMI shunt capacitor: * For Headphone ports, 0.01 mF. * For all other ports, 100 pF. * EMI components should be placed as close to the jack as possible. Note: See the latest STAC9204/9205/9204D/9205D Reference Designs for further details on schematic recommendations. IDTTM 186 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO 7. PACKAGE OUTLINE AND PACKAGE DIMENSIONS Package dimensions are kept current with JEDEC Publication No. 95 7.1. 48-Pad QFN Package QFN Dimensions in mm Key Min Nom Max A 0.80 0.90 1.0 A1 0.00 0.02 0.05 A3 0.20 REF D 7.00 BSC D1 5.50 BSC E 7.00 BSC E1 5.50 BSC L 0.35 e R b IDTTM 187 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 0.40 0.45 0.50 BSC 0.20-0.25 0.18 0.25 0.30 D2 5.50 5.65 5.80 E2 5.50 5.65 5.80 ZD 0.75 BSC ZE 0.75 BSC STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 7.2. 48-Pin LQFP Package A2 D LQFP Dimensions in mm A A1 D1 E1 b E PC AUDIO 48 pin LQFP e Key Min A 1.40 1.50 1.60 A1 0.05 0.10 0.15 A2 1.35 1.40 1.45 D 8.80 9.00 9.20 D1 6.90 7.00 7.10 E 8.80 9.00 9.20 E1 6.90 7.00 7.10 L 0.45 0.60 0.75 e Pin 1 Nom Max 0.50 c 0.09 - 0.20 b 0.17 0.22 0.27 c IDTTM 188 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO 8. SOLDER REFLOW PROFILE 8.1. Standard Reflow Profile Data Note: These devices can be hand soldered at 360 oC for 3 to 5 seconds. FROM: IPC / JEDEC J-STD-020C "Moisture/Reflow Sensitivity Classification for Nonhermetic Solid State Surface Mount Devices" (www.jedec.org/download). Profile Feature Pb Free Assembly Average Ramp-Up Rate (Tsmax - Tp) 3 oC / second max Preheat: Temperature Min (Tsmin) Temperature Max (Tsmax) Time (tsmin - tsmax) 150 oC 200 oC 60 - 180 seconds Time maintained above: Temperature (TL) Time (tL) 217 oC 60 - 150 seconds Peak / Classification Temperature (Tp) Time within 5 oC of actual Peak Temperature (tp) Ramp-Down rate Time 25 oC to Peak Temperature See "Package Classification Reflow Temperatures" on page 190. 20 - 40 seconds 6 oC / second max 8 minutes max Note: All temperatures refer to topside of the package, measured on the package body surface. Figure 7. Solder Reflow Profile IDTTM 189 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE 8.2. IDTTM PC AUDIO Pb Free Process - Package Classification Reflow Temperatures Package Type MSL Reflow Temperature LQFP 48-pin 3 260 oC QFN 48-pad 3 260 oC 190 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO 9. REVISION HISTORY Revision 0.8 Date Description of Change 22 September 2006 Initial release in IDT format. 0.81 9 November 2006 Updated to match IDT standard documents. 0.82 17 November 2006 Incorporated Widget list into section 3. 1.0 December 2006 IDTTM Updated electrical characteristics based on validation data. Removed use of colored line in block and widget diagrams. 191 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 192 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 193 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 194 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 195 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 196 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 197 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 198 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 199 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 200 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 201 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 202 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 203 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 204 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 206 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO Innovate with IDT audio for high fidelity. Contact: www.IDT.com For Sales For Tech Support 800-345-7015 408-284-8200 Fax: 408-284-2775 HA.CM@idt.com Corporate Headquarters Europe Integrated Device Technology, Inc. 6024 Silver Creek Valley Road San Jose, CA 95138 United States 800 345 7015 +408 284 8200 (outside U.S.) IDT Europe, Limited Prime House Barnett Wood Lane Leatherhead, Surrey United Kingdom KT22 7DE +44 1372 363 339 (c) 2006 Integrated Device Technology, Inc. All rights reserved. Product specifications subject to change without notice. IDT and the IDT logo are trademarks of Integrated Device Technology, Inc. Accelerated Thinking is a service mark of Integrated Device Technology, Inc. All other brands, product names and marks are or may be trademarks or registered trademarks used to identify products or services of their respective owners. STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 208 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 209 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 210 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 211 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 212 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06 STAC9204/9205 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE IDTTM 213 4-CHANNEL HD AUDIO CODEC WITH QUAD DIGITAL MICROPHONE INTERFACE PC AUDIO STAC9204/9205 V 1.0 12/06