The OP
Published on 2021-8-23 13:35
Only look at the author
This post is from stm32/stm8
Latest reply
This kind of problem is not 100% reproducible and is indeed difficult to find, but the focus is on RTC.
Details
Published on 2021-8-25 11:51
| ||
|
||
2
Published on 2021-8-23 14:10
Only look at the author
This post is from stm32/stm8
| ||
|
||
|
3
Published on 2021-8-23 20:51
Only look at the author
This post is from stm32/stm8
Comments
It may not be a problem with the oscillation. I adjusted the position of the RTC enable and changed it to enable before entering low power consumption (it was enabled during initialization before). In this way, this phenomenon did not occur yesterday and today. I guess it is because after enabling the alarm clock, the second interrupt happened to come, and at this time, the peripherals were being used.
Details
Published on 2021-8-24 15:44
| ||
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
|
||
|
This post is from stm32/stm8
| ||
|
||
|
5
Published on 2021-8-24 16:06
Only look at the author
This post is from stm32/stm8
| ||
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
|
||
|
w494143467
Currently offline
|
6
Published on 2021-8-25 11:51
Only look at the author
This post is from stm32/stm8
Comments
Well, by modifying the RTC enabling code position, this problem was solved. I can only guess that the previous problem was that after the alarm was enabled, the second interrupt came immediately, and when it happened to be in the process of entering low power consumption to set the clock and clear the flag bit, the interrupt flag bit was not cleared, resulting in the alarm wake-up interrupt not being
Details
Published on 2021-8-25 17:24
| |
|
||
|
This post is from stm32/stm8
| ||
|
||
|
论坛威望大于30000或网友提名:坛子里公认的技术导师
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190