Skip to content

nucleo_g431rb: Blinky too slow / wrong clock setup? #21715

@martinjaeger

Description

@martinjaeger

Describe the bug
The LED is on approx. 15 times per minute (measured with stop watch), so it is 2 times slower than expected. On = off time in blinky app is set to 1 second.

To Reproduce
Steps to reproduce the behavior:

  1. west build -b nucleo_g431rb samples/basic/blinky/
  2. west flash

Impact
As I'm dealing with energy measurement in my application, the energy will most probably be wrong by the same factor as the blinky interval is wrong.

Environment:

  • OS: Linux 5.4.2-1-MANJARO zephyr-master_fork #1 SMP PREEMPT Thu Dec 5 09:55:57 UTC 2019 x86_64 GNU/Linux
  • Toolchain: West v0.6.3, Zephyr SDK v0.10.3
  • Commit SHA: ac09bb3

Additional context
I double-checked the clock and PLL configuration in nucleo_g431rb_defconfig vs. ST reference manual already and could not find any mistake.

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32priority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions