<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.xcore.com/wiki/skins/common/feed.css?207"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.xcore.com/wiki/index.php?title=Special:NewPages&amp;feed=atom&amp;namespace=0</id>
		<title>XCore Exchange - New pages [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.xcore.com/wiki/index.php?title=Special:NewPages&amp;feed=atom&amp;namespace=0"/>
		<link rel="alternate" type="text/html" href="http://www.xcore.com/wiki/index.php/Special:NewPages"/>
		<updated>2012-05-18T07:23:58Z</updated>
		<subtitle>From XCore Exchange</subtitle>
		<generator>MediaWiki 1.15.1</generator>

	<entry>
		<id>http://www.xcore.com/wiki/index.php/Fast</id>
		<title>Fast</title>
		<link rel="alternate" type="text/html" href="http://www.xcore.com/wiki/index.php/Fast"/>
				<updated>2012-05-07T04:25:35Z</updated>
		
		<summary type="html">&lt;p&gt;Lilltroll:&amp;#32;Created page with 'To be done!'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To be done!&lt;/div&gt;</summary>
		<author><name>Lilltroll</name></author>	</entry>

	<entry>
		<id>http://www.xcore.com/wiki/index.php/Car-2-Car_Basestation_by_sperner</id>
		<title>Car-2-Car Basestation by sperner</title>
		<link rel="alternate" type="text/html" href="http://www.xcore.com/wiki/index.php/Car-2-Car_Basestation_by_sperner"/>
				<updated>2012-01-15T17:23:33Z</updated>
		
		<summary type="html">&lt;p&gt;Sperner:&amp;#32;init&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am going to build a basestation for Car-to-Car communication with wireless link via IEEE 802.11p for automotive purpose during my Bachelor Thesis. I will begin development in Spring 2012. Right now I'm just in the research phase and still don't have the hardware to begin.&lt;/div&gt;</summary>
		<author><name>Sperner</name></author>	</entry>

	<entry>
		<id>http://www.xcore.com/wiki/index.php/Annotated_Links_to_Other_Guides</id>
		<title>Annotated Links to Other Guides</title>
		<link rel="alternate" type="text/html" href="http://www.xcore.com/wiki/index.php/Annotated_Links_to_Other_Guides"/>
				<updated>2011-12-08T16:28:40Z</updated>
		
		<summary type="html">&lt;p&gt;Hooligan:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Inline Assembly =&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== XMOS Documentation ==&lt;br /&gt;
;[http://www.xmos.com/published/xmos-xs1-architecture The XMOS XS1 Architecture]: The XS-1 instruction set&lt;br /&gt;
;[http://www.xmos.com/inline-assembly Inline Assembly]: A very brief introduction to inline assembly on the XS-1&lt;br /&gt;
== GCC References ==&lt;br /&gt;
;[http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html GCC Inline Assembly HOWTO]: Written for x86 but Section 5 covers the extended ASM syntax used in most XMOS code&lt;/div&gt;</summary>
		<author><name>Hooligan</name></author>	</entry>

	<entry>
		<id>http://www.xcore.com/wiki/index.php/Simple_i2c_tutorial</id>
		<title>Simple i2c tutorial</title>
		<link rel="alternate" type="text/html" href="http://www.xcore.com/wiki/index.php/Simple_i2c_tutorial"/>
				<updated>2011-11-14T10:49:29Z</updated>
		
		<summary type="html">&lt;p&gt;Phalt:&amp;#32;/* i2c example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial gives a step by step guide to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Getting started using the XCore Github&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;How to add XCore modules to your projects&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A simple explanation of i2c using custom code&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting started using the XCore Github==&lt;br /&gt;
&lt;br /&gt;
''Note: There is also another getting started guide on the XCore github [http://github.xcore.com/repo_index/github_howto.html here]''&lt;br /&gt;
&lt;br /&gt;
(I'll assume you already have installed the latest version of the [http://www.xmos.com/products/development-tools XMOS development tools])&lt;br /&gt;
&lt;br /&gt;
Using the XCore github is not as complicated as you think, you don't even need to have git or use github to grab the packages.&lt;br /&gt;
&lt;br /&gt;
The first thing you want to do is download and import the [http://github.xcore.com/repo_index/xcommon_readme.html Xcommon] and [http://github.xcore.com/repo_index/xcore_template_readme.html XCore template] packages.&lt;br /&gt;
&lt;br /&gt;
These two packages will provide you with the basic framework needed for a substantial project in the XDE.&lt;br /&gt;
&lt;br /&gt;
You can now choose to either copy the '''XCore template''' project or rename it, because this will become the project you want to use.&lt;br /&gt;
&lt;br /&gt;
When you have done so, open up the '''makefile''' in sw_myproject/app_template/makefile and head down to the line that says:&lt;br /&gt;
&lt;br /&gt;
    TARGET =&lt;br /&gt;
&lt;br /&gt;
This line tells the project which development board we'll be running on. You can change this to what ever board you like, but for this tutorial we need to rename the line to:&lt;br /&gt;
&lt;br /&gt;
    TARGET = XDK&lt;br /&gt;
&lt;br /&gt;
Once you have saved the file, '''right click on the src file''' and go to '''new-&amp;gt;source file'''.&lt;br /&gt;
&lt;br /&gt;
Name the file main.xc and hit save&lt;br /&gt;
&lt;br /&gt;
To test our packages are running properly, paste this text into the main.xc file. It is just a simple &amp;quot;Hello world&amp;quot; program:&lt;br /&gt;
&lt;br /&gt;
   # include &amp;lt;print.h&amp;gt;&lt;br /&gt;
   int main() {&lt;br /&gt;
   printstrln(&amp;quot;Hello World&amp;quot;);&lt;br /&gt;
   return 0;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
'''save and build''' the program. If successful, '''run''' it. You should get this pop up in the console.:&lt;br /&gt;
&lt;br /&gt;
    Hello World&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How to add XCore modules to your project==&lt;br /&gt;
&lt;br /&gt;
If you're struggling with how to do this, you're going to kick yourself when you see how simple it is.&lt;br /&gt;
&lt;br /&gt;
First things first, you'll need to pick a repository package from the [http://github.xcore.com/repo_index/index.html List here].&lt;br /&gt;
There are a lot to choose from and for this tutorial we will be using the '''sc_i2c package''' which you should [http://github.xcore.com/repo_index/sc_i2c_readme.html download from here].&lt;br /&gt;
&lt;br /&gt;
Once downloaded: '''import''' the zipped project into the Development tools.&lt;br /&gt;
&lt;br /&gt;
Go to the project that you want to use the module in and '''open the same makefile you did earlier'''&lt;br /&gt;
&lt;br /&gt;
Further down in this file is the line:&lt;br /&gt;
&lt;br /&gt;
    USED_MODULES&lt;br /&gt;
&lt;br /&gt;
Replace this code with the name of the module in the package you just imported. In the case of the i2c, replace this line with this:&lt;br /&gt;
&lt;br /&gt;
   USED_MODULES = module_i2c&lt;br /&gt;
&lt;br /&gt;
and that's it! It's dead simple.&lt;br /&gt;
&lt;br /&gt;
You can now start using function calls from that package in your project.&lt;br /&gt;
&lt;br /&gt;
==i2c explanation and example==&lt;br /&gt;
&lt;br /&gt;
===What is i2c?===&lt;br /&gt;
&lt;br /&gt;
i2c (eye-squared-see) is multi-master serial bus that provides communication between low-level peripherals to motherboards and other embedded systems.&lt;br /&gt;
&lt;br /&gt;
For XMOS: this is a very handy package as it can provide a way for devices to communicate.&lt;br /&gt;
&lt;br /&gt;
i2c uses two bidirectional buses which run serial data and serial clock. Between these two signals, they make it possible to support serial transmission of 8-bit data between devices.&lt;br /&gt;
&lt;br /&gt;
There are '''slave''' and '''master''' devices on the bus. The masters initiate transmissions and the device receiving data is called the slave.&lt;br /&gt;
&lt;br /&gt;
i2c can support multiple masters and slaves to provide a versatile framework for data communcation.&lt;br /&gt;
&lt;br /&gt;
===i2c example===&lt;br /&gt;
&lt;br /&gt;
I have created a small example project using one master and one slave to demonstrate a simple version of i2c.&lt;br /&gt;
&lt;br /&gt;
This example is much easier to understand than the one included in the sc_i2c package.&lt;br /&gt;
&lt;br /&gt;
You can download the package [http://dl.dropbox.com/u/19242643/i2c.zip here]&lt;br /&gt;
&lt;br /&gt;
=== Set up ===&lt;br /&gt;
&lt;br /&gt;
Packages you will need:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;xcommon&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;sc_i2c&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
(these are both included in the zipped folder above)&lt;br /&gt;
&lt;br /&gt;
Import the project and follow the instructions [http://github.xcore.com/repo_index/sc_i2c_readme.html#instructions-for-building-project-and-running-the-simulation on this page] to set up the simulator. It needs to be in the exact same configuration as the sc_i2c example to run.&lt;br /&gt;
&lt;br /&gt;
Once done, '''build and run''' the program.&lt;br /&gt;
&lt;br /&gt;
Please note that this project is aimed as a simplification of the code, so it is much easier to see and understand what is happening, nothing flashy happens when you run it!&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
&lt;br /&gt;
This project was made during my spare time as a submission for the [https://www.xcore.com/competitions XCore github challenge]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Only seems to work with 10.4.2 tools, this is to do with the sc_i2c package which also fails to run under 11.2 and higher (or at least in my attempts it did). I have submitted a bug report for this.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phalt</name></author>	</entry>

	<entry>
		<id>http://www.xcore.com/wiki/index.php/8_Sounds_USB_by_Spyrolabs</id>
		<title>8 Sounds USB by Spyrolabs</title>
		<link rel="alternate" type="text/html" href="http://www.xcore.com/wiki/index.php/8_Sounds_USB_by_Spyrolabs"/>
				<updated>2011-11-04T20:29:41Z</updated>
		
		<summary type="html">&lt;p&gt;Doumdi:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''November 4 2011''' &lt;br /&gt;
&lt;br /&gt;
Have a look at those beautiful pictures of the assembled board  :&lt;br /&gt;
&lt;br /&gt;
[http://www.facebook.com/media/set/?set=a.10150366951566096.413812.693336095&amp;amp;type=1&amp;amp;l=c5f1b78a8d Facebook album]&lt;br /&gt;
&lt;br /&gt;
Testing is under way. Stay tuned!&lt;/div&gt;</summary>
		<author><name>Doumdi</name></author>	</entry>

	<entry>
		<id>http://www.xcore.com/wiki/index.php/XC-2_Guide_de_Demarrage_Rapide</id>
		<title>XC-2 Guide de Demarrage Rapide</title>
		<link rel="alternate" type="text/html" href="http://www.xcore.com/wiki/index.php/XC-2_Guide_de_Demarrage_Rapide"/>
				<updated>2011-09-15T22:16:58Z</updated>
		
		<summary type="html">&lt;p&gt;Octal:&amp;#32;/*  Disfonctionnements et Dépannage de l’Application Serveur Web  */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Vous pouvez télécharger une version PDF formatée de ce document sur le lien &lt;br /&gt;
[[File:XC2-Quick-Start-Guide(1.1)-FR-09162011.pdf]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=''' Introduction '''=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Xc2.jpg|400px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le Kit Ethernet XC-2 est un outil rapide et à cout réduit (rentable) pour développer des produits Ethernet utilisant des composants XMOS. Construit autour d’un composant programmable XS1-G4 à quatre cœurs, le Kit XC-2 offre le matériel nécessaire pour se connecter à système Ethernet 10/100 utilisant un connecteur RJ45.&lt;br /&gt;
&lt;br /&gt;
Le Kit XC-2 comprend :&lt;br /&gt;
:* Une carte de développement XC-2.&lt;br /&gt;
:* Un connecteur XTAG qui offre une interface JTAG entre la carte et les outils de développement XMOS Tools.&lt;br /&gt;
:* Un câble USB pour connecter la XTAG à votre système de développement.&lt;br /&gt;
:* Une alimentation externe 5V.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=''' Mise en Route '''=&lt;br /&gt;
Le Kit XC-2 inclus une application  serveur web écrite en C et XC. Le XS1-G4 fait office de serveur pour le site web,  et contrôle la pile de protocoles et le matériel Ethernet.&lt;br /&gt;
&lt;br /&gt;
Pour utiliser le serveur web, vous devez connecter la carte XC-2 à un réseau local ou à votre ordinateur. Assurez-vous de désactiver tout firewall en cours d’exécution avant d’essayer de vous connecter au site web. Si vous n’envisagez pas de lancer le serveur web, vous pouvez aller à la section 3 « Support des Outils de Développement ».&lt;br /&gt;
&lt;br /&gt;
Des informations complémentaires sur la XC-2 sont disponibles sur le site web de la société XMOS. Vous pouvez télécharger le tutoriel de la carte XC-1A, le manuel du hardware, les schémas et les fichiers de conception à partir de : http://www.xmos.com/xc2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:XC-2-clipart.png]] &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==''' Connecter la XC-2 à un réseau utilisant DHCP '''==&lt;br /&gt;
Connectez la fiche du module d’alimentation 5V à la carte XC-2. La DEL PLL en bas de la carte s’illumine indiquant que la carte a été mise sous tension.&lt;br /&gt;
&lt;br /&gt;
Connectez la XC-2 à votre réseau avec un câble Ethernet (non fourni). Un jeu de DEL s’illumine pour indiquer que la connectivité est effective.&lt;br /&gt;
&lt;br /&gt;
La DEL X1LEDA s’illumine pour indiquer que l’application est en cours d’exécution. La DEL X2LEDB s’allume pour indiquer que la carte s’est connectée avec succès au réseau.&lt;br /&gt;
&lt;br /&gt;
Ouvrez votre navigateur web et tapez :   http://xc2.local&lt;br /&gt;
&lt;br /&gt;
Utilisez le menu options pour explorer les capacités de l’appareil. Vous pouvez faire clignoter les DELs sur la XC-2, lire en temps réel les informations sur les fonctionnalités de la carte, et changer les réglages de la carte pour utiliser une configuration avec IP statique ou automatique.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==''' Connecter la XC-2 Directement à un Ordinateur '''==&lt;br /&gt;
Assurez-vous que l’alimentation de la XC-2 est déconnectée.&lt;br /&gt;
&lt;br /&gt;
Configurez votre PC pour de manière à ce qu’il se connecte avec une IP statique valide dans le sous-réseau 192.168.0, par exemple 192.168.0.101.&lt;br /&gt;
&lt;br /&gt;
Connectez la XC-2 à votre PC en utilisant un câble Ethernet.&lt;br /&gt;
&lt;br /&gt;
Maintenez enfoncé fermement le bouton A (« Button A ») sur la XC-2 et connectez l’alimentation 5V sur la carte XC-2. Maintenez le bouton A (« Button A ») enfoncé jusqu’à ce que les DELs s’arrêtent de clignoter pour forcer la carte dans le mode IP Statique.&lt;br /&gt;
&lt;br /&gt;
Ouvrez votre navigateur web et allez à http://192.168.0.100, l’adresse IP statique par défaut de la carte XC-2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==''' Application serveur web – Boutons XC-2 '''==&lt;br /&gt;
Le type d’IP utilisée pour se connecter au serveur web est réglé dans la page « Configuration » du site web « xc2.local ». Utilisez les boutons de la XC-2 pour modifier ce réglage quand vous démarrez votre appareil :&lt;br /&gt;
:* '''Button A''' – utiliser une adresse IP statique (par défaut : 192.168.0.100).&lt;br /&gt;
:* '''Button B''' – utiliser une adresse IP automatique.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==''' Disfonctionnements et Dépannage de l’Application Serveur Web '''==&lt;br /&gt;
:*'''Les DELs ne s’allument pas'''&lt;br /&gt;
::* Vérifiez que l’alimentation est correctement connectée.&lt;br /&gt;
&lt;br /&gt;
:*'''La DEL X2LEDB ne s’allume pas'''&lt;br /&gt;
::* Vérifiez que le câble Ethernet est connecté correctement XC-2.&lt;br /&gt;
::* L’obtention d’une adresse IP peut prendre jusqu’à une minute s’il n’y a aucun serveur DHCP sur le réseau.&lt;br /&gt;
&lt;br /&gt;
:*'''La DEL X2LEDB s’allume mais le navigateur web ne peut charger la page http://xc2.local'''&lt;br /&gt;
::* Essayez d’installer « Bonjour pour Windows », disponible à partir du site : http://apple.com/downloads.&lt;br /&gt;
::* Désactivez tout firewall en cours d’exécution.&lt;br /&gt;
::* Configurez votre PC et votre XC-2 de manière à utiliser des adresses IP statiques. Cf. section 2.2.&lt;br /&gt;
&lt;br /&gt;
==''' Mises-à-Jours du Firmware '''==&lt;br /&gt;
Vous pouvez vérifier la version du firmware en utilisant la page « Board Information » sur le site web « xc2.local ». Vérifiez les mises à jour du firmware ainsi que les instructions relatives à la mise en place de la mise à jour sur http://www.xmos.com/xc2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=''' Support des Outils de Développement XMOS '''=&lt;br /&gt;
Les outils de développement XMOS sont fournis sous forme d’un seul fichier par plateforme (WIN/MAC/LINUX), téléchargeable à partir de http://www.xmos.com/tools. &lt;br /&gt;
&lt;br /&gt;
Le tableau suivant résume la prise en charge de la carte XC-2 par les outils de développement :&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Version minimale recquise des outils&lt;br /&gt;
| 9.9&lt;br /&gt;
|-&lt;br /&gt;
| Fichier de support de la carte&lt;br /&gt;
| XC-2.xn&lt;br /&gt;
|-&lt;br /&gt;
| Adaptateur USB-to-JTAG&lt;br /&gt;
| XTAG&lt;br /&gt;
|-&lt;br /&gt;
| Pilote de prériphérique USB-to-JTAG&lt;br /&gt;
| FTDI&lt;br /&gt;
|-&lt;br /&gt;
| Tutoriel de la carte&lt;br /&gt;
| Intégré dans XDE et disponible sous forme PDF (version française disponible sur le WIKI)&lt;br /&gt;
|-&lt;br /&gt;
| Guide du matériel&lt;br /&gt;
| http://www.xmos.com/published/xc2hw&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=''' Historique du document '''=&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Date&lt;br /&gt;
! Parution&lt;br /&gt;
! Commentaire&lt;br /&gt;
|-&lt;br /&gt;
| 07-08-2009&lt;br /&gt;
| 1.0&lt;br /&gt;
| Première parution&lt;br /&gt;
|-&lt;br /&gt;
| 05-10-2010&lt;br /&gt;
| 1.1&lt;br /&gt;
| Ajout section &amp;quot;Support outils de développement&amp;quot;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Disclaimer&lt;br /&gt;
XMOS Ltd. is the owner or licensee of this design, code, or Information (collectively, the&lt;br /&gt;
“Information”) and is providing it to you “AS IS” with no warranty of any kind, express or&lt;br /&gt;
implied and shall have no liability in relation to its use. XMOS Ltd. makes no representation&lt;br /&gt;
that the Information, or any particular implementation thereof, is or will be free from any&lt;br /&gt;
claims of infringement and again, shall have no liability in relation to any such claims.&lt;br /&gt;
Copyright © 2010 XMOS Ltd. All Rights Reserved. XMOS and the XMOS logo are registered&lt;br /&gt;
trademarks of XMOS Ltd in the United Kingdom and other countries, and may not be used&lt;br /&gt;
without written permission. Company and product names mentioned in this document are the&lt;br /&gt;
trademarks or registered trademarks of their respective owners. Where those designations&lt;br /&gt;
appear in this document, and XMOS was aware of a trademark claim, the designations have&lt;br /&gt;
been printed with initial capital letters or in all capitals.&lt;/div&gt;</summary>
		<author><name>Octal</name></author>	</entry>

	<entry>
		<id>http://www.xcore.com/wiki/index.php/XC-1A_Guide_de_Demarrage_Rapide</id>
		<title>XC-1A Guide de Demarrage Rapide</title>
		<link rel="alternate" type="text/html" href="http://www.xcore.com/wiki/index.php/XC-1A_Guide_de_Demarrage_Rapide"/>
				<updated>2011-09-15T15:08:55Z</updated>
		
		<summary type="html">&lt;p&gt;Octal:&amp;#32;/*  Utilisateurs Linux  */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Vous pouvez télécharger une version PDF formatée de ce document sur le lien &lt;br /&gt;
[[File:XC1A-Quick-Start-Guide(1.0)-FR-09152011.pdf]]&lt;br /&gt;
&lt;br /&gt;
=''' Introduction '''=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Xc1a.png|400px]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Le kit de développement XC-1A contient tout ce dont vous avez besoin pour commencer l’exploration la technologie des processeurs XMOS pilotés par évènements (event-driven).&lt;br /&gt;
&lt;br /&gt;
Le kit comprend un composant XS1-G4, 4 Mbits de mémoire FLASH SPI, 16 DEL configurables par l’utilisateur, 4 boutons poussoirs, un haut-parleur, une JTAG et interface série, 4 zones d’expansion bien adaptées à recevoir des connecteurs IDC, et une zone de prototypage à trou vous permettant de connecter votre propre circuiterie externe.&lt;br /&gt;
&lt;br /&gt;
La carte XC-1A peut être alimentée via un adaptateur externe 5V, ou via le câble USB fourni qui assure aussi la liaison JTAG entre la carte et les outils de développement XMOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==''' Caractéristiques de la carte XC-1A '''==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:XC-1A-clipart.png]] &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Des informations complémentaires sur la XC-1A sont disponibles sur le site web de la société XMOS. Vous pouvez télécharger le tutoriel de la carte XC-1A, le manuel du hardware, les schémas et les fichiers de conception à partir de : &lt;br /&gt;
&lt;br /&gt;
http://www.xmos.com/products/development-kits/xc-1a-development-kit&lt;br /&gt;
&lt;br /&gt;
=''' Utilisateurs Microsoft Windows '''=&lt;br /&gt;
1- Téléchargez et configurer les outils de développement&lt;br /&gt;
:* Téléchargez l’installateur des outils de développement à partir de l’URL suivante :  http://www.xmos.com/downloads&lt;br /&gt;
:* Double cliquez sur le logiciel d’installation pour l’exécuter. Suivez les instructions à l’écran pour installer les outils de développement sur votre ordinateur.&lt;br /&gt;
&lt;br /&gt;
2- Installez les drivers de l’adaptateur USB-to-JTAG&lt;br /&gt;
:* Connectez la carte XC-1A à votre machine de développement en utilisant le  câble USB fourni.&lt;br /&gt;
::L’assistant « Nouveau Matériel » s’affiche. S’il vous propose de vous connecter à Windows Update, cliquez sur « Non ».&lt;br /&gt;
:* Cliquez sur « Suivant » pour continuer.&lt;br /&gt;
:* Sélectionnez « Installer à partir d’une liste » et cliquez sur « Avancé ».&lt;br /&gt;
:* Parcourez vos répertoires pour aller vers le répertoire d’installation des outils de développement XMOS, ouvrez le sous-répertoire « drivers » et sélectionnez le répertoire « FTDI ».&lt;br /&gt;
:* Cliquez « Suivant » et suivez les instructions à l’écran. &lt;br /&gt;
:* Cliquez « Terminer » pour finir l’installation du driver.&lt;br /&gt;
&lt;br /&gt;
La carte XC-1A démarre et fait clignoter les DELs autour du composant XMOS qui est sur la carte. La carte XC-1A possède 4 démonstrations que vous pouvez lancer en utilisant les boutons poussoirs – cf. Section 5.&lt;br /&gt;
&lt;br /&gt;
3- Démarrer les outils de développement&lt;br /&gt;
:* Pour démarrer l’environnement de développement intégré, cliquez sur « Démarrer&amp;gt;Programmes&amp;gt;XMOSXMOS Desktop Tools 9.9&amp;gt;XMOS Development Environment ».&lt;br /&gt;
:* Pour utiliser les outils en ligne de commande, cliquez sur «  Démarrer&amp;gt;Programmes&amp;gt;XMOSXMOS Desktop Tools 9.9&amp;gt;Desktop Tools Prompt».&lt;br /&gt;
&lt;br /&gt;
Vous êtes maintenant prêt à suivre le tutoriel de la carte XC-1A qui explique comment écrire des programmes XC pour votre carte XC-1A. Téléchargez le tutoriel à partir de :&lt;br /&gt;
http://www.xmos.com/published/xc1atut.&lt;br /&gt;
&lt;br /&gt;
=''' Utilisateurs Mac OSX '''=&lt;br /&gt;
1- Connectez la carte XC-1A à votre système de développement en utilisant le câble USB fourni.&lt;br /&gt;
:La carte XC-1A démarre et fait clignoter les DELs autour du composant XMOS qui est sur la carte. La carte XC-1A possède 4 démonstrations que vous pouvez lancer en utilisant les boutons poussoirs – cf. Section 5.&lt;br /&gt;
2- Téléchargez et configurez les outils de développement XMOS Tools&lt;br /&gt;
:* Téléchargez l’installateur pour Macintosh à partir de l’URL:&lt;br /&gt;
::http://www.xmos.com/downloads&lt;br /&gt;
:* Double cliquez sur l’installateur téléchargé pour l’ouvrir, puis glissez l’icône XMOS dans votre dossier « Applications ».&lt;br /&gt;
::L’installateur copie les fichiers sur votre disque dur.&lt;br /&gt;
:* Démontez l’installateur.&lt;br /&gt;
3- Démarrer les outils de développement&lt;br /&gt;
:* Pour démarrer l’environnement de développement intégré, ouvrez une nouvelle fenêtre du Finder, naviguez jusqu’au dossier « Applications », ouvrez le dossier XMOS et double cliquez sur l’icône  « XDE.app ».&lt;br /&gt;
:* Pour utiliser les outils en ligne de commande, ouvrez une fenêtre Terminal, changez de répertoire pour accéder au répertoire d’installation et tapez :&lt;br /&gt;
::SetEnv.command&lt;br /&gt;
&lt;br /&gt;
Vous êtes maintenant prêt à suivre le tutoriel de la carte XC-1A qui explique comment écrire des programmes XC pour votre carte XC-1A. Téléchargez le tutoriel à partir de :&lt;br /&gt;
http://www.xmos.com/published/xc1atut.&lt;br /&gt;
&lt;br /&gt;
=''' Utilisateurs Linux '''=&lt;br /&gt;
1- Connectez la carte XC-1A à votre système de développement en utilisant le câble USB fourni.&lt;br /&gt;
:* Connectez-vous à votre shell avec les droits root.&lt;br /&gt;
:* Ouvrez le fichier « /etc/fstab » dans un éditeur et rajoutez les lignes suivantes pour accéder au système de fichier USB :&lt;br /&gt;
::none /proc/bus/usb usbfs defaults,devmode=0666 0 0&lt;br /&gt;
:* Démontez le système de fichier USB avec la commande suivante :&lt;br /&gt;
::umount /proc/bus/usb&lt;br /&gt;
:* Remontez le système de fichier USB avec la commande suivante :&lt;br /&gt;
::mount /proc/bus/usb&lt;br /&gt;
&lt;br /&gt;
::La carte XC-1A démarre et fait clignoter les DELs autour du composant XMOS qui est sur la carte. La carte XC-1A possède 4 démonstrations que vous pouvez lancer en utilisant les boutons poussoirs – cf. Section 5.&lt;br /&gt;
&lt;br /&gt;
2- Téléchargez et configurez les outils de développement XMOS Tools&lt;br /&gt;
:* Téléchargez l’archive des outils de développement à partir de l’URL :&lt;br /&gt;
::http://www.xmos.com/downloads&lt;br /&gt;
:* Décompressez l’archive dans le répertoire d’installation en utilisant la commande :&lt;br /&gt;
::tar -xzf archive.tgz -C /home/user&lt;br /&gt;
&lt;br /&gt;
:[[File:Warning_24.png|18px]]Pour que les outils Linux 64-bit fonctionnent correctement, les librairies de la couche de compatibilité 32-bit doivent être installées. Pour plus d’information sur l’installation de ces librairies sur une distribution RedHat, voir : http://www.redhat.com/support &lt;br /&gt;
3- Démarrer les outils de développement&lt;br /&gt;
:* Configurez l’environnement XMOS Tools. Changez de répertoire pour accéder au répertoire d’installation et tapez :&lt;br /&gt;
::source SetEnv&lt;br /&gt;
:* Pour démarrer l’environnement de développement intégré, tapez la commande : &lt;br /&gt;
::xde&lt;br /&gt;
:* Pour utiliser les outils en ligne de commande, appelez l’outil requis directement.&lt;br /&gt;
&lt;br /&gt;
Vous êtes maintenant prêt à suivre le tutoriel de la carte XC-1A qui explique comment écrire des programmes XC pour votre carte XC-1A. Téléchargez le tutoriel à partir de :&lt;br /&gt;
http://www.xmos.com/published/xc1atut.&lt;br /&gt;
&lt;br /&gt;
=''' Démonstrations pré-chargées sur la carte XC-1A '''=&lt;br /&gt;
Dès sa mise sous tension, la carte XC-1A exécute le code de démonstration pré-chargé. Son comportement par défaut est de faire scintiller les DELs bicolores sous forme d’horloge autour du composant XS1 et de faire clignoter lentement les DELs qui sont à côté des boutons poussoirs. Pressez n’importe lequel des quatre boutons pour lancer l’une des applications de démonstration simples.&lt;br /&gt;
&lt;br /&gt;
==''' Bouton A : Horloge '''==&lt;br /&gt;
Affiche une horloge sur les DELs disposées en forme d’horloge avec les aiguilles de la montre comme suit :&lt;br /&gt;
&lt;br /&gt;
:* Rouge : Minutes&lt;br /&gt;
:* Vert  : Heures&lt;br /&gt;
:* Orange: Secondes&lt;br /&gt;
&lt;br /&gt;
Les 12 DELs de l’horloge sur la XC-1A procurent une résolution de 5 secondes. Quand la démonstration de l’horloge s’exécute, vous pouvez utiliser les boutons comme suit :&lt;br /&gt;
&lt;br /&gt;
:* A : Retourne à la démo par défaut (DEL demo)&lt;br /&gt;
:* B : Accélère l’horloge pour régler l’heure&lt;br /&gt;
:* C : Activer le son tick-tock&lt;br /&gt;
:* D : Désactiver le son tick-tock&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==''' Bouton B : Synthétiseur Audio Simple '''==&lt;br /&gt;
Pressez les boutons B-D pour générer des tonalités différentes. Pressez A pour retourner à la démo par défaut (LED demo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==''' Bouton C : Jeu de Réaction '''==&lt;br /&gt;
Un jeu de réaction simple. La DEL rouge tourne autour de l’horloge. Après un délai de temps variable une DEL va s’allumer en vert. Le but du jeu est de presser le bouton D quand la DEL rouge passe au-dessus la DEL verte. La vitesse du jeu augmente au fur et à mesure de vos progrès. Le jeu a cinq niveaux, le niveau courant est indiqué sur les 4 DELs à côté des boutons poussoirs. Pressez A pour retourner à la démo par défaut (LED demo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==''' Bouton D : Simple Démo UART '''==&lt;br /&gt;
Une démo basique d’UART utilisant le port COM virtuel de la carte XC-1A. Une fois que vous avez démarré le programme, connectez-vous-y en utilisant un terminal (par exemple realTerm pour Windows ou GTKTerm pour Linux). Quand vous pressez une touche, s’affiche une liste de trois commandes que vous pouvez utiliser pour allumer l’horloge formée par les DELs via le terminal. Les réglages de l’UART sont comme suit :&lt;br /&gt;
&lt;br /&gt;
:* Bits per sec	: 115200&lt;br /&gt;
:* Parity	: None&lt;br /&gt;
:* Data bits	: 8&lt;br /&gt;
:* Stop bits	: 1&lt;br /&gt;
:* Flow control	: None&lt;br /&gt;
&lt;br /&gt;
Pressez A pour retourner à la démo par défaut (LED demo).&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
''' Disclaimer '''&lt;br /&gt;
&lt;br /&gt;
XMOS Ltd. is the owner or licensee of this design, code, or Information (collectively,the “Information”) and is providing it to you “AS IS” with no warranty of any kind, express or implied and shall have no liability in relation to its use. XMOS Ltd. makes no representation that the Information, or any particular implementation thereof, is or will be free from any claims of infringement and again, shall have no liability in relation to any such claims.&lt;br /&gt;
Copyright ©2009 XMOS Ltd. All Rights Reserved. XMOS and the XMOS logo are registered trademarks of XMOS Ltd in the United Kingdom and other countries,&lt;br /&gt;
and may not be used without written permission. Company and product names&lt;br /&gt;
mentioned in this document are the trademarks or registered trademarks of their&lt;br /&gt;
respective owners. Where those designations appear in this document, and XMOS&lt;br /&gt;
was aware of a trademark claim, the designations have been printed with initial&lt;br /&gt;
capital letters or in all capitals.&lt;/div&gt;</summary>
		<author><name>Octal</name></author>	</entry>

	<entry>
		<id>http://www.xcore.com/wiki/index.php/Basic_I2C_driver_and_application:_16_bit_temperature_sensor_using_ADT7410_by_mjcross</id>
		<title>Basic I2C driver and application: 16 bit temperature sensor using ADT7410 by mjcross</title>
		<link rel="alternate" type="text/html" href="http://www.xcore.com/wiki/index.php/Basic_I2C_driver_and_application:_16_bit_temperature_sensor_using_ADT7410_by_mjcross"/>
				<updated>2011-09-13T21:31:19Z</updated>
		
		<summary type="html">&lt;p&gt;Mjcross:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A couple of words about how I approached writing the I2C driver.&lt;br /&gt;
&lt;br /&gt;
I2C ('I squared C') is a two-wire bus comprising a clock signal and a bidirectional (serial, MSB first) data signal.  Both signals are shared between all devices on the bus.  The clock and data signals are only driven in the 'low' direction, and tristate when outputing a '1' - in which case the bus ican be either either pulled low by another device, or pulled up by a resistor in the region of 20K (NB if you are routing the I2C bus across a pcb alongside high speed data signals, it is advisable to use considerably lower pull up resistors to avoid glitches due to cross-talk).&lt;br /&gt;
&lt;br /&gt;
The I2C bus can run at 400kHz, but to achieve this requires an asymmetric clock signal (Thigh &amp;lt; Tlow).  Also, during normal operation it is important that the data signal is stable during the clock high time, as a data edge during this period signifies a control event (master start or stop).&lt;br /&gt;
&lt;br /&gt;
Therefore I based the design of the driver around a reference clock that runs at three times the required bus speed.  The normal mode of operation of this is as follows:&lt;br /&gt;
&lt;br /&gt;
On the first (positive) edge of the reference clock, the driver begins outputting the next data bit on the data line.&lt;br /&gt;
&lt;br /&gt;
On the second (positive) edge, the driver takes the bus clock high.&lt;br /&gt;
&lt;br /&gt;
On the third (positive) edge, the driver returns the bus clock low [etc].&lt;br /&gt;
&lt;br /&gt;
Another important consideration is that the bus expects data to be sent in transaction of 8 bits, MSB first.  Therefore to use the serialisation feature of an xs-1 port, the driver has first to reverse the bit order.  This is achieved using the bitrev() and byterev() functions - NB: you have to use byterev as well, because bitrev reverses the value as an entire 32 bit word (an alternative is to right-shift by 24 bits following the bitrev).  NB(2): if you are using either bitrev() or byterev() you have to #include &amp;lt;xclib.h&amp;gt; within your code.&lt;/div&gt;</summary>
		<author><name>Mjcross</name></author>	</entry>

	</feed>
