® Audio Codec Adapter Setup for Cinterion Modules Page 4 of 34 0 Document History Document History ® Preceding document: "Audio Codec Adapter Setup for Cinterion Modules" v03 ® New document: "Audio Codec Adapter Setup for Cinterion Modules" v04 Chapter What is new Throughout Added NAU8822 audio codec adapter.
® Audio Codec Adapter Setup for Cinterion Modules Page 5 of 34 1 Introduction Introduction The Audio Codec Adapter is a simple and easy-to-use universal adapter board designed to quickly evaluate the digital audio functionality of the supported Gemalto M2M (evaluation) products.
® Audio Codec Adapter Setup for Cinterion Modules Page 6 of 34 2 Audio Codec Adapter Overview Audio Codec Adapter Overview This chapter gives an overview of the available Audio Codec Adapters, i.e., MAX9860 in Sec- tion 2.1 and NAU8822 in Section 2.2 employed by Gemalto M2M to evaluate the digital audio interface functionality of the supported modules.
® Audio Codec Adapter Setup for Cinterion Modules Page 7 of 34 2.1 MAX9860 Audio Codec Adapter Bottom Digital Audio Interface (DAI) Handset plug (RJ9) Figure 2: Audio Codec Adapter bottom view Note: Only one out of Handset and Headset interface can be connected and operated at a time. 2.1.1.1 DIP Switch Default Settings The following figure shows the default settings for the DIP switch.
® Audio Codec Adapter Setup for Cinterion Modules Page 8 of 34 2.1 MAX9860 Audio Codec Adapter 2.1.2 Access For update, configuration and programming purposes the Audio Codec Adapter can be ac- cessed via the RS232 serial interface on its top side. The RS232 interface on the Audio Codec Adapter can be connected to a PC’s serial port by using a crimped cable that links the 10-pin connector at the Audio Codec Adapter to a 9-pin connector at the PC.
® Audio Codec Adapter Setup for Cinterion Modules Page 9 of 34 2.1 MAX9860 Audio Codec Adapter 2.1.2.2 Configuration There are two ways to configure the Audio Codec Adapter: • Firstly, the hardware DIP switch can be used to configure the most important configuration settings.
® Audio Codec Adapter Setup for Cinterion Modules Page 10 of 34 2.1 MAX9860 Audio Codec Adapter Table 1: Terminal mode commands Command Description/Remark SINUS=<Hz>, <dur> Generates a sine wave to the headset (<local>) or module (<netw>). See also local/netw Section 3.1.2.3.
® Audio Codec Adapter Setup for Cinterion Modules Page 11 of 34 2.2 NAU8822 Audio Codec Adapter NAU8822 Audio Codec Adapter The NAU8822 Audio Codec Adapter is based on the NAU8822 stereo audio voice codec from Nuvoton. The adapter board can be plugged to the DSB75 (or DSBmini) in order to be used ®...
® Audio Codec Adapter Setup for Cinterion Modules Page 12 of 34 2.2 NAU8822 Audio Codec Adapter Bottom Digital Audio Interface (DAI) Handset plug (RJ9) Figure 7: Audio Codec Adapter bottom view Note: Only one out of Handset and Headset interface can be connected and operated at a time. 2.2.1.1 DIP Switch Default Settings The following figure shows the default settings for the DIP switch.
® Audio Codec Adapter Setup for Cinterion Modules Page 13 of 34 2.2 NAU8822 Audio Codec Adapter 2.2.2 Access For update, configuration and programming purposes the Audio Codec Adapter can be ac- cessed via the RS232 serial interface on its top side. The RS232 interface on the Audio Codec Adapter can be connected to a PC’s serial port by using a crimped cable that links the 10-pin connector at the Audio Codec Adapter to a 9-pin connector at the PC.
® Audio Codec Adapter Setup for Cinterion Modules Page 14 of 34 2.2 NAU8822 Audio Codec Adapter 2.2.2.2 Configuration There are two ways to configure the Audio Codec Adapter: • Firstly, the hardware DIP switch can be used to configure the most important configuration settings.
® Audio Codec Adapter Setup for Cinterion Modules Page 15 of 34 2.2 NAU8822 Audio Codec Adapter Table 2: Terminal mode commands Command Description/Remark SINUS=<Hz>, <dur> Generates a sine wave to the headset (<local>) or module (<netw>). See also local/netw Section 3.1.2.3.
® Audio Codec Adapter Setup for Cinterion Modules Page 16 of 34 3 Audio Codec Adapter Setup Audio Codec Adapter Setup Assembly with DSB75 and AH6-DSB75 Adapter The Audio Codec Adapter setup with DSB75 and AH6-DSB75 Adapter is based on the refer- ence environment for development, test and approval purposes that is described in the Startup User Guide of a specific module.
® Audio Codec Adapter Setup for Cinterion Modules Page 17 of 34 3.1 Assembly with DSB75 and AH6-DSB75 Adapter 3.1.1 Configuration Depending on the module and the required audio scenario, the Audio Codec Adapter may have to be configured in different ways - and with different settings. As described in Section 2.1.2.2, the Audio Codec Adapter can be configured in two ways - by means of a DIP switch or via...
Page 18
® Audio Codec Adapter Setup for Cinterion Modules Page 18 of 34 3.1 Assembly with DSB75 and AH6-DSB75 Adapter Please note that all PCM data and frame synchronization signals are written to the PCM bus on the rising clock edge and read on the falling edge, whereas all I2S data and frame synchro- nization signals are written to the I2S bus on the falling clock edge and read on the rising edge.
® Audio Codec Adapter Setup for Cinterion Modules Page 19 of 34 3.1 Assembly with DSB75 and AH6-DSB75 Adapter 3.1.1.4 DIP Switch and AT Command Settings MAX9860 Table 4 list the default DIP switch and AT^SAIC command settings required to setup the MAX9860 for a specific (sample) module. Table 3: MAX9860 DIP switch and AT command settings for selected products Product AT^SAIC setting...
Page 20
® Audio Codec Adapter Setup for Cinterion Modules Page 20 of 34 3.1 Assembly with DSB75 and AH6-DSB75 Adapter NAU8822 Table 4 list the default DIP switch and AT^SAIC command settings required to setup the NAU8822 for a specific (sample) module. Table 4: NAU8822 DIP switch and AT command settings for selected products Product AT^SAIC setting...
® Audio Codec Adapter Setup for Cinterion Modules Page 21 of 34 3.1 Assembly with DSB75 and AH6-DSB75 Adapter 3.1.2 Operation Having completed the Audio Codec Adapter assembly and configuration described in the pre- vious sections, the Audio Codec Adapter can be employed. This section describes the various possible ways to operate and test the Audio Codec Adapter.
® Audio Codec Adapter Setup for Cinterion Modules Page 22 of 34 3.1 Assembly with DSB75 and AH6-DSB75 Adapter 3.1.2.3 Audio Codec Adapter Generated Tones The Audio Codec Adapter itself can also be used to generate DTMF tones or Sine waves. If employing this feature there are the following restrictions: •...
® Audio Codec Adapter Setup for Cinterion Modules Page 23 of 34 3.1 Assembly with DSB75 and AH6-DSB75 Adapter 3.1.2.4 Tone Recognition The Audio Codec Adapter itself is also able to recognize tones from the adapter’s local headset interface (i.e., the microphone) even without an active call. This can be done by calling the fol- lowing command in Terminal mode: Detect tones on local codec interface without call DSP=detect...
® Audio Codec Adapter Setup for Cinterion Modules Page 24 of 34 4 Appendix A - DAI Signal Timings at Oscilloscope Appendix A - DAI Signal Timings at Oscilloscope DAI signal timings as shown in Section 3.1.1.3 can be visualized using an oscilloscope. The oscilloscope’s probe heads should be attached to the appropriate signal pads at the Audio Co- dec Adapter’s top side as shown below in Figure 12...
Page 25
® Audio Codec Adapter Setup for Cinterion Modules Page 25 of 34 4 Appendix A - DAI Signal Timings at Oscilloscope BCLK Dout Figure 14: Timing sample (short frame - 62,5µs; wide band) for DAI signal lines audio_codec_adapter_setup_v04 2019-10-16 Confidential / Released...
® Audio Codec Adapter Setup for Cinterion Modules Page 26 of 34 5 Appendix B - MAX9860 Codec Adapter Schematics Appendix B - MAX9860 Codec Adapter Schematics ARM MCU Audio codec IC13 MAX9860 +2V9 +2V9 Analogue audio MICs Headphone 100n 100n 100n 100n...
Page 27
® Audio Codec Adapter Setup for Cinterion Modules Page 27 of 34 5 Appendix B - MAX9860 Codec Adapter Schematics DIGITAL AUDIO PATH PCM/I2S voltage converters Interface line configuration Sniffer IC28 MODULE_VOLT_LVL1 AC@ADCOUT AC@ADCOUT DSB@RXDAI AC@ADCOUT 5V tolerant Main connector NC7WZ16P6 +2V9 CON1...
Page 28
® Audio Codec Adapter Setup for Cinterion Modules Page 28 of 34 5 Appendix B - MAX9860 Codec Adapter Schematics +2V9 Module voltage selector ARM & AC reset LDO 1.8V use after reconfiguration of a switch +2V9 IC11 +2V9 +1V8 IC10 ARM@MODULE_VLVL SYS_RST...
Page 29
® Audio Codec Adapter Setup for Cinterion Modules Page 29 of 34 5 Appendix B - MAX9860 Codec Adapter Schematics Analog Audio Left MIC Headphone MIC left AUDIO_4POL_JACK AUDIO_4POL_JACK BLM18HG102 BLM18HG102 Left Right AC@LHP Left Right AC@MICBIAS 100u BLM18HG102 AC@RHP 100u BLM18HG102 BLM18HG102...
® Audio Codec Adapter Setup for Cinterion Modules Page 30 of 34 6 Appendix C - NAU8822 Codec Adapter Schematics Appendix C - NAU8822 Codec Adapter Schematics AUDIO CODEC ARM MCU 1 0 p C r y s t a l 1 2 . 2 8 8 M H z Z100 C117 D101...
Page 31
® Audio Codec Adapter Setup for Cinterion Modules Page 31 of 34 6 Appendix C - NAU8822 Codec Adapter Schematics ARM_PH8_PCM_I2S_DIR MODULE_VOLT_LVL1 DIGITAL AUDIO PATH +2V9 MAIN CONNECTOR +2V9 +5V0 D205 1 0 0 n C206 1 0 0 n VCCB VCCA 100R...
Page 32
® Audio Codec Adapter Setup for Cinterion Modules Page 32 of 34 6 Appendix C - NAU8822 Codec Adapter Schematics +2V9 +2V9 +1V8 D300 +1V8 +2V9 +2V9 V302 D301 SYS_RST 1 0 0 k SYS_RST ARM_MODULE_VLVL R324 BC856B 2 k 2 V324 ARM_AC_RST MODULE_VOLT_LVL1...
Page 33
® Audio Codec Adapter Setup for Cinterion Modules Page 33 of 34 6 Appendix C - NAU8822 Codec Adapter Schematics ANALOG AUDIO L e f t M I C DUMMY X 4 0 1 J I S C 6 5 6 0 R i g h t M I C R420 2 k 2...
Page 34
About Gemalto Since 1996, Gemalto has been pioneering groundbreaking M2M and IoT products that keep our customers on the leading edge of innovation. ® We work closely with global mobile network operators to ensure that Cinterion modules evolve in sync with wireless networks, providing a seamless migration path to protect your IoT technology investment.
Need help?
Do you have a question about the Gemalto AGS2-E and is the answer not in the manual?
Questions and answers