Skip to content

STM32WLE5 compatibility #134

Description

@0x0fe

Trying this library with STM32WLE5CCU6. In Arduino as far as i can tell the system is running on HSI at 48M, and the LSI is initialized by the core.
My board has HSE and LSE too.
Tried the following example, it never wakes.

#include "STM32LowPower.h"
#define DBG_TX PA9
#define DBG_RX PA10

void setup() {
  Serial.setTx(DBG_TX);
  Serial.setRx(DBG_RX);
  Serial.begin(115200);
  Serial.printf("init\n");
  delay(5);
  LowPower.begin();
}

void loop() {
  Serial.printf("sleep\n");
  delay(5);
  LowPower.deepSleep(5000);
  Serial.printf("wake\n");
  delay(5000);
}
init
sleep

Is the library simply not handling STM32WLE5 yet?

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