Skip to content

Low Speed LSI Not working #12

Open
@garudaonekh

Description

@garudaonekh

描述一下这个bug / Describe the bug

I set the Low Speed Clock Source to LSI 32.768KHZ but it's not working. The power consumption still at 0.5ma.

I try to set it in HAL mode also but still not working

RCC_OscInitTypeDef OSCINIT;
  RCC_PeriphCLKInitTypeDef LPTIM_RCC;

  /* LSI时钟配置 */
  OSCINIT.LSEState=RCC_LSE_OFF;
  OSCINIT.HSIState=RCC_HSI_OFF;
  OSCINIT.OscillatorType = RCC_OSCILLATORTYPE_LSI;  /* 选择配置LSI */
  OSCINIT.LSIState = RCC_LSI_ON;                    /* LSI开启 */

复现步骤 / To Reproduce

Arduino->Tools->Low Speed Clock Source->LSI 32.768

如果正常,应该是什么样 / Expected behavior

It is supposed to be less than 0.1ma

截图 / Screenshots

Arduino->Tools->Low Speed Clock Source->LSI 32.768

日志 / Logs

No log

系统 / System

Mac OS

PACK包版本 / Version

1.0.11

验证

  • 检查过该问题,之前没有人提过 / Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • 提供了最小可复现工程或详细的复现步骤,确保开发者可以复现 / The provided reproduction is a minimal reproducible example of the bug.
  • 已经提供了完整的报错信息、日志、截图,没有经过删减。

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