Can't enable external power on the PowerBus using the M5 Stack Core 2 using ESP-IDF.
-
We are using the M5 Core 2 that has a stack layer with the SIM7600.
We can't to power the M5 Core2 using the external power from the SIM7600 Layer.
We are using the M5Unified libraries and are calling M5.Power.setExtPwr(true).When the USB isn't plugged in the device is constantly rebooting itself and making a ticking noise.
We assume we have to enable the setPowerBus mode, but can't seem to get it working.
How would we enable external power here?
We are Using ESP-IDF as our build platform.
-
Hello @oetzevandenbroek
I think you are close. Try
M5.Power.setExtPwr(false). Below is how it is defined:/// Set power supply to external ports. /// @param enable true=output / false=input /// @param port_mask for M5Station. ext_port (bitmask). void setExtPower(bool enable, ext_port_mask_t port_mask = (ext_port_mask_t)0xFF);In your case you want to set it as input to the M5Core2.
Thanks
Felix
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login