Script for DA7219 EVK Module

Hi, 

    I am using DA7219 performance board for the codec. I am unable to playback using DA7219 GUI. I would like to verify USB Playback, For this, I followed this document DA7219 Readme and Quick Start.pdf. As per the document, the script is required. But when I installed GUI, I am not getting any type of script. Can you please provide me the playback supported script??

 

Thanks,

Divyesh

  • Hi Divyesh,

    Thanks for reaching out. Please find attached the requested script. Let us know if you have any further question

    Kind Regards

    Shivani

  • //***************************** FILE HEADER ************************************//
    //                                                                        //
    // Filename:    .txt                    //
    // Author: BM                                       //
    // Date: 10-Aug-15                                          //
    // Description:
    //******************************************************************************//

    WRITE DA7219 0x13 0x80 //RESET

    WRITE DA7219 0xFD 0x01 //Enable ACTIVE mode
    WRITE DA7219 0x13 0x01 //Enable repeat mode register access (register address and data is sent for each write)
    WRITE DA7219 0x91 0x01 //IO Level 1.5-2.5V
    WRITE DA7219 0x32 0x08 //Enable Master BIAS and VMID (VMID and Bandgap enabled on BIAS_EN)

           
    WRITE DA7219 0x20 0x08 //PLL Disabled, PLL INDIV= 10-20MHz
    WRITE DA7219 0x17 0x0B //48kHz sample rate
    WRITE DA7219 0x2C 0xAC //DAI Enabled, DAI Channel 1L and 1R enabled, 32bit, I2S
    WRITE DA7219 0x2B 0x01 //Slave Mode DAI, 64xFS BCLK
    WRITE DA7219 0x30 0x00 //No Offset on DAI (lower)
    WRITE DA7219 0x31 0x00 //No Offset on DAI (upper)

    WRITE DA7219 0x47 0xA0 //Enable Charge Pump DAC VOL mode
    WRITE DA7219 0x95 0x0E //Set CP Threshold to 0x0E
    WRITE DA7219 0x44 0x80 //Enable DAC HPF
    WRITE DA7219 0x2E 0x32 //DAC right source is DAI, DAC left source is DAI
    WRITE DA7219 0x3C 0x01 //No sidetone
    WRITE DA7219 0x3D 0x02 //No sidetone
    WRITE DA7219 0x4B 0x01 //MIXOUTL enabled
    WRITE DA7219 0x4C 0x01 //MIXOUTR enabled
    WRITE DA7219 0x51 0xF1 //Enable stereo DAC, MIXOUT and HP

     

  • Hi Shivani,

         Thanks for your reply, I have tested playback on DA7219 EVK Module and playback works successfully.

    Thanks,

    Divyesh

  • Hello Ssaravan,
    I use this script and playback audio ok but can't record.

    Can you help me new script or some solution?

  • Hi ,

    I will check with concern AE and come back to you

    Thanks

    AB