XUF216 Documentation on Port Usage with USB Clarification Topic is solved

If you have a simple question and just want an answer.
cjf1699
Active Member
Posts: 48
Joined: Fri Mar 16, 2018 2:30 pm

Post by cjf1699 »

mon2 wrote:Hi Kyle.

The details on how to move the USB function onto Tile 1 is posted inside this example note:

USB-HID-Class---Extended-on-xCORE-200-Explorer(1.1.2rc1).pdf

https://www.xmos.com/published/an00182- ... ion=latest

Image
Hi mon2, I had the similar problem. I want to use the led and buttons on xcore-200 MC audio. So I declared like this:

Code: Select all

on tile[1]: in port button = XS1_PORT_4B;
on tile[1]: out port led_row = XS1_PORT_4C;
on tile[1]: out port led_col = XS1_PORT_4D;
But it gave errors as follows:
../src/audio_effects.xc: Error: Program on "tile[0]" contains a reference to resource "led_col" not resident on that tile.
../src/audio_effects.xc: Error: Program on "tile[0]" contains a reference to resource "led_row" not resident on that tile.
../src/audio_effects.xc: Error: Program on "tile[0]" contains a reference to resource "button" not resident on that tile.
How can I fix this? May be in a similar way like kyle?
Thanks!


View Solution
Post Reply