Soundcard, the sound stop and continue in Several milliseconds

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

Soundcard, the sound stop and continue in Several milliseconds

Postby superganbu » Wed Dec 04, 2019 10:23 am

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: 1592
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Wed Dec 04, 2019 12:07 pm

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: 18
Joined: Thu Dec 07, 2017 3:27 am

Postby superganbu » Thu Dec 05, 2019 4:06 am

Thank you , the pictures for help
You do not have the required permissions to view the files attached to this post.
User avatar
mon2
XCore Legend
Posts: 1592
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Thu Dec 05, 2019 4:46 am

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:

viewtopic.php?f=37&t=6460

Code: Select all

xrun --dumpstate <your .xe file>

See attached (post these details):
AN10126_-How-to-display-the-resources-used-by-a-program_1.0.0rc2.pdf
You do not have the required permissions to view the files attached to this post.
User avatar
mon2
XCore Legend
Posts: 1592
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Thu Dec 05, 2019 11:17 am

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: 18
Joined: Thu Dec 07, 2017 3:27 am

Postby superganbu » Sat Dec 07, 2019 3:43 am

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: 1592
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Sat Dec 07, 2019 4:04 am

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:

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: 18
Joined: Thu Dec 07, 2017 3:27 am

Postby superganbu » Mon Dec 09, 2019 8:56 am

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.
You do not have the required permissions to view the files attached to this post.
User avatar
mon2
XCore Legend
Posts: 1592
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Mon Dec 09, 2019 11:11 am

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: 18
Joined: Thu Dec 07, 2017 3:27 am

Postby superganbu » Tue Dec 10, 2019 3:26 am

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。

Who is online

Users browsing this forum: No registered users and 0 guests