USB on tile 1 + GPIO on XCORE-200 Topic is solved

If you have a simple question and just want an answer.
Unchyu2
Member++
Posts: 29
Joined: Tue Jun 17, 2014 11:40 am

USB on tile 1 + GPIO on XCORE-200

Post by Unchyu2 »

Hello,

Is it possible to program the xCORE-200 Multichannel Audio Platform 2v0 to function as an audio USB 2.0 interface with the USB PHY on tile 1 and at the same time to use the LED's and buttons available on the board?

Thank you in advance,
Ilie


View Solution
henk
Respected Member
Posts: 347
Joined: Wed Jan 27, 2016 5:21 pm

Post by henk »

Hi Ilie,

You can use tile 1 to run USB audio.

On the board all IO will still be connected to whatever tile it is connected to. The LEDs are connected to Tile 1 and can be controlled directly, you will need a interface or channel to communicate with a server on Tile 0 to interact with the buttons.

Cheers,
Henk
Unchyu2
Member++
Posts: 29
Joined: Tue Jun 17, 2014 11:40 am

Post by Unchyu2 »

Hi Henk,
Thank you for your reply.
The reason why I asked the question above is because I read in the microprocessor datasheet
(XE216-512-TQ128 Datasheet) that the USB PHY uses ports 8A and 8B, and in the xCORE-200 Multichannel Audio Platform 2v0 schematics I saw that the LED's and buttons are connected to the same ports.
It is possible to use the same ports for two different tasks (USB and GPIO)?
Thank you in advance,
Ilie
henk
Respected Member
Posts: 347
Joined: Wed Jan 27, 2016 5:21 pm

Post by henk »

Yes - good question.

The PHY interfaces ports 8A and B, but ports 4A, B, C, and D free to be used on the X1D02..X1D09 and X1D14..X1D21 (this is where xCORE200 is different from XS1).

Best wishes,
Henk
Unchyu2
Member++
Posts: 29
Joined: Tue Jun 17, 2014 11:40 am

Post by Unchyu2 »

Hello again,

Thank you Henk for you answers, I got the board running as I want it thanks to your help.

Enjoy the rest of your day,
Ilie