STM32L452 LSE not running if CSS enabled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-28 1:41 AM
I have once activated CSS in CubeMX and then the LSE can no longer be started. Even if I change CSS to disabled in CubeMX and recompile this does not change.
I have to say that I have buffered the RTC / LSE with a CAP at VBatt so it does not loose power even at main power down. Only if I remove the CAP I can reactivate the LSE.
So are there any know problems with CSS activated for LSE?
And is there a way do disable CSS after it was once activated even at battery powered systems?
Thanks
MB
- Labels:
-
RCC
-
STM32CubeMX
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-28 3:13 AM
You mean, the LSE CSS?
Have you read and followed the Clock security system on LSE subchapter in RCC, and the procedures related to LSECSSON and LSECSSD as described in description of these bits?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-28 3:25 AM
Yes I mean LSE CSS. My main problem was to turn off the LSE CSS while VBatt is connected always. I could not find how to do so.
Also I am wondering why LSE CSS does shut down my LSE clock at startup. Normally it should just work all time because I have it with VBatt connected.
MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-28 4:38 AM
> My main problem was to turn off the LSE CSS while VBatt is connected always. I could not find how to do so.
Backup domain reset does not clear the LSECSSON bit?
> Also I am wondering why LSE CSS does shut down my LSE clock at startup.
Is LSECSSD set or not?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-04 4:13 AM
Any progress with this?
JW
