Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 6 months ago.
Device crashes without USB power
I have an issue. The board crashes about once per day. This is improved by supplying the 5V to the USB connector however it is not a fix.
Once the board has crashed just touching L2 seems to wake the device again. I have 3 C027 and all behave in the same way.
Question relating to:
1 Answer
9 years, 6 months ago.
The interface chip is powered by the USB voltage rather than the main system supply. Having that part unpowered makes the entire system unstable.
This is apparently by design although I'm not quite sure why someone thought requiring both external power and USB connected at all times in order to operate was a good idea.
If you don't mind making a minor hardware mod this is easy to fix. Connect a schottky diode between the 5V IO pin and the USB VBUS pin on the USB connector (pin 1 from memory but double check).
Another gotcha on this board is that the 3.3V pin can't power an SD card reliably. On most mbeds the 3.3V pin is designed to supply a reasonable amount of power out. On this board there is a series resistor, if you try pulling any current the output voltage drops. For an SD card this creates something between random corruption when writing to files and complete failure depending on the card used. Fortunately this is also easy to fix, just replace the resistor between the 3.3V and 5V outputs with a piece of wire.
Thanks Andy, I agree I can't see why the designer thought this was a good plan and the reset after download is infuriating. I had also had the 3.3V issue as I have a VL6180 range sensor wired from the 3.3V and the power supply was fairly erratic causing random results for those with the same problem it is R21 you need to link. Your help is appreciated.
posted by 02 Jun 2015