Driver timed out on play

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
rkn
Member
Posts: 14
Joined: Tue Nov 18, 2014 6:23 pm

Driver timed out on play

Postby rkn » Fri Mar 22, 2019 6:09 pm

Hello,

I am having an issue with a board built around the XE216-512-TQ128.
I am running the USB Audio Multichannel software from XMOS on it (Build configuration: 2i8o8xxxxx_tdm8)
When I attach the USB connection the device is enumerated and recognized as USB Audio 2 device by macOS. I can. see the LRCK and BCLK coming from the XMOS with correct values (48kHz, 12,288MHz).
The only change I made was reconfiguring the pins. This is from my xn-File:

Code: Select all

<Tile Number="0" Reference="tile[0]">
            <Port Location="XS1_PORT_1B" Name="PORT_SQI_CS"/>
            <Port Location="XS1_PORT_1C" Name="PORT_SQI_SCLK"/>
            <Port Location="XS1_PORT_4B" Name="PORT_SQI_SIO"/>
        
            <!-- Audio Ports -->         
            <Port Location="XS1_PORT_1A"  Name="PORT_PLL_REF"/>
            <Port Location="XS1_PORT_1H"  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_1M"  Name="PORT_I2S_DAC1"/>
            <port Location="XS1_PORT_1G"  Name="PORT_I2S_DAC2"/>
            <port Location="XS1_PORT_1I"  Name="PORT_I2S_DAC3"/>
            <Port Location="XS1_PORT_1F"  Name="PORT_I2S_ADC0"/>
            <Port Location="XS1_PORT_1J"  Name="PORT_I2S_ADC1"/>
            <Port Location="XS1_PORT_1K"  Name="PORT_I2S_ADC2"/>
            <Port Location="XS1_PORT_1L"  Name="PORT_I2S_ADC3"/>
            <Port Location="XS1_PORT_4A"  Name="PORT_I2C"/>
            <Port Location="XS1_PORT_1M"  Name="PORT_DSD_DAC0"/>
            <port Location="XS1_PORT_1N"  Name="PORT_DSD_DAC1"/>
            <Port Location="XS1_PORT_1G"  Name="PORT_DSD_CLK"/>
            <Port Location="XS1_PORT_1E"  Name="PORT_ADAT_OUT"/>-->  <!-- D: COAX E: OPT --> 
            <Port Location="XS1_PORT_1D"  Name="PORT_SPDIF_OUT"/>--> <!-- D: COAX E: OPT --> 
          </Tile>
          <Tile Number="1" Reference="tile[1]">
            <Port Location="XS1_PORT_1H"  Name="PORT_USB_TX_READYIN"/>
            <Port Location="XS1_PORT_1J"  Name="PORT_USB_CLK"/>
            <Port Location="XS1_PORT_1K"  Name="PORT_USB_TX_READYOUT"/>
            <Port Location="XS1_PORT_1I"  Name="PORT_USB_RX_READY"/>
            <Port Location="XS1_PORT_1E"  Name="PORT_USB_FLAG0"/>
            <Port Location="XS1_PORT_1F"  Name="PORT_USB_FLAG1"/>
            <Port Location="XS1_PORT_1G"  Name="PORT_USB_FLAG2"/>
            <Port Location="XS1_PORT_8A"  Name="PORT_USB_TXD"/>
            <Port Location="XS1_PORT_8B"  Name="PORT_USB_RXD"/>
            
            <!-- Audio Ports -->
            <Port Location="XS1_PORT_16B" Name="PORT_MCLK_COUNT"/>              
            <Port Location="XS1_PORT_1L"  Name="PORT_MCLK_IN2"/>
            <Port Location="XS1_PORT_1M"  Name="PORT_MIDI_IN"></Port>
            <Port Location="XS1_PORT_1N"  Name="PORT_MIDI_OUT"/>
            <Port Location="XS1_PORT_1O"  Name="PORT_ADAT_IN"/>-->  <!-- P: COAX O: OPT --> 
            <Port Location="XS1_PORT_1P"  Name="PORT_SPDIF_IN"/>--> <!-- P: COAX O: OPT --> 
          </Tile>
When I start now audio playing in Plogue Bidule I get a message box with the following error message: Driver timed out on play. I don't see any data on the TDM-Out line.
Other software does not play, too, but at least Bidule gave an error message.
It seems, that the XMOS does not start to play.
Now, interestingly, if I run the software on another board from another project but with the same XMOS schematic and almost the same PCB layout, it works.
Any idea how I can debug this? Could it be that the XE216 is damaged somehow?

Raphael

Who is online

Users browsing this forum: No registered users and 0 guests