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

[bug] slow delay() and millis() when 32768 Hz XTAL is not connected to PD0 and PD1 #87

Open
lyusupov opened this issue Sep 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lyusupov
Copy link

lyusupov commented Sep 5, 2024

Hardware

EFR32BG22

Core version

2.1.0

Arduino IDE version

any

Operating system

any

Radio stack variant

No radio

OpenThread Border Router device (if using Matter)

No response

Issue description

this is a follow up for the thread: #80 (comment)

when 32768 Hz XTAL is not connected to PD0 and PD1 pins -

  • delay() and delayMicroseconds()
  • millis() and micros()
    are operating approx. 100-110 times slower than they should.

I found out that the Core relies heavily on the external 32.768 kHz XTAL. It assumes that it is a mandatory hardware component.
However, this requirement is not specified in the Limitations section of the Core's README:
https://github.com/SiliconLabs/arduino#limitations



image

The request is:

Is it possible to avoid using of the RTC timer for the purpose of Arduino delay() ... and millis() ... functions in the future releases of the Core ? Arduino Cores for other SoCs typically don't do that.

Serial output

No response

RTT output (if using Matter)

No response

Minimal reproducer code

No response

@lyusupov lyusupov added the bug Something isn't working label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant