These how-to examples are for xcore®-200 and may not have been tested for compatibility with xcore®.ai. To develop with xcore.ai, our recommendation would be to use the xcore® SDK.

xTIMEcomposer Studio examples

IDTitleVersionDateDownload
AN00194Getting Started with VCD Tracing in xTIMEcomposer Studio 1.0.0 2015-04-07 App Note
Software
AN10126How to display the resources used by a program 1.0.0 2016-01-08 App Note
Software
AN00192Getting Started with Timing Analysis in xTIMEcomposer Studio 1.0.0 2015-04-07 App Note
Software
AN00200Getting Started with the Task Viewer in xTIMEcomposer Studio 1.0.0 2015-04-07 App Note
Software
AN00195Getting Started with Offline xSCOPE in xTIMEcomposer Studio 1.0.0 2015-04-07 App Note
Software
AN00197Getting Started with GPROF in xTIMEcomposer Studio 1.0.0 2015-04-07 App Note
Software
AN00191Getting Started with Binary Analysis in xTIMEcomposer Studio 1.0.0 2015-04-09 App Note
Software
AN00193Getting Started with Debugging in xTIMEcomposer Studio 1.0.0 2015-04-07 App Note
Software
AN00190Getting Started with the xTIMEcomposer Studio 1.0.0 2015-03-23 App Note
Software
AN00198Getting Started with Simulator Tracing in xTIMEcomposer Studio 1.0.0 2015-04-07 App Note
Software
AN00196Getting Started with Real-Time xSCOPE in xTIMEcomposer Studio 1.0.0 2015-04-07 App Note
Software

Chip/Device management

IDTitleVersionDateDownload
AN10129Using zip/unzip to implement streaming interfaces on multibit ports 1.0.1 2016-01-08 App Note
Software

Debugging how-tos

IDTitleVersionDateDownload
AN10034How to debug a multicore program using XGDB 1.0.0 2016-01-08 App Note
Software
AN10065How to run XGDB commands from a file 1.0.0 2015-03-22 App Note
Software
AN10009How to debug a program at the machine instruction level 1.0.0 2015-03-22 App Note
Software
AN10013How to examine the contents of memory 1.0.0 2015-03-22 App Note
Software
AN10071How to set a breakpoint 1.0.0 2015-03-22 App Note
Software
AN10014How to examine the stack contents 1.0.0 2015-03-22 App Note
Software
AN10072How to set a conditional breakpoint 1.0.0 2015-03-22 App Note
Software
AN10015How to examine the value of a variable 1.0.0 2015-03-22 App Note
Software
AN10062How to automate the repetition of XGDB commands 1.0.0 2015-03-22 App Note
Software
AN10073How to set a watchpoint 1.0.0 2015-03-22 App Note
Software
AN10017How to find the location of a crash using XGDB 1.0.0 2015-03-22 App Note
Software
AN10064How to run an executable using XGDB 1.0.0 2015-03-22 App Note
Software
AN10012How to examine the register state in a core 1.0.0 2015-03-22 App Note
Software

File I/O examples

IDTitleVersionDateDownload
AN10120How to read/write to the console during execution 1.0.0 2015-03-26 App Note
Software
AN10121How to perform a general system call during execution 1.0.0 2015-03-26 App Note
Software
AN10122How to read from a file during execution 1.0.0 2015-03-26 App Note
Software
AN10123How to write to a file during execution 1.0.0 2015-03-26 App Note
Software
AN10127How to pass arguments to the target application 1.0.0 2015-04-07 App Note
Software

Profiling examples

IDTitleVersionDateDownload
AN10124How to profile an executable on hardware 1.0.0 2016-01-08 App Note
Software

Programming examples

IDTitleVersionDateDownload
AN10018A flashing LEDs example 1.0.0 2015-03-22 App Note
Software
AN10005A buffered receiver 1.0.0 2015-03-22 App Note
Software
AN10020Generating several controllable pulse signals 1.0.0 2016-01-08 App Note
Software
AN10006A button handling example 1.0.0 2015-03-22 App Note
Software
AN10011A double buffering example 1.0.0 2015-03-22 App Note
Software

Programming how-tos

IDTitleVersionDateDownload
AN10003How to use array bounds checks 1.0.0 2016-01-08 App Note
Software
AN10050How to input on multiple ports in parallel 1.0.0 2015-03-22 App Note
Software
AN10081How to transfer memory ownership between cores 1.0.0 2015-03-22 App Note
Software
AN10024How to use arrays of interfaces 1.0.0 2016-01-08 App Note
Software
AN10039How to use notifications over interfaces 1.0.0 2016-01-11 App Note
Software
AN10055How to de-serialize input data from a port 1.0.0 2016-01-08 App Note
Software
AN10070How to use the select statement with a timeout 1.0.0 2016-01-08 App Note
Software
AN10029How to use interfaces to connect to multiple tasks 1.0.0 2016-01-08 App Note
Software
AN10045How to periodically perform an action using a timer 1.0.0 2016-01-11 App Note
Software
AN10060How to dynamically change the type of a port 1.0.0 2015-03-22 App Note
Software
AN10076How to use select with multiple resources 1.0.0 2015-03-22 App Note
Software
AN10004How to pass the array bound as a parameter 1.0.0 2015-03-22 App Note
Software
AN10035How to target the the xCORE multiply-accumulate instruction 1.0.0 2015-03-22 App Note
Software
AN10025How to pass pointers over interface calls 1.0.0 2015-03-22 App Note
Software
AN10040How to use nullable types 1.0.0 2015-03-22 App Note
Software
AN10056How to serialize output data to a port 1.0.0 2015-03-22 App Note
Software
AN10000How to perform 64 bit arithmetic operations 1.0.0 2015-03-22 App Note
Software
AN10030How to use labels in inline assembly 1.0.0 2015-03-22 App Note
Software
AN10046How to use buffering for port input 1.0.0 2015-03-22 App Note
Software
AN10019How to load overlays from a SPI flash 1.0.0 2015-03-22 App Note
Software
AN10051How to output on multiple ports in parallel 1.0.0 2015-03-22 App Note
Software
AN10066Using safe pointers for string processing 1.0.0 2015-03-22 App Note
Software
AN10082How to use unsafe pointers 1.0.0 2015-03-22 App Note
Software
AN10010How to define and use a distributable function 1.0.0 2015-03-22 App Note
Software
AN10043How to use a par statement 1.0.0 2015-03-22 App Note
Software
AN10061How to use references 1.0.0 2015-03-22 App Note
Software
AN10077How to use an ordered select statement 1.0.0 2015-03-22 App Note
Software
AN10036How to use a par statement across multiple tiles 1.0.0 2015-03-22 App Note
Software
AN10026How to return values via interface calls 1.0.0 2015-03-22 App Note
Software
AN10041How to use overlays to reduce application memory requirements 1.0.0 2015-03-22 App Note
Software
AN10057How to input on a port 1.0.0 2015-03-22 App Note
Software
AN10001How to pass alias pointer arguments 1.0.0 2015-03-22 App Note
Software
AN10031How to measure elapsed time using a timer 1.0.0 2015-03-22 App Note
Software
AN10047How to use buffering for port output 1.0.0 2015-03-22 App Note
Software
AN10021How to use the earlyclobber inline assembly constraint 1.0.0 2015-03-22 App Note
Software
AN10052How to input data accompanied by a data valid signal 1.0.0 2015-03-22 App Note
Software
AN10067How to use the select statement with a default case 1.0.0 2015-03-22 App Note
Software
AN10083How to use variable length arrays 1.0.0 2015-03-22 App Note
Software
AN10078How to stream data between two cores over a channel 1.0.0 2015-03-22 App Note
Software
AN10037How to specify that two functions must be placed in the same overlay 1.0.0 2015-03-22 App Note
Software
AN10042How to use overlays and libflash in the same application 1.0.0 2015-03-22 App Note
Software
AN10032How to pass movable pointer arguments 1.0.0 2015-03-22 App Note
Software
AN10048How to wait for a condition on an input port 1.0.0 2015-03-22 App Note
Software
AN10022How to use inline assembly 1.0.0 2015-03-22 App Note
Software
AN10053How to output data accompanied by a data valid signal 1.0.0 2015-03-22 App Note
Software
AN10068How to use the select statement with a guard 1.0.0 2015-03-22 App Note
Software
AN10084How to wait for a period of time using a timer 1.0.0 2015-03-22 App Note
Software
AN10027How to communicate between tasks with interfaces 1.0.0 2015-03-22 App Note
Software
AN10058How to output on a port 1.0.0 2015-03-22 App Note
Software
AN10016How to implement a fair select 1.0.0 2015-03-22 App Note
Software
AN10063How to use restricted pointers 1.0.0 2015-03-22 App Note
Software
AN10079How to read the time from a timer 1.0.0 2015-03-22 App Note
Software
AN10007How to define and use a combinable function 1.0.0 2015-03-22 App Note
Software
AN10038How to nest combinable function calls 1.0.0 2015-03-22 App Note
Software
AN10044How to use pass-by-reference in XC 1.0.0 2015-03-22 App Note
Software
AN10074How to use the select statement 1.0.0 2015-03-22 App Note
Software
AN10002How to use alias/local pointers 1.0.0 2015-03-22 App Note
Software
AN10033How to use movable pointers 1.0.0 2015-03-22 App Note
Software
AN10023How to pass arrays over interface calls 1.0.0 2015-03-22 App Note
Software
AN10054How to select on a port 1.0.0 2015-03-22 App Note
Software
AN10069How to use the select statement with a replicator 1.0.0 2015-03-22 App Note
Software
AN10028How to use memcpy with interface array arguments 1.0.0 2015-03-22 App Note
Software
AN10049How to control port output data rates with timers 1.0.0 2015-03-22 App Note
Software
AN10080How to use transactions over channels 1.0.0 2015-03-22 App Note
Software
AN10008How to communicate between combined tasks 1.0.0 2015-03-22 App Note
Software
AN10059How to perform timed output on a port 1.0.0 2015-03-22 App Note
Software
AN10075How to use a select function 1.0.0 2015-03-22 App Note
Software

Simulator examples

IDTitleVersionDateDownload
AN10097How to run an executable on the XMOS simulator 1.0.0 2016-01-08 App Note
Software
AN10125How to profile an executable on the XMOS simulator 1.0.0 2015-03-26 App Note
Software
AN10098How to connect ports via loopback using the XMOS simulator 1.0.0 2015-03-26 App Note
Software
AN10101How to enable ASCII tracing when running on the simulator 1.0.0 2015-03-26 App Note
Software
AN10102How to enable VCD tracing when running on the simulator 1.0.0 2015-03-26 App Note
Software
AN10100How to display the pin, port and link mappings for a particular target 1.0.0 2015-03-26 App Note
Software
AN10099How to enable the gathering of statistics using the simulator 1.0.0 2015-03-26 App Note
Software

xobjdump examples

IDTitleVersionDateDownload
AN10118How to disassemble a program using xobjdump 1.0.0 2015-03-26 App Note
Software
AN10119How to use xobjdump to inspect and manipulate XE files 1.0.0 2015-03-26 App Note
Software

xSCOPE examples

IDTitleVersionDateDownload
AN10086How to use the xSCOPE discrete event type 1.0.0 2016-01-08 App Note
Software
AN10092How to use xSCOPE I/O on the XMOS simulator 1.0.0 2015-03-22 App Note
Software
AN10087How to use xSCOPE to capture floating point data 1.0.0 2015-03-22 App Note
Software
AN10093How to use offline xSCOPE on the XMOS simulator 1.0.0 2015-03-22 App Note
Software
AN10088How to use the xSCOPE to capture logical core information 1.0.0 2015-03-22 App Note
Software
AN10094How to use realtime xSCOPE on the XMOS simulator 1.0.0 2015-03-22 App Note
Software
AN10096How to use the xSCOPE state machine event type 1.0.0 2015-03-22 App Note
Software
AN10089How to redirect printing functions via xSCOPE 1.0.0 2015-03-22 App Note
Software
AN10095How to use the xSCOPE start/stop event type 1.0.0 2015-03-22 App Note
Software
AN10090How to redirect printing functions with timing via xSCOPE 1.0.0 2015-03-22 App Note
Software
AN10085How to use the xSCOPE continuous event type 1.0.0 2015-03-22 App Note
Software
AN10091How to use xSCOPE in real-time mode 1.0.0 2015-03-22 App Note
Software

XTA examples

IDTitleVersionDateDownload
AN10111How to specialize defines using backtrails 1.0.0 2016-01-08 App Note
Software
AN10110How to set a timing requirement in the XTA 1.0.0 2015-03-26 App Note
Software
AN10115How to specify loop iterations for specific paths in a loop 1.0.0 2015-03-26 App Note
Software
AN10116How to write XTA command scripts 1.0.0 2015-03-26 App Note
Software
AN10106How to embed XTA commands in your program 1.0.0 2015-03-26 App Note
Software
AN10112How to specify a loop count in the XTA 1.0.0 2015-03-26 App Note
Software
AN10107How to load an executable into the XTA 1.0.0 2015-03-26 App Note
Software
AN10108How to control the XTA from a python script 1.0.0 2015-03-26 App Note
Software
AN10114How to specify loop iterations in nested loops 1.0.0 2015-03-26 App Note
Software
AN10105How to use the XTA to time between 2 I/O instructions 1.0.0 2015-03-26 App Note
Software
AN10104How to use the XTA to time a loop 1.0.0 2015-03-26 App Note
Software
AN10117How to generate XTA command scripts 1.0.0 2015-03-26 App Note
Software
AN10113How to specify an exclusion in the XTA 1.0.0 2015-03-26 App Note
Software
AN10109How to run XTA scripts on compilation 1.0.0 2015-03-26 App Note
Software
AN10103How to use the XTA to time a function 1.0.0 2015-03-26 App Note
Software
Scroll to Top
Cookie Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

Analytics Cookies

This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.