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

Switchover transistor and DCDC_EN FET can't coexist - need to add Schottky diode #64

Closed
CRImier opened this issue Aug 9, 2018 · 2 comments

Comments

@CRImier
Copy link
Member

CRImier commented Aug 9, 2018

The switchover circuit on Delta boards doesn't work as expected - the DCDC_EN is supposed to both control the FET that's switching the 5V DC-DC on and off, as well as the transistor that's enabling the switchover circuit. However, in practice, the transistor pulls DCDC_EN down when it's not yet configured as input - from the moment the phone (and MCP23017) is powered, till the moment the 5V DC-DC is first enabled/disabled (at that moment, the software sets the DCDC_EN GPIO as output). We could workaround that in software, but it's a hack. Instead, I came up with the following solution:

  • The transistor (that enables the switchover) is controlled from the charger input (through a 10K resistor) instead of DCDC_EN
  • A signal Schottky diode is added, pulling the transistor's base down whenever the DCDC_EN is low (and, consecutively, DCDC is enabled)

This enables the switchover when the charger is connected, but disables the switchover whenever DCDC is enabled.

The problem is - we need to add another BOM entry, as well as source another component. Therefore, if any other ideas are proposed, I'll be happy to hear them.

@CRImier
Copy link
Member Author

CRImier commented Aug 9, 2018

For now, the Schottky solution is implemented.

CRImier added a commit that referenced this issue Aug 9, 2018
@CRImier
Copy link
Member Author

CRImier commented Jan 15, 2019

Works!

@CRImier CRImier closed this as completed Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant