Search found 21 matches

by MisterQ
Fri Mar 17, 2017 7:35 am
Forum: Q&A
Topic: How to add USB Serial port to XMOS Reference Audio project ?
Replies: 18
Views: 40161

Re: How to add USB Serial port to XMOS Reference Audio project ?

Respected Mario, I have tried yours project with new descriptors.h file under Windows 10 Pro and with the Thesycon XMOS driver Audio and the USB Serial port work. If I try XMOS AN00124 USB CDC Class as Virtual Serial Port project on the same XMOS board and the same PC, serial port runs correctly wit...
by MisterQ
Fri Mar 03, 2017 8:06 pm
Forum: Q&A
Topic: How to add USB Serial port to XMOS Reference Audio project ?
Replies: 18
Views: 40161

Re: How to add USB Serial port to XMOS Reference Audio project ?

mariojim22,

I have tried your project. It compiles OK and under Windows 10 audio hardware works,
but in Device Manager there is no any Virtual Serial Port.

Have you tried it in Windows?

Best regards,
Dragan
by MisterQ
Thu Feb 16, 2017 11:14 am
Forum: Q&A
Topic: How to add USB Serial port to XMOS Reference Audio project ?
Replies: 18
Views: 40161

Re: How to add USB Serial port to XMOS Reference Audio project ?

Respected Shailesh,

I am also waiting somebody to solve this problem, because I can not do this.

If you find solution, please post it here.

Thomas, can you please help?

Regards,
Dragan
by MisterQ
Mon Jan 16, 2017 3:47 pm
Forum: Q&A
Topic: How to import port state from Tile 1 to a Tile 0 function ?
Replies: 8
Views: 7046

Re: How to import port state from Tile 1 to a Tile 0 functio

> I am thinking something like this: From your example it is not clear from which function in the XMOS Audio 2.0 Reference software to read and where to write ADC values. ADC values has 8 values, and we are speaking about 9th and 10th USB audio channels. Also, audio(...) function already exist on th...
by MisterQ
Mon Jan 16, 2017 3:12 pm
Forum: Q&A
Topic: How to import port state from Tile 1 to a Tile 0 function ?
Replies: 8
Views: 7046

Re: How to import port state from Tile 1 to a Tile 0 functio

>Why not bring ADC values via a new channel to the audio task?

Nice. But how? Aren't they also used in two tasks? Can you write this example lines of code?

Regards,
Dragan
by MisterQ
Sun Jan 15, 2017 11:59 pm
Forum: Q&A
Topic: How to import port state from Tile 1 to a Tile 0 function ?
Replies: 8
Views: 7046

Re: How to read a port on Tile 1 from the function on Tile 0

> I'm not sure why it violates parallel usage. Because when you try to assign values to variable samplesIn_0 which is used in other two tasks, you will get an error. If you try same code with a local variable, code is compiling without errors. Code with channeling: on tile[1] : in port Test_INPUTS =...
by MisterQ
Sun Jan 15, 2017 3:47 pm
Forum: Q&A
Topic: How to import port state from Tile 1 to a Tile 0 function ?
Replies: 8
Views: 7046

Re: How to read a port on Tile 1 from the function on Tile 0

> Although not a concrete example, 2 steps are required: No, the way you are suggesting, violates parallel usage rules. I need to transfer a variable with port status to the existing variable samplesIn_0 which is already used in two parallel tasks in the reference software. So, I must not open a new...
by MisterQ
Sun Jan 15, 2017 12:00 pm
Forum: Q&A
Topic: How to import port state from Tile 1 to a Tile 0 function ?
Replies: 8
Views: 7046

How to import port state from Tile 1 to a Tile 0 function ?

Respected Colleauges, I use a Multichannel Audio Board (XK-AUDIO-216-MC). If I use XMOS Reference Audio 2.0 software, almost all GPIO pins on the Tile 0 are used in software and can not be used for something else (about 8 left), and I need a 16 GPIO Port. Such a port can be used on the Tile 1 and it...
by MisterQ
Thu Jan 12, 2017 1:00 pm
Forum: Q&A
Topic: Multi-channel Audio - How to add data to an audio stream?
Replies: 18
Views: 13290

Re: Multi-channel Audio - How to add data to an audio stream

I have solved problem with parallel use of data in more than two tasks, without channeling data and sharing memory between cores. First, values of samplesIn_0[8] and samplesIn_0[9] can not be altered from some other core or task without massive modifications of USB Audio 2.0 Reference Software, beca...
by MisterQ
Thu Jan 12, 2017 10:50 am
Forum: Q&A
Topic: Multi-channel Audio - How to add data to an audio stream?
Replies: 18
Views: 13290

Re: Multi-channel Audio - How to add data to an audio stream

infiniteimprobability, what should I change in this code: Function in main.xc : unsigned My_GPIO_Data[2]; void gpio_handler(streaming chanend c_Inputs, streaming chanend c_Outputs, client input_gpio_if INPUT_1, client input_gpio_if INPUT_2, client input_gpio_if INPUT_3, client input_gpio_if INPUT_4,...