摘要本设计是基于 ARM cortex M-3 架构的实时时钟显示设计,可以显示年月日时分秒及周信息,具有可调整日期和时间功能,也具有显示周围温度的功能。在设 计的同时,对 ARM cortex M-3 架构做了一定的介绍,也详细介绍了本设计所用到 的硬件和开发工具。68517
实时时钟的设计过程在硬件与软件方面进行同步设计。硬件部分主要由 lm3s8962 处理器,ds1388 计时器,ds18b20 温度计,LED12864 显示电路,以及调 时按键电路等组成,系统通过 12864LED 显示时间和温度,所以具有人性化的操作 和比较美观的显示效果。软件方面主要包括时钟程序、键盘程序,显示程序,读 取温度程序等。本系统用 c 语言开发,为了便于以后的扩展和更改,软件的设计 采用模块化结构,主要分为四个模块。使程序设计的逻辑关系更加简洁,让人一 目了然,以便更简单地实现调整时间及日期显示功能。本次设计所使用的开发工 具是 Keil,用于程序的调试和编译,编译完成后,下载到 lm3s8962 处理器进行 仿真。
毕业论文关键词 ARM cortex-M3 lm3s8962 实时时钟 万年历
Abstract
The design is based on ARM cortex M-3 architecture , real-time clock display designed to display year, months, date, clock, minute, second and weekly information , with adjustable date and time functions, and the design involves the function of ambient temperature display too. In the design, while some introduction is done on the ARM cortex M-3 architecture, but also details of the hardware used in the design and development tools is introduced specifically.
The design process of real-time clock to synchronize the hardware and software aspects of the design . The hardware part is mainly composed lm3s8962 processor , ds1388 timer , ds18b20 thermometer , LED12864 display circuit , and transfer button circuit and other components , The system displays the time and temperature by 12864LED , so the operation has a user-friendly and more beautiful display. Software includes a clock procedures, the keyboard , the display program , temperature reading procedures. The system is developed using c language , in order to facilitate future expansion and change , the software design is modular in structure , pided into four modules. So logic programming is more succinct , makes clear , in order to adjust the time and date to achieve display more easily. The development tool is Keil, for debugging and compiling programs , the program is downloaded to lm3s8962 processor emulation after compiled .
Keywords ARM cortex-M3 lm3s8962 RTC Calendar
目 次
1 绪论 1
1.1 本课题的研究意义与研究目的 4
2 硬件电路设计 4
2.1.1 ARM cortex M-3 4
2.1.2 LM3S8962 微控制器 4
2.2 实时时钟设计 7
2.3 LCD 显示电路设计 10
2.4 DS18B20 温度计电路设计 12
3 软件设计 14
3.1 软件开发平台以及驱动库介绍 14
3.1.1 Keil 开发平台简介 14
3.1.2 Stellaris 驱动库简介 15
3.2 主程序设计 16
3.3 按键控制程序设计 20
3.4 实时时钟程序设计 28
3.5 LCD 显示程序设计 基于cortexM-3ARM的万年历系统设计+程序:http://www.751com.cn/zidonghua/lunwen_77075.html