Soundcard, the sound stop and continue in Several milliseconds

If you have a simple question and just want an answer.
superganbu
Member++
Posts: 21
Joined: Thu Dec 07, 2017 3:27 am

Soundcard, the sound stop and continue in Several milliseconds

Post by superganbu »

Dear,
We had discuss the problem before,and We have some more details,
The old:
We have the xCORE-200-Multichannel-Audio-Platform-2V0 and we design our soundcard base on XMos, they both have the problem。
We use the bord to play the Sine sweep signal,and record ,then cmpute the FR(frequency response),we found that sometimes the FR is droped on some frequency point and get well at once,several times one day。

the bushound show that(sorry I dont know how to upload the picture):
ISOC...
ISOC...
ISOC...
USTS C0000A00 usbd_status_bad_start_frame
USTS C0000A00 usbd_status_bad_start_frame
ISOC...
ISOC...
...
CTL 01 0B 00 00 02 00 00 00 : STOP AUDIO STREAM
CTL 01 0B 00 00 01 00 00 00
CTL 21 01 00 01 01 29 04 00 : SET UP RATE
OUT 80 BB 00 00 : 48000kbps
CTL 01 0B 00 00 01 00 00 00 : START AUDIO STREAM
CTL 01 0B 00 00 02 00 00 00
RESET
RESET
ISOC...
ISOC...

When the computer do more things, the problem will be worse,

Thank you very much,Looking forward to your reply.


User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Hi. Bushound is from total phase?

Select attachments and upload the log file. Then the viewer tool will allow us to to properly view the USB logs.
superganbu
Member++
Posts: 21
Joined: Thu Dec 07, 2017 3:27 am

Post by superganbu »

Thank you , the pictures for help
Attachments
wave.png
wave
(280.19 KiB) Not downloaded yet
wave.png
wave
(280.19 KiB) Not downloaded yet
stream stop.png
stream stop and start again
(16.6 KiB) Not downloaded yet
stream stop.png
stream stop and start again
(16.6 KiB) Not downloaded yet
an error.png
USTS ERR
(11.98 KiB) Not downloaded yet
an error.png
USTS ERR
(11.98 KiB) Not downloaded yet
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Hi. First, not an audio developer but have reviewed many OEM designs to assist others to bring to production. Finding mixed issues during such reviews.

1) Have you modified the XMOS supplied IP? It is very important to review where such modifications may have been made. USB interface is very time sensitive IP. If there is not enough bandwidth for the USB IP, you may face such issues by breaking the USB communication timing. As a test, load up AN00129 = HID MOUSE example. Does this run for 30 mins+ without crashing? If yes, then the hardware should be ok, need to study the XMOS custom code.

2) Since the issue also is present on the XMOS kit, we cannot blame the PCB layout which must be impedance controlled PCB layout (90 ohms on the USB traces) - this must be validated with a TDR report from the PCB shop. Highly recommend 4L or more for such layouts - 2L is far too risky for USB HS (480mbps) designs. May work now but could fail on other boxes / PCs.

3) Do review:

https://www.xcore.com/viewtopic.php?f=37&t=6460

Code: Select all

xrun --dumpstate <your .xe file>

See attached (post these details):
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Hi. Also view:

AN00200 for details on the TASK VIEWER

Which will offer details on how your threads are being used up.

reference:
http://www.xcore.com/viewtopic.php?t=4642
superganbu
Member++
Posts: 21
Joined: Thu Dec 07, 2017 3:27 am

Post by superganbu »

mon2 wrote: Thu Dec 05, 2019 4:46 am 1) Have you modified the XMOS supplied IP? It is very important to review where such modifications may have been made. USB interface is very time sensitive IP. If there is not enough bandwidth for the USB IP, you may face such issues by breaking the USB communication timing. As a test, load up AN00129 = HID MOUSE example. Does this run for 30 mins+ without crashing? If yes, then the hardware should be ok, need to study the XMOS custom code.
thank you very much

1. we have done the AN00129 = HID MOUSE example,what is crashing mean? IN servel mins the mouse is move to another position, so are there some frame had been dropped?
2. what is supplied IP?can you descripe it?
3. we have the Kit: XK-AUDIO-216-MC-ABL, but we have download our soft project, where can we get the original soft file,and so we check it too


best wishes
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Hi.

1) please review the audio IP document from XMOS. This document details how to rebuild any of the audio firmware from scratch. Will try to locate and post the document details later today or tomorrow.

You can find the document and procedure posted here:

https://www.xcore.com/viewtopic.php?f=26&t=7733

2) fairly sure that the mouse IP should have moved in a square only. Not move to another part of the screen. Is this on the XMOS official kit? Can you test with a short USB cable?

3) crash = lock up or something not expected.
superganbu
Member++
Posts: 21
Joined: Thu Dec 07, 2017 3:27 am

Post by superganbu »

Dear mon2
We get a new Kit: XK-AUDIO-216-MC-ABL,like the photo.
It is completely new,We don’t change the software and hardware,just power on and play a wav file.
The problem look like the picture.
And my computer information.
Is there anything I did wrong or is the problem exist in your office?
We had our XMOS soundcard almost one year ,so We really want to know the problem and improve it.

Thank you very much.
Attachments
NEW.png
(76.95 KiB) Not downloaded yet
NEW.png
(76.95 KiB) Not downloaded yet
NEW XMOS.png
NEW XMOS.png (515.81 KiB) Viewed 8329 times
NEW XMOS.png
NEW XMOS.png (515.81 KiB) Viewed 8329 times
computer.png
computer.png (14.2 KiB) Viewed 8329 times
computer.png
computer.png (14.2 KiB) Viewed 8329 times
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Ok. Let us see how busy it gets at the office today but will try to test at least the mouse IP on this kit in the lab.

My main lab PC is also Windows 7 x64.

The Bushound tool is the freeware version? Will download it for testing.

Can you share the color of the USB port insulator? Is it black (USB 2.0) or blue (USB 3.0)?

You are using the XMOS supplied power supply with the kit?
superganbu
Member++
Posts: 21
Joined: Thu Dec 07, 2017 3:27 am

Post by superganbu »

mon2 wrote: Mon Dec 09, 2019 11:11 am The Bushound tool is the freeware version? Will download it for testing.

Can you share the color of the USB port insulator? Is it black (USB 2.0) or blue (USB 3.0)?

You are using the XMOS supplied power supply with the kit?
1. Yes, The Bushound tool is the freeware version.
2. It is black.
3.Yes, we use the XMOS supplied power supply with the kit.

We can evan listen the noise with our ears,about in a few minutes,it become worse(frequently) when the computer is busy ,for example:when the composer studio is building a project。
Post Reply