Can LED in MC Audio v2 Board be used with USB on tile 1 Topic is solved

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
lorenzochiesi
Member++
Posts: 20
Joined: Mon Sep 05, 2016 4:20 pm

Can LED in MC Audio v2 Board be used with USB on tile 1

Postby lorenzochiesi » Wed Mar 22, 2017 1:19 pm

Hi all,

I'm trying to understand if can the LEDs connected to Tile1 ports in MA Audio v2 Board can be used while USB PHY is assigned to tile1

LED are connected to pin X1D14 to X1D21 cortresponding to port 8B
If USB phy is associated to tile 1 seems that this port is connected to RXD and so is not available to drive LEDs.
Is it correct or there is some trick to wor around this and use LEDs?

Is possible maybe to run a minimal audio USB application using only tile 0 also for XUD (no MIDI ATAD SPDIF)

thanks
View Solution
User avatar
infiniteimprobability
XCore Expert
Posts: 917
Joined: Thu May 27, 2010 10:08 am
Contact:

Postby infiniteimprobability » Fri Mar 31, 2017 11:00 am

Is it correct or there is some trick to wor around this and use LEDs?

Hi, there is a thing called port precedence in XMOS which basically means the narrowest port has highest priority in the port mux on the pin. So if you are using P8B for USB, you can still use P4C and P4D to get to the pins..
Is possible maybe to run a minimal audio USB application using only tile 0 also for XUD (no MIDI ATAD SPDIF)

Unfortunately not. While there is more than enough processing and memory to do this, using the USB PHY on tile 0 would mean you lose the ports connected to MCLK, SCLK, LRCLK and some ADC inputs.. However a custom HW design ensuring the ports don't clash would work.

PS. I fund this very helpful for port mapping/planning https://www.xmos.com/published/xcore-20 ... es-portmap
lorenzochiesi
Member++
Posts: 20
Joined: Mon Sep 05, 2016 4:20 pm

Postby lorenzochiesi » Fri Mar 31, 2017 5:13 pm

Many thanks,

It perfectly work!!

I was just updating my custom PCB were I have used tile1 port 8A and 8B for GPIO

Return to “Other XMOS Development Kits”

Who is online

Users browsing this forum: No registered users and 10 guests