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

RTC init with LSE tries to deactivate LSI on STM targets #6265

Closed
clementpinet opened this issue Mar 5, 2018 · 2 comments · Fixed by #6353
Closed

RTC init with LSE tries to deactivate LSI on STM targets #6265

clementpinet opened this issue Mar 5, 2018 · 2 comments · Fixed by #6353

Comments

@clementpinet
Copy link

Description

  • Type: Bug
  • Priority: Blocker

Bug

Target
STM32L496RG custom board

Toolchain:
GCC_ARM

Toolchain version:
7.2.1 20170904

mbed-cli version:
1.4.0

Commit

01b2b1b#diff-e6d04026f2b052ed164f47b8ebff8240

File

targets/TARGET_STM/rtc_api.c L66

Behavior

Since this change, RTC initialization with LSE also tries to deactivate LSI.
We can no longer base RTC on LSE while using LSI for something else.
For example, IWDG is only working with LSI and blocks its deactivation.
Using IWDG prevents RTC initialization with LSE.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 5, 2018

@ARMmbed/team-st-mcd Please review

@jeromecoutant
Copy link
Collaborator

Hi
I agree, PR will come soon

@jeromecoutant jeromecoutant mentioned this issue Mar 14, 2018
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants