I have modified the ADC_DAC_Playback Example project to get TDM4 and also TDM8 working.

Then I added the USB Audio DEMO for ADSP-SC573 and modified the configuration settings for ADAU1962A (TDM8) and the audio is distorted.

The best way to describe this is that is sounds tinny (metalic) but all the audio channels are correct.

I have examined DBCLK, DLRCLK, DSDATA1 on the scope and this is how I confirmed that TDM8 looks to be working correctly here.

I am happy to share project if required.

Note I have sent previous requests to support & I have open support tickets but I've not had any response for a while so I'm hoping this proves more fruitful.

Thanks in advance,


Parents Reply Children
  • Hi Dave,

    Thanks for getting back to me so quickly.

    Here's the TDM8 screenshots:

    1: FS, 2: PCM (DSDATA1)

    1: FS, 2: BCLK

    1: FS, 2: BCLK (Zoomed out).

    So as per the scope the TDM8 looks to be correct.

    Note, this is playing 8CH sine wave (sine wave is identical in each channel).

    The Sample Rate is 48kHz.

    The input audio is 16-bit, but the audio was leaking into other channels because the DAC is expecting 24-bit. So I changed the DacBuffer to 24-bit and modified the function which copies from the UsbBuffer to the DacBuffer and now the channels are correct and don't leak into each other as before.

    What specifically do you need to see with respect to the clocking system?

    In the file usbd_audio_drv_adau1979.h (Note, Config settings for ADAU1962A here...) configuration is as follows:

    /* DAC Master clock frequency */

    #define ADAU1962A_MCLK_IN (24576000u)

    /* DAC sample rate */
    #define SAMPLE_RATE (48000u)

    /* ADAU1962A SPORT config parameters */
    #define LR_B_CLK_MASTER_1962 (true)
    #define BCLK_RISING_1962 (true)

    #ifdef TDM_MODE
    #define LRCLK_HI_LO_1962 (false)
    #define LRCLK_HI_LO_1962 (true)

    In File usbd_audio_drv_adau1979.c the following is modified:

    uint32_t adi_codec_Adau1962aInit(ADI_ADAU1962A_HANDLE *pHandle, ADI_CALLBACK pfCallback)
    ADI_ADAU1962A_RESULT eResult;
    ADI_ADAU1962A_TWI_CONFIG TwiConfig;
    ADI_ADAU1962A_SPORT_CONFIG SportConfig;

    /* Open ADAU1962A device instance */
    if((eResult = adi_adau1962a_Open(ADI_CODEC_DEVICE_NUM,
    pHandle)) != ADI_ADAU1962A_SUCCESS)
    printf ("ADAU1962A: Failed to open ADAU1962A device instance, Error Code: 0x%08X\n", eResult);
    /* return error */
    return 1u;

    /* TWI parameters required to open/configure TWI */
    TwiConfig.TwiDevNum = ADI_CODEC_TWI_DEVICE_NUM;
    TwiConfig.eTwiAddr = ADI_ADAU1962A_TWI_ADDR_04;
    TwiConfig.TwiDevMemSize = ADI_TWI_MEMORY_SIZE;
    TwiConfig.pTwiDevMem = &TwiMemory;

    /* Configure TWI */
    if ((eResult = adi_adau1962a_ConfigTwi (*pHandle, &TwiConfig)) != ADI_ADAU1962A_SUCCESS)
    printf ("ADAU1962A: Failed to configure TWI, Error Code: 0x%08X\n", eResult);
    /* return error */
    return 1u;

    /* SPORT parameters required to open/configure SPORT */
    SportConfig.SportDevNum = ADI_CODEC_SPORT_DEVICE_NUM;
    SportConfig.eSportChnl = ADI_ADAU1962A_SPORT_B;
    SportConfig.eSportPri = ADI_ADAU1962A_SERIAL_PORT_DSDATA1;
    SportConfig.eSportSec = ADI_ADAU1962A_SERIAL_PORT_NONE;

    SportConfig.SportDevMemSize = ADI_SPORT_DMA_MEMORY_SIZE;
    SportConfig.pSportDevMem = &Adau1962aSportMemory;

    /* Configure SPORT */
    if ((eResult = adi_adau1962a_ConfigSport (*pHandle, &SportConfig)) != ADI_ADAU1962A_SUCCESS)
    printf ("ADAU1962A: Failed to configure SPORT, Error Code: 0x%08X\n", eResult);
    /* return error */
    return 1u;

    /* DAC Master Power-up */
    if ((eResult = adi_adau1962a_ConfigDacPwr (*pHandle,
    true)) != ADI_ADAU1962A_SUCCESS)
    printf ("ADAU1962A: Failed to configure DAC power, Error Code: 0x%08X\n", eResult);
    /* return error */
    return 1u;

    * Configure PLL clock - DAC is clock master and drives SPORT clk and FS
    * MCLK 24.576 MHz and PLL uses MCLK
    if ((eResult = adi_adau1962a_ConfigPllClk (*pHandle,
    printf ("ADAU1962A: Failed to configure PLL clock, Error Code: 0x%08X\n", eResult);
    /* return error */
    return 1u;

    * Configure serial data clock
    * DAC as clock master, External BCLK, Latch on raising edge
    * LRCLK at 50% duty cycle, MSB first, Left channel at LRCLK low
    if ((eResult = adi_adau1962a_ConfigSerialClk (*pHandle,
    /* pulse mode - true */
    true, //TDM Mode = true Else false
    LRCLK_HI_LO_1962)) != ADI_ADAU1962A_SUCCESS)
    printf ("ADAU1962A: Failed to configure serial data clock, Error Code: 0x%08X\n", eResult);
    /* return error */
    return 1u;

    /* Power-up PLL */
    if ((eResult = adi_adau1962a_ConfigBlockPwr (*pHandle,
    true)) != ADI_ADAU1962A_SUCCESS)
    printf ("ADAU1962A: Failed to Power-up PLL, Error Code: 0x%08X\n", eResult);
    /* return error */
    return 1u;

    /* Configure Sample rate */
    if ((eResult = adi_adau1962a_SetSampleRate (*pHandle, SAMPLE_RATE)) != ADI_ADAU1962A_SUCCESS)
    printf ("ADAU1962A: Failed to configure Sample rate, Error Code: 0x%08X\n", eResult);
    /* return error */
    return 1u;

    /* Configure Word width */
    if ((eResult = adi_adau1962a_SetWordWidth (*pHandle,
    printf ("ADAU1962A: Failed to configure word width, Error Code: 0x%08X\n", eResult);
    /* return error */
    return 1u;

    /* Register callback */
    if ((eResult = adi_adau1962a_RegisterCallback (*pHandle,
    printf ("ADAU1962A: Failed to register callback, Error Code: 0x%08X\n", eResult);
    /* return error */
    return 1u;

    return 0u;

    The rest of the setup (config) is as the example project defines by default, I know there's something else I'm missing as the audio is tinny, but as far as I can tell the settings that make the ADC_DAC Example project work with TDM8 are all transferred into the USB project.

    Note, I have also setup the SPORT2B to mimic the ADC_DAC project - another thing I did when trying to get the audio correctly out of each channel.

    Any advice you can offer is greatly appreciated.

    Thanks in advance,


  • 0
    •  Analog Employees 
    on May 2, 2019 2:43 PM in reply to andy@sr

    Hello Andrew,

    Remember that I am not the SHARC support person. For me the code does not help me too much. I am not certain what is actually being executed since I have no way to know if some of the statements are true or false. 

    It looks like you have a 24.576MHZ master clock.

    It looks like the DAC is a master. 

    I see in one place that the LRCLK is set to 50/50 and in another to pulse mode. 

    So what would be handy is to know what the actual register settings are on the DAC?

    The screenshots are helpful. You missed the detail about not using a single sweep but to set the persistence on and to take a screen capture rather than a single sweep. Then you see all the bit transitions and you do not miss  the MSB. However, it looks like you did capture a negative number so that the MSB is high. 

    That screenshot tells me that you are sending the audio data left justified. Often with TDM the data is delayed by one bit clock cycle so we need to be certain that the DAC is set the same way. If it is not then you will miss the sign bit and I think that audio will sound horrible. On a scope it looks terrible. 

    Now your bitclock waveform. The good news is that there is no overshoot or undershoot! That is good, but there is a lot of high frequency roll-off. It will degrade your timing margin. Then by having the DAC be the master you degrade the timing margin further because the sending device, the DSP, has to wait for the bit clock edge then once it sees it then it will output the next bit and that takes time. tSODS is usually what it is called in the timing diagrams. 

    So if you start having issues with bit errors, clicks/pops, etc., then you may want to rethink your clocking.

    The SDATA looks a little different. It has a slight over and undershoot so this gives me a hint that the BCLK, LRCLK and SDATA are not treated the same with respect to the transmission lines on the PCB. I think you are using one of our evaluation boards... When it comes time to build your own boards I suggest you treat these signals the same because the timing of the edges are very important.  

    So send over a register setting list. The hex values. If it is just the registers that are changed that is fine, I will assume all others are at the default settings.  Then I will check to see if you have the DAC set properly. 


    Dave T

  • Hi Dave,

    I am attaching the register setting list, I think this is what you require, if not, please advise?

    In addition, can you please highlight where the  LRCLK is set to 50/50?


    Many Thanks,


  • 0
    •  Analog Employees 
    on May 2, 2019 5:25 PM in reply to andy@sr

    Hello Andrew,

    These are SHARC register settings. I am only concerned with the DAC. I support the DAC and wrote that datasheet. I hope someone else from the SHARC DSP support group will look into the other settings and questions you have. 

    The LRCLK is set with the DAC Control Register 1 located at address 0x07 and bit 6 will set it to pulse or 50/50% duty cycle. 

    Here is your code segment that suggests that it could be set to 50/50. This is what I mean that I have no idea what is actually being executed. 

    * Configure serial data clock
    * DAC as clock master, External BCLK, Latch on raising edge
    * LRCLK at 50% duty cycle, MSB first, Left channel at LRCLK low
    if ((eResult = adi_adau1962a_ConfigSerialClk (*pHandle,
    /* pulse mode - true */
    true, //TDM Mode = true Else false
    LRCLK_HI_LO_1962)) != ADI_ADAU1962A_SUCCESS)

    I am just trying to be certain you are setting the DAC to the correct setting for the format of the data you are sending and that you are setting the PLL correctly etc. The fact that you are hearing some audio means you are probably not far off. 

    So send me the DAC register settings that are being sent to the DAC. Another thing you could do is to read back all the registers after configuring to see what they are actually set to. 


    Dave T

  • Hi Dave,

    Apologies for my ignorance, I am only a few months into working with hardware, so I thoroughly appreciate you taking the time to aide me in whatever way possible.

    For explicity's sake I have modified function adi_adau1962a_ConfigSerialClk to show bool values and settings (image attached as it's easier to read than the code pasted in):

    I think you mean DAC register settings in file adi_adau1962a_regs.h, correct? if so, see below:

    If not, can you please detail how to get the information you need?

    Many Thanks,


    /* PLL and Clock control 0 Register field definitions (ADI_ADAU1962A_REG_PLL_CLK_CTRL0) */
    #define BITM_ADAU1962A_00_PLL_IN (0xC0u) /* PLL Input */
    #define ENUM_ADAU1962A_00_PLL_IN_DLRCLK (0x40u) /* DLRCLK */
    #define ENUM_ADAU1962A_00_PLL_IN_MCLKI (0x00u) /* MCLKI/XI */

    #define BITM_ADAU1962A_00_XTAL_SET (0x30u) /* XTALO pin status */
    #define ENUM_ADAU1962A_00_XTAL_OSC_OFF (0x30u) /* XTAL Oscillator Off */
    #define ENUM_ADAU1962A_00_XTAL_OSC_ON (0x00u) /* XTAL oscillator On */

    #define BITM_ADAU1962A_00_SOFT_RST (0x08u) /* Soft-Reset control */
    #define ENUM_ADAU1962A_00_SOFT_RST_EN (0x08u) /* Enable Soft-Reset */
    #define ENUM_ADAU1962A_00_SOFT_RST_CLR (0x00u) /* Clear Soft-Reset */

    #define BITP_ADAU1962A_00_MCLK_SEL (1u) /* MCLK Select position */
    #define BITM_ADAU1962A_00_MCLK_SEL (0x06u) /* MCLK pin functionality (PLL active) Mask */
    #define ENUM_ADAU1962A_00_MCLK_SEL_768 (0x06u) /* INPUT 768 (x 44.1 kHz or 48 kHz) */
    #define ENUM_ADAU1962A_00_MCLK_SEL_512 (0x04u) /* INPUT 512 (x 44.1 kHz or 48 kHz) */
    #define ENUM_ADAU1962A_00_MCLK_SEL_384 (0x02u) /* INPUT 384 (x 44.1 kHz or 48 kHz) */
    #define ENUM_ADAU1962A_00_MCLK_SEL_256 (0x00u) /* INPUT 256 (x 44.1 kHz or 48 kHz) */

    #define BITM_ADAU1962A_00_MSTR_PWR (0x01u) /* Master Power-Up Control */
    #define ENUM_ADAU1962A_00_MSTR_PWR_UP (0x01u) /* Master Power-Up */
    #define ENUM_ADAU1962A_00_MSTR_PWR_DN (0x00u) /* Master Power-Down */

    /* PLL and Clock control 1 Register field definitions (ADI_ADAU1962A_REG_PLL_CLK_CTRL1) */
    #define BITM_ADAU1962A_01_LOPWR_MODE (0xC0u) /* Global Power/Performance Adjust */
    #define ENUM_ADAU1962A_01_LOPWR_MODE_LOWEST (0xC0u) /* Lowest Power */
    #define ENUM_ADAU1962A_01_LOPWR_MODE_LOWER (0x80u) /* Lower Power */
    #define ENUM_ADAU1962A_01_LOPWR_MODE_I2C (0x00u) /* I2C Register Settings */

    #define BITM_ADAU1962A_01_MCLKO_SEL (0x30u) /* MCLK Output Frequency */
    #define ENUM_ADAU1962A_01_MCLKO_DIS (0x30u) /* MCLKO Pin Disabled */
    #define ENUM_ADAU1962A_01_MCLKO_MCLKI (0x20u) /* Buffered MCLKI */
    #define ENUM_ADAU1962A_01_MCLKO_8_12MHZ (0x10u) /* 8 MHz to 12 MHz scaled by fs */
    #define ENUM_ADAU1962A_01_MCLKO_4_6MHZ (0x00u) /* 4 MHz to 6 MHz scaled by fs */

    #define BITM_ADAU1962A_01_PLL_MUTE (0x08u) /* PLL Automute Enable/Lock */
    #define ENUM_ADAU1962A_01_PLL_MUTE_EN (0x08u) /* DAC Automute on PLL Unlock */
    #define ENUM_ADAU1962A_01_PLL_MUTE_DIS (0x00u) /* No DAC Automute */

    #define BITM_ADAU1962A_01_PLL_LOCK (0x04u) /* PLL Lock Indicator */
    #define ENUM_ADAU1962A_01_PLL_LOCKED (0x00u) /* PLL Locked */

    #define BITM_ADAU1962A_01_VREF_EN (0x02u) /* Internal Voltage Reference Enable */
    #define ENUM_ADAU1962A_01_VREF_EN (0x02u) /* VREF Enabled */
    #define ENUM_ADAU1962A_01_VREF_DIS (0x00u) /* VREF Disabled */

    #define BITM_ADAU1962A_01_DAC_CLK_SEL (0x01u) /* DAC Clock Select */
    #define ENUM_ADAU1962A_01_DAC_CLK_MCLKI (0x01u) /* MCLK from MCLKI or XTALI as DAC Clock Source */
    #define ENUM_ADAU1962A_01_DAC_CLK_PLL (0x00u) /* PLL as DAC Clock Source */

    /* Block Power-down and Thermal Sensor Control 1 Register field definitions (ADI_ADAU1962A_REG_PDN_THRMSENS_CTRL_1) */
    #define BITM_ADAU1962A_02_THRM_RATE (0xC0u) /* Conversion Time Interval */
    #define ENUM_ADAU1962A_02_THRM_RATE_2S (0xC0u) /* 2 sec/Conversion */
    #define ENUM_ADAU1962A_02_THRM_RATE_1S (0x80u) /* 1 sec/Conversion */
    #define ENUM_ADAU1962A_02_THRM_RATE_0_5_S (0x40u) /* One-Shot Mode */
    #define ENUM_ADAU1962A_02_THRM_RATE_4S (0x00u) /* 4 sec/Conversion */

    #define BITM_ADAU1962A_02_THRM_MODE (0x20u) /* One-Shot Conversion Mode */
    #define ENUM_ADAU1962A_02_THRM_MODE_ONE_SHOT (0x20u) /* One-Shot Mode */
    #define ENUM_ADAU1962A_02_THRM_MODE_CONTINUOUS (0x00u) /* Continuous Operation */

    #define BITM_ADAU1962A_02_THRM_GO (0x10u) /* One-Shot Conversion Mode */
    #define ENUM_ADAU1962A_02_THRM_GO_CONVERT (0x10u) /* Convert Temperature */
    #define ENUM_ADAU1962A_02_THRM_GO_RESET (0x00u) /* Reset */

    #define BITM_ADAU1962A_02_TS_PDN (0x04u) /* Temperature Sensor Power-Down */
    #define ENUM_ADAU1962A_02_TS_PDN_PDN (0x04u) /* Temperature Sensor Power-Down */
    #define ENUM_ADAU1962A_02_TS_PDN_NORMAL (0x00u) /* Temperature Sensor Normal Operation */

    #define BITM_ADAU1962A_02_PLL_PDN (0x02u) /* PLL Power-Down */
    #define ENUM_ADAU1962A_02_PLL_PDN_PDN (0x02u) /* PLL Power-Down */
    #define ENUM_ADAU1962A_02_PLL_PDN_NORMAL (0x00u) /* PLL Normal Operation */

    #define BITM_ADAU1962A_02_VREG_PDN (0x01u) /* Voltage Regulator Power-Down */
    #define ENUM_ADAU1962A_02_VREG_PDN_PDN (0x01u) /* Voltage Regulator Power-Down */
    #define ENUM_ADAU1962A_02_VREG_PDN_NORMAL (0x00u) /* Voltage Regulator Normal Operation */

    /* Bit mask for power-down control */
    #define BITM_ADAU1962A_02_PDN_CTRL (BITM_ADAU1962A_02_TS_PDN |\
    BITM_ADAU1962A_02_PLL_PDN |\

    /* Power-Down control 2 Register field definitions (ADI_ADAU1962A_REG_PDN_CTRL2) */
    #define BITM_ADAU1962A_03_DAC_PDN (0x01u) /* Power-Down DAC Channel */
    #define ENUM_ADAU1962A_03_DAC_PDN_PDN (0x01u) /* Power-Down DAC Channel */
    #define ENUM_ADAU1962A_03_DAC_PDN_NORMAL (0x00u) /* Normal Operation */

    /* DAC control 0 Register field definitions (ADI_ADAU1962A_REG_DAC_CTRL0) */
    #define BITM_ADAU1962A_06_SDATA_FMT (0xC0u) /* SDATA Format */
    #define ENUM_ADAU1962A_06_SDATA_FMT_I2S (0x00u) /* I2S, 1 BCLK Cycle Delay */

    #define BITM_ADAU1962A_06_SAI (0x38u) /* Serial Audio Interface */
    #define ENUM_ADAU1962A_06_SAI_TDM16 (0x20u) /* TDM16—Single Line (48 kHz) */
    #define ENUM_ADAU1962A_06_SAI_TDM8 (0x18u) /* TDM8—Dual Line */
    #define ENUM_ADAU1962A_06_SAI_TDM4 (0x10u) /* TDM4—Quad Line */
    #define ENUM_ADAU1962A_06_SAI_TDM2 (0x08u) /* TDM2—Octal Line */
    #define ENUM_ADAU1962A_06_SAI_STEREO (0x00u) /* Stereo (I2S, LJ, RJ) */

    #define BITP_ADAU1962A_06_FS (1u) /* Sample Rate Select */
    #define BITM_ADAU1962A_06_FS (0x06u) /* Mask for Sample Rate Select */
    #define ENUM_ADAU1962A_06_FS_128_176_192_LOW (0x06u) /* 128 kHz/176.4 kHz/192 kHz Low Propagation Delay */
    #define ENUM_ADAU1962A_06_FS_128_176_192 (0x04u) /* 128 kHz/176.4 kHz/192 kHz */
    #define ENUM_ADAU1962A_06_FS_64_88_96 (0x02u) /* 64 kHz/88.2 kHz/96 kHz */
    #define ENUM_ADAU1962A_06_FS_32_44_48 (0x00u) /* 32 kHz/44.1 kHz/48 kHz */

    #define BITM_ADAU1962A_06_MMUTE (0x01u) /* Master Mute */
    #define ENUM_ADAU1962A_06_MMUTE_EN (0x01u) /* All Channels Muted */
    #define ENUM_ADAU1962A_06_MMUTE_DIS (0x00u) /* Normal Operation */

    /* DAC control 1 Register field definitions (ADI_ADAU1962A_REG_DAC_CTRL1) */
    #define BITM_ADAU1962A_07_BCLK_GEN (0x80u) /* DBCLK Generation */
    #define ENUM_ADAU1962A_07_BCLK_GEN_INTERNAL (0x80u) /* Internal DBCLK Generation */
    #define ENUM_ADAU1962A_07_BCLK_GEN_NORMAL (0x00u) /* Normal Operation—DBCLK */

    #define BITM_ADAU1962A_07_LRCLK_MODE (0x40u) /* DLRCLK Mode Select. Only Valid for TDM modes */
    #define ENUM_ADAU1962A_07_LRCLK_PULSE (0x40u) /* Pulse mode */
    #define ENUM_ADAU1962A_07_LRCLK_50_50 (0x00u) /* 50% Duty Cycle DLRCLK */

    #define BITM_ADAU1962A_07_LRCLK_POL (0x00u) /* DLRCLK Polarity. Allows the swapping of data between channels */
    #define ENUM_ADAU1962A_07_LRCLK_POL_INVERT (0x20u) /* Left/Odd channels are DLRCLK High (Inverted) */
    #define ENUM_ADAU1962A_07_LRCLK_POL_NORMAL (0x00u) /* Left/Odd channels are DLRCLK Low (Normal) */

    #define BITM_ADAU1962A_07_SAI_MSB (0x10u) /* MSB Position */
    #define ENUM_ADAU1962A_07_SAI_LSB_FIRST (0x10u) /* LSB First DSDATA */
    #define ENUM_ADAU1962A_07_SAI_MSB_FIRST (0x00u) /* MSB First DSDATA */

    #define BITM_ADAU1962A_07_BCLK_RATE (0x04u) /* DBCLK Rate. Number of DBCLK cycles per DLRCLK frame */
    #define ENUM_ADAU1962A_07_BCLK_RATE_16CYCLES (0x04u) /* 16 Cycles per Frame */
    #define ENUM_ADAU1962A_07_BCLK_RATE_32CYCLES (0x00u) /* 32 Cycles per Frame */

    #define BITM_ADAU1962A_07_BCLK_EDGE (0x02u) /* DBCLK Active Edge */
    #define ENUM_ADAU1962A_07_BCLK_FALLING_EDGE (0x02u) /* Latch on Falling Edge */
    #define ENUM_ADAU1962A_07_BCLK_RISING_EDGE (0x00u) /* Latch on Rising Edge */

    #define BITM_ADAU1962A_07_SAI_MS (0x01u) /* Serial Interface Master */
    #define ENUM_ADAU1962A_07_SAI_MASTER (0x01u) /* DLRCLK/DBCLK Master */
    #define ENUM_ADAU1962A_07_SAI_SLAVE (0x00u) /* DLRCLK/DBCLK Slave */

    /* DAC control 2 Register field definitions (ADI_ADAU1962A_REG_DAC_CTRL2) */
    #define BITM_ADAU1962A_08_BCLK_TDMC (0x20u) /* DBCLK Rate in TDM Mode */
    #define ENUM_ADAU1962A_08_BCLK_TDMC_16 (0x20u) /* 16 BCLK cycles/channel slot */
    #define ENUM_ADAU1962A_08_BCLK_TDMC_32 (0x00u) /* 32 BCLK cycles/channel slot */

    #define BITM_ADAU1962A_08_DAC_POL (0x10u) /* DAC Output Polarity. This is a global switch of DAC polarity */
    #define ENUM_ADAU1962A_08_DAC_POL_INVERT (0x10u) /* Inverted DAC Output */
    #define ENUM_ADAU1962A_08_DAC_POL_NON_INVERT (0x00u) /* NonInverted DAC Output */

    #define BITM_ADAU1962A_08_AUTO_MUTE_EN (0x04u) /* Automute Enable */
    #define ENUM_ADAU1962A_08_AUTO_MUTE_EN (0x04u) /* Auto-Zero Input Mute Enabled */
    #define ENUM_ADAU1962A_08_AUTO_MUTE_DIS (0x00u) /* Auto-Zero Input Mute Disabled */

    #define BITM_ADAU1962A_08_DAC_OSR (0x02u) /* DAC Oversampling Rate. OSR selection */
    #define ENUM_ADAU1962A_08_DAC_OSR_128 (0x02u) /* 128 × fs DAC Oversampling */
    #define ENUM_ADAU1962A_08_DAC_OSR_256 (0x00u) /* 256 × fs DAC Oversampling */

    #define BITM_ADAU1962A_08_DE_EMP_EN (0x01u) /* De-Emphasis Enable */
    #define ENUM_ADAU1962A_08_DE_EMP_EN (0x01u) /* De-Emphasis Enabled */
    #define ENUM_ADAU1962A_08_DE_EMP_DIS (0x00u) /* No De-Emphasis/Flat */

    /* DAC Individual channel mutes 1 Register field definitions (ADI_ADAU1962A_REG_DAC_MUTE1) */
    #define BITM_ADAU1962A_09_DAC_MUTE (0x01u) /* Mute DAC Channel */
    #define ENUM_ADAU1962A_09_DAC_MUTE_EN (0x01u) /* Mute DAC Channel */
    #define ENUM_ADAU1962A_09_DAC_MUTE_DIS (0x00u) /* Normal Operation, Mute disabled */

    /* Pad strength Register field definitions (ADI_ADAU1962A_REG_PAD_STRGTH) */
    #define BITM_ADAU1962A_1C_PAD_DRV (0x20u) /* Output Pad Drive Strength Control */
    #define ENUM_ADAU1962A_1C_PAD_DRV_8MA (0x20u) /* 8 mA Drive for All Pads */
    #define ENUM_ADAU1962A_1C_PAD_DRV_4MA (0x00u) /* 4 mA Drive for All Pads */

    /* DAC Power adjust 1 Register field definitions (ADI_ADAU1962A_REG_DAC_POWER1) */
    #define BITM_ADAU1962A_1D_DAC_POWER (0x03u) /* DAC Power Control */
    #define ENUM_ADAU1962A_1D_DAC_GOOD_PERF (0x03u) /* Good Performance */
    #define ENUM_ADAU1962A_1D_DAC_BEST_PERF (0x02u) /* Best Performance */
    #define ENUM_ADAU1962A_1D_DAC_LOWEST_POWER (0x01u) /* Lowest Power */
    #define ENUM_ADAU1962A_1D_DAC_LOW_POWER (0x00u) /* Low Power */