XR-AVB-LC 4 channels problem

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
snakeyong
Member
Posts: 8
Joined: Fri Nov 11, 2011 1:30 pm

XR-AVB-LC 4 channels problem

Post by snakeyong »

I use XR_AVB_LC_DEMO


Question 1:

When I change these arguments
image001.jpg
To
image002.jpg
And then flash the xe file to the two demos ,

but the xr_lc demos don’t work, what’s wrong?

Is there some other codes nedded to change ?



Question 2:


I keep the arguments as it was .

And change the pcb like the below to simulate 4 channels inputs(sdata_in0 and sdata_in1 work at the same time) or simulate 2 channels(sdata_in1 input) .
2.jpg
You do not have the required permissions to view the files attached to this post.
snakeyong
Member
Posts: 8
Joined: Fri Nov 11, 2011 1:30 pm

Post by snakeyong »

But the xr_lc domes don’t work? What’s the problem or what I think is wrong?
You do not have the required permissions to view the files attached to this post.
User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm

Post by Bianco »

I removed !!SOS!! from the title of your topic.
User avatar
Andy
Respected Member
Posts: 279
Joined: Fri Dec 11, 2009 1:34 pm

Post by Andy »

Hi snakeyong,

What is the exact nature of the problem you have?

Rather than flashing the board, can you run it from the tools with the UART output enabled? This should give us some indication of the problem.
snakeyong
Member
Posts: 8
Joined: Fri Nov 11, 2011 1:30 pm

Post by snakeyong »

Andy wrote:Hi snakeyong,

What is the exact nature of the problem you have?

Rather than flashing the board, can you run it from the tools with the UART output enabled? This should give us some indication of the problem.
i mean that the propgram works well .; but there is no audio signal output form listen pcb ,when i input audio signal from talker pcb .

i just want to simulate the second stereo audio input (4 channel),and i wouldn't make other pcb , how can i do?

Code: Select all

      ______      [----] <------ stereo 1 left    input
     |talker|    [----] <------ stereo 1 right input 
---| unit  |    [----] <------ stereo 2 left    input
     ~~~~      [----] <------ stereo 2 right input 
User avatar
Andy
Respected Member
Posts: 279
Joined: Fri Dec 11, 2009 1:34 pm

Post by Andy »

The example application adds a synthesised sine wave on channels 3/4. This is enabled by default (see avb_conf.h):

Code: Select all

/* Add synths from channels 3/4 upwards in I2S for this demo */
#define I2S_SYNTH_FROM 1
If you're not hearing any audio it suggests that the stream is not connecting. If you select 'Run UART server' in the XDE run configuration you should be able to see some debug prints that will help diagnose the problem.