- 1、本文档共26页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
STM32L4
Real-Time Clock (RTC)
RTC Features (1/2)
63
? Ultra-low power battery supply current.
? Calendar with Sub seconds, seconds, minutes, hours, week day, date, month, and
year.
? Daylight saving compensation programmable by software
? Two programmable alarms with interrupt function. The alarms can be triggered by any
combination of the calendar fields.
? A periodic flag triggering an automatic wakeup interrupt. This flag is issued by a 16-bit
auto-reload timer with programmable resolution. This timer is also called ‘wakeup
timer’.
? A second clock source (50 or 60Hz) can be used to update the calendar.
? Maskable interrupts/events:
? Alarm A, Alarm B, Wakeup interrupt, Time-stamp, Tamper detection
? Digital calibration circuit (periodic counter correction) to achieve 0.95 ppm accuracy
? Time-stamp function for event saving with sub second precision (1 event)
? 32 backup registers (128 bytes) which are reset when an tamper detection event
occurs.
Presentation Title 02/07/2015
RTC Features (2/2)
64
? Alternate function outputs:
? RTC_CALIB: 512 Hz or 1Hz clock output (with an LSE frequency of 32.768 kHz). It
is routed to the device RTC_OUT output.
? RTC_ALARM: Alarm A, B flag output. It is routed to the device RTC_OUT output.
? Alternate function inputs:
? RTC_TAMP1: tamper1 event detection.
? RTC_TAMP2: tamper2 event detection.
? RTC_TAMP3: tamper3 event detection.
? RTC_TS: timestamp event detection.
? RTC_REFIN: reference clock input.
? The RTC clock source could be any of the following three:
? LSE oscillator clock : available in all LP modes + VBAT.
? LSI oscillator clock : available in all LP modes except Shutdown.
? HSE divided by 32 in clock controller.
Presentation Title 02/07/2015
RTC overview across families (1/2)
65
STM32F4x STM32L1x STM32L4x
RTC in VBAT YES
Calendar in BCD YES
Calendar Sub seconds
access
YES
Resolution down to RTCCLK
Calendar synchronization
on the fly
YES
Alarm on calendar 2 w/ subseconds
Calendar Calib window : 8s/16s/32s
Cali
文档评论(0)