Actually getting started!!

New to XMOS and XCore? Get started here.
Post Reply
PhilipJ451
New User
Posts: 2
Joined: Thu Feb 08, 2018 4:23 pm

Actually getting started!!

Post by PhilipJ451 »

Hi,
I guess this is the right forum for someone who has never attempted anything with an XMOS chip before!!

I have bought the XCORE-200 MC AUDIO board as this seems most like what I am eventually hoping to achieve (multi-channel USB audio).
I've installed xTIMEcomposer and downloaded "sw_usb_audio-[sw]_6.15.2rc1" but Wow that is a steep learning curve.
I've tried to go back a step and try the obvious simple stuff such as flashing a LED but I'm strugging to find any SIMPLE example projects to use with this board, I've downloaded the "Getting Started with the xTIMEcomposer-Studio" but that just prints Hello World in the console window and there's no difference between the Simulator or running on a board so how do I know ive compiled, downloaded and programmed correctly?

I tried "xCORE-200 explorer - Simple GPIO" but this is meant for XCORE-200 Explorer Kit and there is no option in the Makefile editor to change it to the board I have. I tried it anyway, it said that it had made successfully and run but when it did my XMOS XJTAG-3 disappeared out of device manager and an "Unknown Device" appeared with no driver to make it work? Luckily a power cycle (of the XJTAG-3) brought it back again.

Can anyone point me at a simple LED flash example for the board I have? or any simple tutorials with a reasonable explanation of what's going on?
I feel that I'm stabbing around in the dark at the moment

Any suggestions gratefully accepted
Philip J


User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Hi and welcome. This topic has come up before so the best suggestion is to hunt down the detailed answer on this forum. However, the website is in a state of disarray so would not be surprised if the links are broken, etc. Not sure what is the deal here.

Summary:

a) grab the hardware manual for this kit and note how the LEDs are connected. They are in a matrix format.

b) for this reason, you will need to be sure that you are driving the X & Y sides of the LED to light up the LED of choice.

c) The XMOS programmers guide will be helpful to understand how to drive an OUTPUT pin, etc.

Review this simple article and post back if you have questions:

https://www.xmos.com/download/private/A ... rc4%29.pdf

If the actual LED thread for your board is found, will post back here. Good luck.

Update:

Found it :)

http://www.xcore.com/viewtopic.php?f=3& ... led#p31562

and

https://www.xmos.com/published/xc-input-and-output

https://www.xmos.com/published/xmos-pro ... =B&page=26

https://www.xmos.com/published/tools-user-guide

Please review and post back if you have questions.
PhilipJ451
New User
Posts: 2
Joined: Thu Feb 08, 2018 4:23 pm

Post by PhilipJ451 »

Hi mon,

thanks for your time, the links are exactly what I was hoping for.
I will work through them and hopefully move on to more ambitious things soon.

regards
Philip J
Post Reply