Search found 32 matches

by tuck1s
Fri Nov 27, 2015 12:01 pm
Forum: Other Applications
Topic: Use Reference Audio design or custom code design?
Replies: 4
Views: 6644

Re: Use Reference Audio design or custom code design?

I've not looked in detail at the USB code. However one of the great things about XMOS devices, is you can use channels to connect audio sources and consumers together. So how I'd go about it: - Get the reference design working as-is, with a standard DAC - Get comfortable with using the IDE and debug...
by tuck1s
Fri Nov 27, 2015 11:51 am
Forum: Getting started
Topic: Modifying sc_i2s_slave to be full 32-bit input
Replies: 5
Views: 7289

Re: Modifying sc_i2s_slave to be full 32-bit input

Thanks, tucks1, for updating & finalising your problem. I too am interested in similar modifications to I2S format There don't seem to be many here willing to answer/help or maybe they are not that advanced (maybe the assembler code is the killer?) - I don't know which is correct? There are sev...
by tuck1s
Sat Nov 14, 2015 11:12 am
Forum: startKIT
Topic: Nicest way to toggle a port asymmetrically
Replies: 3
Views: 7282

Re: Nicest way to toggle a port asymmetrically

Ross wrote:its okay in that it will toggle a pin high and low, there are definitely more efficient and accurate ways of doing it but for slow speed stuff should be okay.
Could you please post a link to some better code?
by tuck1s
Sun Nov 08, 2015 9:39 pm
Forum: startKIT
Topic: PCB layout for a StartKit daughter card
Replies: 1
Views: 4523

PCB layout for a StartKit daughter card

Files created using RS Online DesignSpark here: https://github.com/tuck1s/XMOS_StartKit_DaughterCard These have just the main connectors, laid out in configuration so that the daughter PCB could go under the StartKit, so the LEDs and push button are still accessible. Note: this is an initial revisio...
by tuck1s
Sun Nov 08, 2015 9:35 pm
Forum: startKIT
Topic: WiFi Module - ESP8266
Replies: 1
Views: 5050

Re: WiFi Module - ESP8266

That does look very cool - as (according to the description) it has an onboard TCP stack which saves a load of code/memory on the XMOS device. The price is amazing too. I'm going to have a go at integrating one of these little beasts soon, to give proper date/time on files created on SDcard: http://...
by tuck1s
Mon Oct 26, 2015 10:38 pm
Forum: Q&A
Topic: Deserializing input data using a port
Replies: 5
Views: 4021

Answer 4008

<r>Hi Martin,<br/> <br/> Which device is the data source (sender) and which one is the receiver, is a different issue to which one is the clock master.<br/> <br/> The example in section 6.12 has serial data flowing in from an external device, into PORT_4A. PORT_1A is an from the XMOS device which, a...
by tuck1s
Sat Oct 24, 2015 9:08 pm
Forum: General Questions
Topic: How to declare Push-button on startKIT?
Replies: 6
Views: 20029

Re: How to declare Push-button on startKIT?

The GPIO example is nice, but it's a lot of code for a simple on/off button presser. I found that peek() on its own did not give the expected results. It's necessary to flip the port into input mode with a p:>void; before reading. And if you read using p:>, it needs an asm("nop") to allow ...
by tuck1s
Tue Oct 20, 2015 12:03 am
Forum: Development Tools and Programming
Topic: Streaming chanend, cores on same tile - buffer capacity?
Replies: 5
Views: 6553

Re: Streaming chanend, cores on same tile - buffer capacity?

So I rolled my own fifo task - using similar construction to the Github example - and this seems to work nicely even under overflow & high traffic. Would appreciate any comments/feedback in case there are coding practices I should improve. Here it is: /* * SimpleChannelTest.xc * * Created on: 19...
by tuck1s
Mon Oct 19, 2015 10:34 pm
Forum: Development Tools and Programming
Topic: Streaming chanend, cores on same tile - buffer capacity?
Replies: 5
Views: 6553

Re: Streaming chanend, cores on same tile - buffer capacity?

The github example https://github.com/xcore/sw_thread_comm_examples/tree/master/app_buffered_example appears to not work as expected (on my StartKit, at least). The tasks run, and there is interleaved printout. But thread2 is only reporting "busy" / "not busy". It's not showing T...