Hardware volume

Hi,
I’ve compiled my first firmware and uploaded to the tone board, as expected it doesn’t work :slight_smile: ,no sound but at least the board is recognized as a xmos device, the alsamixer shows the hardware volume so good news.I’ve done basic configuration of the 9038 through i2c and managed the 2 gpios to enable the good audio clock
I think i need advice on the conf file.
here is my setup :



            <!-- Audio Ports -->          
            <Port Location="XS1_PORT_1D"  Name="PORT_MCLK_IN"/>
            <Port Location="XS1_PORT_1P"  Name="PORT_I2S_LRCLK"/>
            <Port Location="XS1_PORT_1O"  Name="PORT_I2S_BCLK"/>
            <Port Location="XS1_PORT_1N"  Name="PORT_I2S_DAC0"/>
            <Port Location="XS1_PORT_4C"  Name="PORT_I2C"/>
            
            <Port Location="XS1_PORT_1O"  Name="PORT_DSD_DAC0"/>
            <port Location="XS1_PORT_1N"  Name="PORT_DSD_DAC1"/>
            <Port Location="XS1_PORT_1P"  Name="PORT_DSD_CLK"/>
            <Port Location="XS1_PORT_16B"  Name="PORT_MCLK_COUNT"/> 

Am I in the right direction ?
Thanks

2 Likes