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

Switch GPIO to RTC GPIO #3

Open
tbec opened this issue Apr 12, 2019 · 1 comment
Open

Switch GPIO to RTC GPIO #3

tbec opened this issue Apr 12, 2019 · 1 comment

Comments

@tbec
Copy link
Collaborator

tbec commented Apr 12, 2019

Only certain pins can be latched during light/deep sleep. For example we would like to latch the PM sensor SET/RESET lines low while sleeping, but can't do it currently. Valid GPIO numbers are:
0, 2, 4, 12, 13, 14, 15, 25, 26, 27, 32, 33, 34, 35, 36, 37, 38, 39
An easy immediate change is pin 10 is open. I forget what it's GPIO number is, but it's in this list. We could route PM_RESET here. Other changed would be more difficult and would have be discussed in more detail.

@tbec
Copy link
Collaborator Author

tbec commented Apr 26, 2019

GPIOs during boot process:

0 - Pulled HIGH then driven low. Do not alter this pin during boot!
1 - Pulled HIGH then driven low. Do not alter this pin during boot!
2 - Pulled HIGH then driven low. Do not alter this pin during boot!
3 - Pulled HIGH. No influence on boot process
4 - High Impedance
5 - High Impedance
12 - Pulled HIGH. No influence on boot process
13 - Pulled HIGH. No influence on boot process
14 - Pulled HIGH. No influence on boot process
15 - Pulled HIGH then driven low. Do not alter this pin during boot!
16 - Driven HIGH. Do not short

https://www.esp8266.com/viewtopic.php?f=32&t=16141

We should use GPIO4 to control SET pin on the PMS, because it is high impedance during boot (and presumably during flash, which is important if we use the PMS port to flash) and will be tied together with the UART0 RX pin. This all needs to be double-checked before implementing!

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