XHRA-2HPA USB_VBUS Pin for External Power Solutions Topic is solved

Technical discussions around xCORE processors (e.g. xcore-200 & xcore.ai).
Post Reply
DHembree
Experienced Member
Posts: 75
Joined: Fri Apr 15, 2016 6:46 pm

XHRA-2HPA USB_VBUS Pin for External Power Solutions

Post by DHembree »

First post here. I am very new to this device. There does not seem to be a wealth of information in the data sheet regarding this, so I thought I would ask here. My system is to be powered from an external source - not USB powered. It is unclear what must be done with the USB_VBUS pin in this situation.

Thanks in advance,
Dan


View Solution
User avatar
Ross
XCore Expert
Posts: 962
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Wire it directly to USB vbus (add protection if you desire)
expertsleepers
Member
Posts: 12
Joined: Thu Mar 03, 2016 4:28 pm

Post by expertsleepers »

Ross wrote:Wire it directly to USB vbus (add protection if you desire)
What protection would you suggest in this case?

Also, do we need to worry about VBUS being present when the board is powered off? E.g. when the host PC is turned on with the USB cable connected, but the XMOS board powered off?
DHembree
Experienced Member
Posts: 75
Joined: Fri Apr 15, 2016 6:46 pm

Post by DHembree »

Ross,
Thanks for the reply. I do not intend on powering the part via the USB connector, so I am wondering if I still need to make this connection at all, and if I don't, what do I do with the pin? Vcc? Gnd?

Thanks again
User avatar
Ross
XCore Expert
Posts: 962
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

The current incarnation of the device requires it to be wired up I'm afraid. An internal VBUS comparator enables some of the phy logic when VBUS is present.
DHembree
Experienced Member
Posts: 75
Joined: Fri Apr 15, 2016 6:46 pm

Post by DHembree »

What would keep me from connecting the pin to my external power supply? How would the pin know the difference between being sourced by the USB connector vs another source?

Thanks again for the reply!

Dan
User avatar
Ross
XCore Expert
Posts: 962
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

It would fail a USB compliance test, in practise its likely to work most of the time, but you might get some issues.
User avatar
Ross
XCore Expert
Posts: 962
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

From USB spec:
The voltage source on the pull-up resistor must be derived from or controlled by the power supplied on the USB cable such that when VBUS is removed, the pull-up resistor does not supply current on the data line to which it is attached.
The xcore, in a self powered device, therefore needs a VBUS connection in order to know when the pull-up can should be enabled.
DHembree
Experienced Member
Posts: 75
Joined: Fri Apr 15, 2016 6:46 pm

Post by DHembree »

Thank you, Ross. I greatly appreciate the help!

Dan
User avatar
Ross
XCore Expert
Posts: 962
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

np
Post Reply