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

SAPI MCU Sleep Issue #10

Open
wildbiotiger opened this issue Nov 7, 2023 · 0 comments
Open

SAPI MCU Sleep Issue #10

wildbiotiger opened this issue Nov 7, 2023 · 0 comments

Comments

@wildbiotiger
Copy link

Deep sleep on the STM32s soft resets the device unless certain variables are preserved across the reset boundary.

However, the SAPI global buffer variable is not able to be preserved and requires an additional call to rsi_driver_init() which zeroes out the buffer and drops any active connections.

Short term: what variables have to be preserved across the reset boundary to maintain proper state?

Long term: can we add a soft init function to prevent zeroing out the buffer or store the main features within the buffer so that no init has to be called on reset?

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