Skip to content

SAPI MCU Sleep Issue #10

@wildbiotiger

Description

@wildbiotiger

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions