Dear Wim,
Thank you for your reply and the information!
I am building an application which powers itself using a fuel cell and some other components. It looks bad in a demo if a self-powered device takes power from the host, no matter how small the power from the host is. However, for a demo I still need to show the voltages, currents, and powers in the system, which I do most clearly and conveniently by plotting them on the host computer. The 4 row LCD display that I have attached to the mbed is not too good at showing large amounts of measurements :)
The external power supply does provide 5V to the Vin, but still the USB turns itself off. If I understand you correctly you suggest that I will cut the cable from the host, but wire a 5V cable from the Vin to the USB connector so it still gets 5V, but from the power supply, not the host. Alternatively use the USB D+ / USB D- pins. Have I understood you correctly?
If you know, what does turning the USB peripheral on/off do when there is not 5V connected to the USB connector? Does it turn the I/F chip on/off or does it do anything?
Regards,
- Axel
Hi!
I have an mbed system in which I am sending the data from the mbed to a host computer and then plotting and logging it using LabView. I would like to be able to send data to the host, while not using power supplied by the host computer through the USB cable. I have a USB cable into which I have inserted a manual switch in the 5 V line, but left the other wires as they were. I have connected this modified USB cable to the normal mbed micro USB connector.
My problem is that the mbed turns of the USB chip when I cut the 5 V power supply to the mbed, although the data cables are still connected. This turns off the data transmission to the host. The mbed has a separate power supply so it keeps running. I have tried to turn on the USB chip in my code at initialisation of the system, but the USB chip still turns off when the cable switch turns off the 5 V line.
I would like to know if it is possible to get the mbed USB chip to stay on although no power is fed through the micro USB connector? I would also like to know if it is possible to use the micro USB connector for sending data to the host although no power is provided through it? Or do I have to use the USB D+ / USB D- connectors for this instead?
Thank you in advance!
-Axel