Replies: 1 comment 2 replies
-
Yes, if you update the JSON being selected by Platform.IO, it will set a -D define that will update the USB descriptor sent to the host (there's no actual change to the app running, this is just a USB information change). arduino-pico/cores/rp2040/RP2040USB.cpp Lines 270 to 273 in fd1596b |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking at using a Pi-Pico in a small USB-powered and connected instrument that involves LED lights (6x 20ma) and a small stepper motor that can take 300ma. So I really need to make sure that the USB once enumerated will deliver the maximum USB2.0 rated 500ma. (assumes the computer side port can be configured as well, but most seem to, as I've been running this hardware running with a Nano for a while, and only changed the micro.
I'm using The 2.73 Library and so far most things have worked really well, and seems far more compatible than the official embed solution which I wasted a week on before swapping. I run this on VisualMicro under VisualStudio2019.
Whilst debugging my code I stumbled across a .json file that had an entry about 'set max USB power to 250ma', perhaps all I have to do is change this, but sadly I'm struggling to find it again. Was I dreaming? USBView also confirms max power is 250mA
I realise that 250mA is probably enough for most people and that it's probably set to limit power for the 3V3 to less than the 300ma for the regulator, but I'll be happy with <100ma for the 3v3 volts.
Thanks for any feedback.
Steve
Beta Was this translation helpful? Give feedback.
All reactions