TickTock
Well-known member
Since you are generating 5V, I agree with your plan, but I think you are misunderstanding the use of that USB port. There are actually two USB ports and the only one you will ever connect to a PC (and back feed 5V) is the one already on the mbed at the top. The one we added to the CANary board is only to attach a USB thumbdrive (device) so you will never back feed 5V in that path. However, if you are generating 5V with your own DC-DC, I agree you can connect the USB VBUS to that +5V supply (which you also plan to connect to Vin) instead of VU. Gotta run now - will digest the rest a little later.robot256 said:I found the schematic of the mbed LPC1768 module and it shows pretty clearly that the VU pin is not really good for anything but getting 5V specifically from the built-in USB port, when it is plugged in to a computer. Back-feeding it with 5V only makes you consume another 5mA through that 1kohm R15, and lets 5V get to the onboard LM1117's through two diodes instead of one. So, I will disconnect it and feed my 5V separately to VIN and the USB host port.TickTock said:I think how you connect the USB Vbus depends on the use model. Since CANary is the Host, it needs to provide 5V to the device (thumbdrive) so I connected the VU (5V out) to the USB connector. If we were using CANaray as a device (and it was drawing it's power from the host on the other end), I think we would connect the USB power to the VIN. If you are planning on feeding 5V into the Vin, then I think you can do what you say.