XCore RSS Feed

Last visit was: It is currently Thu Sep 09, 2010 12:11 am



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: XMOS XC programming tutorial
PostPosted: Tue Jul 20, 2010 9:05 am 
Site Admin
User avatar

Joined: Tue Sep 08, 2009 5:15 pm
Posts: 292


This months video is by Ed Clarke and Kris Jacobs where by they go over the highlights of XMOS and how to get started with the XC programming language.

XC is very similar to C, but with support for parallel programming should yuo need it. Anyone with experience in C can use XC very easily.

Kris takes us through a UART written in XC to show how fast and easy it is to develop with XMOS - as everything is written in software, you can reuse code in future modules, or existing code from other people.


Top
Offline Profile View all posts by this user  
 
 Post subject: Re: XMOS XC programming tutorial
PostPosted: Thu Aug 05, 2010 9:29 am 
XMOS Employee
User avatar

Joined: Thu May 27, 2010 10:08 am
Posts: 9
You can find the code examples examples shown in the video as follows:

UART loopback. From the XDE interface (eclipse), choose help->Tutorials->Simulator tutorial
You can then choose "automate this step" and it'll set the project up for you, including the bit which loops back the ports in the simulator so that the UART Tx and Rx can talk to each other.

Producer-consumer is attached to this thread. Nothing special required here, just build the project.

Enjoy!


Attachments:
File comment: Producer-consumer example used in XC training video
Producer-Consumer.zip [32.44 KiB]
Downloaded 3 times
Top
Online Profile View all posts by this user  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: