Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(Examples,PeriphDrivers): Reset USB block when operating in low power modes for MAX32650 #728

Merged
merged 3 commits into from
Sep 21, 2023

Conversation

sihyung-maxim
Copy link
Contributor

@sihyung-maxim sihyung-maxim commented Sep 13, 2023

Description

The USB block consumes extra current (1-2mA) when the ME10 is operating in low-power modes. The USB PONRST (0x410) register must be cleared to force the USB block to its initial state (where the operating current is at its minimum) in order to reach the expected current readings in the datasheet.

Checklist Before Requesting Review

  • PR Title follows correct guidelines.
  • Description of changes and all other relevant information.
  • (Optional) Link any related GitHub issues using a keyword
  • (Optional) Provide info on any relevant functional testing/validation. For API changes or significant features, this is not optional.

@github-actions github-actions bot added the MAX32650 Related to the MAX32650 (ME10) label Sep 13, 2023
@sihyung-maxim
Copy link
Contributor Author

/clang-format-run

@sihyung-maxim
Copy link
Contributor Author

sihyung-maxim commented Sep 19, 2023

Before:
SLEEP: 10.91mA
BACKGROUND: 4.58mA
DEEPSLEEP: 2.08mA
BACKUP: 3.11mA

After USB reset changes:
SLEEP: 9.06mA
BACKGROUND: 2.61mA
DEEPSLEEP: 51.72uA
BACKUP: 13.39uA

Latest measurements after resetting the USB block.

@Jake-Carter Jake-Carter merged commit a228bcd into main Sep 21, 2023
@Jake-Carter Jake-Carter deleted the fix/me10_lp_usb branch September 21, 2023 22:20
EricB-ADI pushed a commit that referenced this pull request Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MAX32650 Related to the MAX32650 (ME10)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants