XHRA-2HPA No I2S Data

Technical discussions around xCORE processors (e.g. General Purpose (L/G), xCORE-USB, xCORE-Analog, xCORE-XA).
just280
Member++
Posts: 21
Joined: Tue Nov 01, 2016 9:02 am

XHRA-2HPA No I2S Data

Postby just280 » Thu Nov 17, 2016 11:22 am

Hi,

I'm having trouble getting any audio out of my USB to I2S bridge using the XHRA-2HPA. The device enumerates fine on my PC and I can observe activity on the BCLK and LRCK pins but no activity on the DOUT pin? I know the flash chip configuration is fine as I have swapped it from a working demo board. Also there seems to be no audio from the SPDIF out either.
User avatar
larry
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Postby larry » Fri Nov 18, 2016 5:14 pm

Is audio definitely streaming to your device from the host? Is the device selected for audio output? Are you able to change sample rates and see LRCLK change accordingly?
just280
Member++
Posts: 21
Joined: Tue Nov 01, 2016 9:02 am

Postby just280 » Mon Nov 21, 2016 5:29 pm

Yes audio is definitely streaming from the host as I have a fully working xmos demo board.
The LRCH changes in accordance to what is specified on the host too, 44KHz up to 192KHz. Still nothing on DOUT pin 2 or SPDIF pin 42. FYI the circuit is identical to the XMOS headphone demo board and I have swapped the si5351A and flash chips over just to eliminate them.
User avatar
larry
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Postby larry » Wed Nov 23, 2016 3:43 pm

Is your configuration I2S master or slave? What is the datecode of your XHRA-2HPA part? Did you purchase it through DigiKey?
lorenzochiesi
Member++
Posts: 30
Joined: Mon Sep 05, 2016 4:20 pm

Postby lorenzochiesi » Thu Nov 24, 2016 7:28 pm

Try to look to my post...I had similar problem...

https://www.xcore.com/forum/viewtopic.p ... it=#p25731
just280
Member++
Posts: 21
Joined: Tue Nov 01, 2016 9:02 am

Postby just280 » Tue Jan 03, 2017 3:12 pm

Thank you lorenzochiesi for your suggestion but I can't see what the similarity's are between your post my my post?

I have a second board made and it too has the same issue... USB enumerates fine and windows see's device. I play an audio file and still no i2s data!! sample rate on LRCK changes according to what I select on windows. And by the way the XMOS demo board works fine!!! What am I missing?

The device date code is GT162101.
lorenzochiesi
Member++
Posts: 30
Joined: Mon Sep 05, 2016 4:20 pm

Postby lorenzochiesi » Tue Jan 03, 2017 3:24 pm

Sorry, I came across your post while having similar problem (no I2S data on wire)...I have not read carefully your post: my problems are on recording I2S signal generated by an ADC that XMOS demo code for some reason will not initialize correctly keeping it in reset.

Now I read better and your problem is not related because is a playback problem and I2S shoud be generated from XMOS device...

Are you shure that is a software problem? have you checked if for some reason your I2S pcb track is not pulled low from some device or short?
Lorenzo
just280
Member++
Posts: 21
Joined: Tue Nov 01, 2016 9:02 am

Postby just280 » Tue Jan 03, 2017 3:35 pm

My first board had the i2s data connected to a DAC and the second board has no DAC fitted as I am waiting for stock. I have inspected and the i2s track and it has no shorts, to be honest it is a very short track.

Who is online

Users browsing this forum: No registered users and 3 guests