Hello! I was wondering what is the best resource to start learning XC.
I found two programming guides, one is the book Programming XC on XMOS Devices, and the other is XMOS programming guide which seems to be more recent.
Is one better than the other to start with?
Thanks
Programming guide Topic is solved
-
- Junior Member
- Posts: 4
- Joined: Wed Apr 30, 2025 3:34 pm
-
Verified
- Junior Member
- Posts: 7
- Joined: Thu Oct 04, 2018 2:09 pm
XC is now deprecated. C is the supported language for XMOS devices. A library, lib_xcore, lets a C program access the special XCORE features.
Documentation can be found on the XMOS website:
https://www.xmos.com/documentation/XM-014363-PC/html/
The documentation can be viewed as HTML or downloaded as PDF.
See the Programming Guide there to explain the XCORE’s special features. The Programming Guide has a section “Programming an XCORE tile with C and lib_xcore”.
Documentation can be found on the XMOS website:
https://www.xmos.com/documentation/XM-014363-PC/html/
The documentation can be viewed as HTML or downloaded as PDF.
See the Programming Guide there to explain the XCORE’s special features. The Programming Guide has a section “Programming an XCORE tile with C and lib_xcore”.
-
- Junior Member
- Posts: 4
- Joined: Wed Apr 30, 2025 3:34 pm
Ok, thanks. It makes sense for new projects I guess, but there is still plenty of code written in XC (USB audio for example) and I would like to understand it.
-
Verified
- Junior Member
- Posts: 7
- Joined: Thu Oct 04, 2018 2:09 pm
Yes, I see. You are right that your second link is the more up to date version. Documentation that describes interfaces, for example the section "channels and interfaces", would be for the later versions of XC. Also pointers were added later. So I would start with the second document, to understand code written with all versions of XC.