Skip to content

Conversation

@devgs
Copy link
Contributor

@devgs devgs commented Apr 4, 2024

According to guide gpio_stay_*_map are specifically there to prevent pulling pins to a specific level and let them float during deep sleep.

https://docs.bekencorp.com/sdk_3.0.x/bk7238/build/en/latest/developer-guide/power_save/sleep_test.html

This allows any external low-power circuitry to change a pin level, as required, to trigger the wake up.

This requires changes in BDK and was implemented via fixup. Also, exposed gpio_stay_lo_map parameter via lt_deep_sleep_keep_floating_gpio to manage this configuration for pins in range P0-P31.

According to guide `gpio_stay_*_map` are specifically there to prevent
pulling pins to a specific level and let them float during deep sleep.

https://docs.bekencorp.com/sdk_3.0.x/bk7238/build/en/latest/developer-guide/power_save/sleep_test.html

This allows any external low-power circuitry to change a pin level, as
required, to trigger the wake up

This requires changes in BDK and was implemented via fixup. Also, exposed
`gpio_stay_lo_map` parameter via `lt_deep_sleep_keep_floating_gpio` to
manage this configuration for pins in range P0-P31.
@kuba2k2 kuba2k2 added enhancement New feature or request BK7231 Beken BK72xx family labels Apr 7, 2024
@kuba2k2 kuba2k2 changed the title Allow configuring GOPIO wake-up pins as floating during deep sleep Sep 5, 2024
@kuba2k2 kuba2k2 changed the title [beken-72xx] Allow configuring deep sleep wake-up pins as floating Sep 5, 2024
@kuba2k2 kuba2k2 merged commit e1c5761 into libretiny-eu:master Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BK7231 Beken BK72xx family enhancement New feature or request

2 participants