Search found 956 matches
- Fri Apr 17, 2015 12:00 pm
- Forum: Other Applications
- Topic: USB Audio 2.0 , custom HW + custom SW
- Replies: 13
- Views: 16221
Re: USB Audio 2.0 , custom HW + custom SW
What is the intended way to use the USER_MAIN_DECLARATIONS USER_MAIN_CORES external to the usb_audio_module ? My first approach was to add the USB audio to the existing main(), but that was a little bit tricky. Now I want to add my code from my old main() to the USB audio main() without changing the...
- Fri Apr 17, 2015 10:14 am
- Forum: Other Applications
- Topic: USB Audio 2.0 , custom HW + custom SW
- Replies: 13
- Views: 16221
Re: USB Audio 2.0 , custom HW + custom SW
Yes I downloaded the USB-Audio-2.0-Device-Software(6.11.3).zip and it shows around line 314 #if(AUDIO_IO_TILE != 0) set_clock_src(clk_audio_mclk2, p_mclk_in2); set_port_clock(p_for_mclk_count, clk_audio_mclk2); start_clock(clk_audio_mclk2); #else /* Uses same clock-block as I2S */ asm("ldw %0, ...
- Thu Apr 16, 2015 12:43 pm
- Forum: Other Applications
- Topic: USB Audio 2.0 , custom HW + custom SW
- Replies: 13
- Views: 16221
Re: USB Audio 2.0 , custom HW + custom SW
Using the original main() etc. from the usb audio module solved the problem. I also found the USER_MAIN_DECLARATIONS USER_MAIN_CORES declarations Just one thing I think that the row 314 in main() should be changed to !? #if(AUDIO_IO_TILE != XUD_TILE) In my case the AUDIO_IO_TILE =3 XUD_TILE = 3 mean...
- Wed Apr 15, 2015 11:40 am
- Forum: Other Applications
- Topic: USB Audio 2.0 , custom HW + custom SW
- Replies: 13
- Views: 16221
Re: USB Audio 2.0 , custom HW + custom SW
Think's to both of you for your response.
I have been out of office some days here.
I will try and run the audio-core as unmodified as possible to start with in my design.
I have been out of office some days here.
I will try and run the audio-core as unmodified as possible to start with in my design.
- Fri Apr 10, 2015 10:03 pm
- Forum: Other Applications
- Topic: USB Audio 2.0 , custom HW + custom SW
- Replies: 13
- Views: 16221
Re: USB Audio 2.0 , custom HW + custom SW
I made some progress by deleting all modules in the workspace that also existed in the USB audio zip file and "re-imported" them to ensure that all modules were from the same release of the USB audio code. After that, the USB device enumerated in the Spy tool with all info. But I can't str...
- Thu Apr 09, 2015 9:24 pm
- Forum: XMOS Devices
- Topic: New XMOS chips??!
- Replies: 57
- Views: 81317
Re: New XMOS chips??!
I am at a key point in my product development where I have specific issues to solve. The new chips are a solution. The new Explorer board is very near perfect as a platform for my product as I am nudging the limits on the startkit's memory. At a "build or buy" decision point I can only mo...
- Thu Apr 02, 2015 8:11 pm
- Forum: Development Tools and Programming
- Topic: New instructions
- Replies: 19
- Views: 19244
Re: New instructions
The memory access stage can do one aligned 64-bit access. Check out this code: inst.gif This code seems to run 2 different types of memory access without FNOP until it is changed from store to write ? How can this be done with only one read slot in the pipeline ? Why the FNOP in the middle and the ...
- Thu Apr 02, 2015 5:10 pm
- Forum: Development Tools and Programming
- Topic: New instructions
- Replies: 19
- Views: 19244
Re: New instructions
Written any dual-issue code yet? I manage to write an asm function that calculates the dot product between 2 vectors, using both load double, store double and dual issue. My guess is that all 16 bits instruction can be dual issue, and that the second ALU only needs the logic for short instructions. ...
- Thu Apr 02, 2015 4:20 pm
- Forum: Other Applications
- Topic: USB Audio 2.0 , custom HW + custom SW
- Replies: 13
- Views: 16221
USB Audio 2.0 , custom HW + custom SW
I'm trying to start USB Audio 2.0 on a custom hardware, with a custom audio thread interacting with the decouple thread, also using a custom main(), and not the one from the module_usb_audio. Right now, I can make the USB device enumerate and show up in Audio Spy, but nothing more. USBdump.png From ...
- Wed Apr 01, 2015 9:13 am
- Forum: Development Tools and Programming
- Topic: New instructions
- Replies: 19
- Views: 19244
Re: New instructions
The ethernet and USB implementation has some asm code targeting the new xCORE200
Search for the pattern
in all .S files in xTIMEcomposer 14 (After downloading all USB and Ethernet code/libs)
You will get examples of writing asm for the new instructions this way.
Search for the pattern
Code: Select all
#if defined(__XS2A__)
You will get examples of writing asm for the new instructions this way.