I started to test the XK-AUDIO-316-MC-AB. I build app_usb_aud_xk_316_mc 1AMi2o2xxxxxx and set the jumpers for i2S. Analoge output is working but It doesn't send audio to the PC. Any idea? I am building with xtools 15.2.1 and app_usb_aud_xk_316_mc is version 8.1.0.
Thank you.
XK-AUDIO-316-MC-AB analog input doesn't work
-
- Junior Member
- Posts: 7
- Joined: Tue Jun 13, 2023 10:38 pm
-
- Member
- Posts: 10
- Joined: Wed Dec 30, 2020 8:11 pm
- Location: Hamburg
how did you setup the jumpers?
did you try the precompiled images?
mine is working fine
did you try the precompiled images?
mine is working fine
-
- Junior Member
- Posts: 7
- Joined: Tue Jun 13, 2023 10:38 pm
Thank you.
I upoload the picture with the jumpers.
I only downloaded code from https://www.xmos.com/develop/usb-multichannel-audio/ and built it.
I upoload the picture with the jumpers.
I only downloaded code from https://www.xmos.com/develop/usb-multichannel-audio/ and built it.
You do not have the required permissions to view the files attached to this post.
-
- Member
- Posts: 10
- Joined: Wed Dec 30, 2020 8:11 pm
- Location: Hamburg
my jumpers are the same.
did you try 2AMi8o8xxxxxx ?
that’s the one i used
did you try 2AMi8o8xxxxxx ?
that’s the one i used
-
- Junior Member
- Posts: 7
- Joined: Tue Jun 13, 2023 10:38 pm
Same result, no audio from mic.
-
Verified
- Experienced Member
- Posts: 66
- Joined: Sun Dec 13, 2009 1:12 am
Do you have any more details on your exact test setup?
When you say no audio from mic how are you providing a signal to the line input? Are you playing an output at the same time and using the loopback cable? Is your loopback cable definitely a stereo TRS jack cable? (I noted it has a mic symbol on it). What OS and software are you using to test?
If you want to test the hardware you can run the attached binary with the command: xrun --xscope analogue_loopback.xe
This test plays a tone out of all analogue outputs and looks for signals on all analogue inputs and reports their level. For your setup with a single loopback cable from out 1/2 to in 1/2 you should get an output like this:
Starting I2S sample tap
Starting audio analyzer task
Generating sine table for chan 0, frequency 1000, period 48, volume 27
Starting audio analyzer task
Starting audio analyzer task
Starting audio analyzer task
Generating sine table for chan 1, frequency 2000, period 24, volume 27
Generating sine table for chan 2, frequency 3000, period 16, volume 27
Generating sine table for chan 3, frequency 4000, period 12, volume 27
Generating sine table for chan 4, frequency 5000, period 240, volume 27
Generating sine table for chan 5, frequency 6000, period 8, volume 27
Generating sine table for chan 6, frequency 7000, period 336, volume 27
Generating sine table for chan 7, frequency 8000, period 6, volume 27
Generating signals.
Channel 0: Signal detected (amplitude: 209336832,-208744960)
Channel 1: Signal detected (amplitude: 203174912,-202546688)
Channel 0: Frequency 1000 (mag: 78)
Channel 1: Frequency 2000 (mag: 76)
Cheers,
Joe
When you say no audio from mic how are you providing a signal to the line input? Are you playing an output at the same time and using the loopback cable? Is your loopback cable definitely a stereo TRS jack cable? (I noted it has a mic symbol on it). What OS and software are you using to test?
If you want to test the hardware you can run the attached binary with the command: xrun --xscope analogue_loopback.xe
This test plays a tone out of all analogue outputs and looks for signals on all analogue inputs and reports their level. For your setup with a single loopback cable from out 1/2 to in 1/2 you should get an output like this:
Starting I2S sample tap
Starting audio analyzer task
Generating sine table for chan 0, frequency 1000, period 48, volume 27
Starting audio analyzer task
Starting audio analyzer task
Starting audio analyzer task
Generating sine table for chan 1, frequency 2000, period 24, volume 27
Generating sine table for chan 2, frequency 3000, period 16, volume 27
Generating sine table for chan 3, frequency 4000, period 12, volume 27
Generating sine table for chan 4, frequency 5000, period 240, volume 27
Generating sine table for chan 5, frequency 6000, period 8, volume 27
Generating sine table for chan 6, frequency 7000, period 336, volume 27
Generating sine table for chan 7, frequency 8000, period 6, volume 27
Generating signals.
Channel 0: Signal detected (amplitude: 209336832,-208744960)
Channel 1: Signal detected (amplitude: 203174912,-202546688)
Channel 0: Frequency 1000 (mag: 78)
Channel 1: Frequency 2000 (mag: 76)
Cheers,
Joe
You do not have the required permissions to view the files attached to this post.
XMOS hardware grey beard.
-
- Junior Member
- Posts: 7
- Joined: Tue Jun 13, 2023 10:38 pm
Thank you.
I tested with a loopback cable and it works.
Starting I2S sample tap
Starting audio analyzer task
Generating sine table for chan 0, frequency 1000, period 48, volume 27
Starting audio analyzer task
Starting audio analyzer task
Starting audio analyzer task
Generating sine table for chan 1, frequency 2000, period 24, volume 27
Generating sine table for chan 2, frequency 3000, period 16, volume 27
Generating sine table for chan 3, frequency 4000, period 12, volume 27
Generating sine table for chan 4, frequency 5000, period 240, volume 27
Generating sine table for chan 5, frequency 6000, period 8, volume 27
Generating sine table for chan 6, frequency 7000, period 336, volume 27
Generating sine table for chan 7, frequency 8000, period 6, volume 27
Generating signals.
Channel 0: Signal detected (amplitude: 209794560,-209621504)
Channel 1: Signal detected (amplitude: 206200832,-205728768)
Channel 0: Frequency 1000 (mag: 78)
Channel 1: Frequency 2000 (mag: 78)
But when a plugin a headphone stereo microphone no signal is received:
Starting I2S sample tap
Starting audio analyzer task
Generating sine table for chan 0, frequency 1000, period 48, volume 27
Starting audio analyzer task
Starting audio analyzer task
Starting audio analyzer task
Generating sine table for chan 1, frequency 2000, period 24, volume 27
Generating sine table for chan 2, frequency 3000, period 16, volume 27
Generating sine table for chan 3, frequency 4000, period 12, volume 27
Generating sine table for chan 4, frequency 5000, period 240, volume 27
Generating sine table for chan 5, frequency 6000, period 8, volume 27
Generating sine table for chan 6, frequency 7000, period 336, volume 27
Generating sine table for chan 7, frequency 8000, period 6, volume 27
Generating signals.
I don't understand why.
I tested with a loopback cable and it works.
Starting I2S sample tap
Starting audio analyzer task
Generating sine table for chan 0, frequency 1000, period 48, volume 27
Starting audio analyzer task
Starting audio analyzer task
Starting audio analyzer task
Generating sine table for chan 1, frequency 2000, period 24, volume 27
Generating sine table for chan 2, frequency 3000, period 16, volume 27
Generating sine table for chan 3, frequency 4000, period 12, volume 27
Generating sine table for chan 4, frequency 5000, period 240, volume 27
Generating sine table for chan 5, frequency 6000, period 8, volume 27
Generating sine table for chan 6, frequency 7000, period 336, volume 27
Generating sine table for chan 7, frequency 8000, period 6, volume 27
Generating signals.
Channel 0: Signal detected (amplitude: 209794560,-209621504)
Channel 1: Signal detected (amplitude: 206200832,-205728768)
Channel 0: Frequency 1000 (mag: 78)
Channel 1: Frequency 2000 (mag: 78)
But when a plugin a headphone stereo microphone no signal is received:
Starting I2S sample tap
Starting audio analyzer task
Generating sine table for chan 0, frequency 1000, period 48, volume 27
Starting audio analyzer task
Starting audio analyzer task
Starting audio analyzer task
Generating sine table for chan 1, frequency 2000, period 24, volume 27
Generating sine table for chan 2, frequency 3000, period 16, volume 27
Generating sine table for chan 3, frequency 4000, period 12, volume 27
Generating sine table for chan 4, frequency 5000, period 240, volume 27
Generating sine table for chan 5, frequency 6000, period 8, volume 27
Generating sine table for chan 6, frequency 7000, period 336, volume 27
Generating sine table for chan 7, frequency 8000, period 6, volume 27
Generating signals.
I don't understand why.
-
Verified
- Experienced Member
- Posts: 66
- Joined: Sun Dec 13, 2009 1:12 am
Hi,
The IN 1/2 connector is designed for stereo line level signals. It is a TRS jack where TIP = left channel, RING = right channel, SLEEVE = ground. It is not compatible with headsets with microphones if this is what you are using for test?
If you want to test the input in a different way you could connect a phone or ipod or similar directly to the IN 1/2 connector.
Cheers,
Joe
The IN 1/2 connector is designed for stereo line level signals. It is a TRS jack where TIP = left channel, RING = right channel, SLEEVE = ground. It is not compatible with headsets with microphones if this is what you are using for test?
If you want to test the input in a different way you could connect a phone or ipod or similar directly to the IN 1/2 connector.
Cheers,
Joe
XMOS hardware grey beard.
-
- Junior Member
- Posts: 7
- Joined: Tue Jun 13, 2023 10:38 pm
It is clear. Thank you very much.