电子工程世界电子工程世界电子工程世界

关键词

搜索

型号

搜索

AN1780

产品描述STR71X REAL TIME CLOCK APPLICATION EXAMPLE
文件大小63KB,共9页
制造商ST(意法半导体)
官网地址http://www.st.com/
下载文档 全文预览

AN1780概述

STR71X REAL TIME CLOCK APPLICATION EXAMPLE

文档预览

下载PDF文档
AN1780
APPLICATION NOTE
STR71X REAL TIME CLOCK APPLICATION EXAMPLE
INTRODUCTION
The purpose of this application note is to explain how to use the STR71x Real Time Clock
(RTC) peripheral. As an application example, it demonstrates how to setup the RTC periph-
eral, in terms of prescaler and interrupts, to be used to keep the time and date and to generate
Alarm interrupts
.
The STR71x RTC has a 32-bit binary counter register. The 32-bit binary
counters are designed to continuously count time in seconds. This application note addresses
how to convert the 32-bit time value into a date and time value that can be put in the following-
form MM/DD/YYYY, HH:MM:SS.
The date used in this application note is the same used with the UNIX operating system, the
reference date January 1, 1970, often referred to as Unix Epoch.
This document in organized in two sections, the first presents the STR71x RTC peripheral and
how to configure it and generate a fixed time base, the second part describes the related soft-
ware required for the application.
This application note deals with various techniques for keeping time with the STR71x.
For more information about the STR71x RTC peripheral refer to STR71x Reference Manual.
Note:
Because of the reference date used and the use of a 32-bit counter, this algorithm rolls
over on Tuesday, January 19, 03:14:07, 2038.
The following application note developed using RVDK Toolchain V1.6.1 and the STR710 Eval-
board.
You must have the ARM Real View Developer Kit to get the most out of this Application Note.
AN1780/1204
1/9
1
夏宇闻老师谈FPGA学习整理
1. 必须清楚自己究竟适合不适合做工程师,看看自己的性格特点,是不是特别安静,又耐得住寂寞,因为FPGA工程师是一个很辛苦的工作,要不断地通过学习研究提升自己的设计水平,而且工程师需要经常 ......
CMika FPGA/CPLD
PIC18 K40系列的串口 发送不出去....求帮助
之前做过PIC16的串口,PIC18K20的DEMO软件也看过,然后觉得在K40上面应该不会太困难 谁知道,,,第一次使用PIC18F67K40,用USART5模块... 一个普通的测试发送 用示波器测量没有任何波形,但 ......
wzy8430121 Microchip MCU
用PIC16C72A做的250V电压表
用PIC16C72A做的DC 250V电压表,有HEX文件和防真。...
hschengyg Microchip MCU
请教 这个时间电路如何设计?
请教各位,这个时间控制电路如何设计? 如果知道的话,请详细说明一下,谢谢! 本帖最后由 twtsh 于 2010-1-4 22:48 编辑 ]...
twtsh 模拟电子
光电直读阀控水表方案
自主设计的小封装ESOP8的MBUS远传芯片MS722+阀控芯片MS3111S,自带大电流模式,轻松解决电流输出问题,可以更方便客户的设计; 544738 ...
Syh卿 国产芯片交流
具有连接管理器的 TMS320F2838x 微控制器
487639487640 ...
灞波儿奔 微控制器 MCU

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

 
机器人开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 大学堂 TI培训 Datasheet 电子工程 索引文件: 158  1823  238  2056  314  21  24  32  19  34 

器件索引   0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved