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

We need to revert PR#3930 please #4012

Closed
UnexpectedMaker opened this issue Jan 17, 2021 · 4 comments
Closed

We need to revert PR#3930 please #4012

UnexpectedMaker opened this issue Jan 17, 2021 · 4 comments

Comments

@UnexpectedMaker
Copy link

We need to revert the work done in this please:
#3930

It completely prevents the user from shutting down LDO2 and any expected behaviour a user would expect after that happens.

CP is driving the APA all the time, so parasitic current is leaking form the APA and causing 1.4-1.6V to come out of the 3V3O pin when LDO2 is shutdown.

It's also confusing folks as the APA is now "doing it's own thing" all of the time now, not just when the user is in the REPL.

Sorry folks!
Seon

@jerryneedell
Copy link
Collaborator

closed by #4013

@tannewt
Copy link
Member

tannewt commented Jan 20, 2021

CP is driving the APA all the time, so parasitic current is leaking form the APA and causing 1.4-1.6V to come out of the 3V3O pin when LDO2 is shutdown.

Is this a larger issue? We shouldn't communicate with the APA when LDO2 is off then right?

It's also confusing folks as the APA is now "doing it's own thing" all of the time now, not just when the user is in the REPL.

The APA should be blinking like it would on all CircuitPython boards. It was a bug before when it wasn't being consistent. Note, we do want to change it's behavior with CP 7 so that it's more power friendly. Until then though, it should be consistent with other boards.

@UnexpectedMaker
Copy link
Author

UnexpectedMaker commented Jan 20, 2021

CP is driving the APA all the time, so parasitic current is leaking form the APA and causing 1.4-1.6V to come out of the 3V3O pin when LDO2 is shutdown.

Is this a larger issue? We shouldn't communicate with the APA when LDO2 is off then right?

Well, yes, I guess if it's considered a bug for the APA not to be behaving the same as other boards, then the way to solve this is for the code that does the LED thing to only do it if LDO2 (IO21) is high, but that's FeatherS2 specific.

The question then is, should LDO2 being forced as output/high on boot? I don't like that as that means the LDO is turned on without the user doing it, rather than by the users hand. If it's not forced on, then the LED won't do the "CP" thing, and would then still be considered a bug.

It's also confusing folks as the APA is now "doing it's own thing" all of the time now, not just when the user is in the REPL.

The APA should be blinking like it would on all CircuitPython boards. It was a bug before when it wasn't being consistent. Note, we do want to change it's behavior with CP 7 so that it's more power friendly. Until then though, it should be consistent with other boards.

See above re bug, and yay for better implementation in CP7 !

@tannewt
Copy link
Member

tannewt commented Jan 20, 2021

The question then is, should LDO2 being forced as output/high on boot? I don't like that as that means the LDO is turned on without the user doing it, rather than by the users hand. If it's not forced on, then the LED won't do the "CP" thing, and would then still be considered a bug.

I need to think more about this. I expect more boards in the future to do similar. I like that CircuitPython could manage when the board is on automatically but understand the 1mA of neopixel power (or whatever) may not be desired. The benefit of automatically turning on would be using the RGB status on "power on reset" to indicate the safe mode wait (and I suspect a BLE wait for boards with it).

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

4 participants