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

Low Speed LSI Not working #12

Open
3 tasks done
garudaonekh opened this issue Mar 25, 2024 · 0 comments
Open
3 tasks done

Low Speed LSI Not working #12

garudaonekh opened this issue Mar 25, 2024 · 0 comments

Comments

@garudaonekh
Copy link

描述一下这个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.
  • 已经提供了完整的报错信息、日志、截图,没有经过删减。
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