Skip to content

Updates for Tracker M proto 3 #2580

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

Merged
merged 2 commits into from
Nov 17, 2022
Merged

Updates for Tracker M proto 3 #2580

merged 2 commits into from
Nov 17, 2022

Conversation

jmwilson
Copy link

Explanation

Tracker M proto 3 has the wakeup pin to or the PMIC and IO expander interrupts so either can wake it from deep sleep. This means the IO expander should set its interrupt output as open drain.

In proto 2, the cell reset line was disconnected via a DNP jumper. In proto 3, is connected to the cell modem reset (which is internally connected to modem power). Since the cell modem pins are level-shifted from the MCU pins via open drain MOSFETs it is ok to have the MCU pins driven separately and will mean the pinmap doesn't have to change for an EG91 variant.

Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA (Info here)
  • Problem and Solution clearly stated
  • Run unit/integration/application tests on device
  • Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

iocon |= 1u << 6;
#endif
#if HAL_PLATFORM_MCP23S17_OPEN_DRAIN_INT
iocon |= 1u << 2;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: magic numbers. We have plenty of those here, but if we can define self-describing constants for these would be great.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I generally agree, but in a case where the descriptive flag is right next to the magic number that's used once, it's not adding much. 🤷‍♂️

@jmwilson jmwilson merged commit 83f7234 into develop Nov 17, 2022
@jmwilson jmwilson deleted the feature/sc-112085 branch November 17, 2022 20:52
@scott-brust scott-brust added this to the 5.2.0 milestone Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants