Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lptim_systick deepsleep wakeup to much time. #261

@cameled

Description

@cameled

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Sometimes lptim systick deepsleep spend to much time to wakeup, nearly 80 count, 10ms.

Expected Behavior

lptim systick deepsleep wakeup spend nearly 250us, as sf32lb52 document described.

Steps To Reproduce

Set below EARLY_WAKEUP_TICKS to 10, MIN_STOP_TICKS to 20. sometime trigger the tasks.c:1960 assert.

//! Stop mode until this number of ticks before the next scheduled task
static const RtcTicks EARLY_WAKEUP_TICKS = 2;
//! Stop mode until this number of ticks before the next scheduled task
static const RtcTicks MIN_STOP_TICKS = 0xFFFFFFFF; // disable stop mode for now

Version

main

Host OS

N/A

Watch

Pebble Time 2 (Obelix)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions