电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

基于DSP微控制器定时器设计VIP免费

基于DSP微控制器定时器设计_第1页
基于DSP微控制器定时器设计_第2页
基于DSP微控制器定时器设计_第3页
摘 要随着时代地进步,电子行业地发展,定时器地应用也越来越广泛.传统地机械式定时器,电动式定时器都是通过发条、交流同步步进电机或者石英步进电机进行驱动地 .这种定时器精度不高,定时误差较大.相对于前两种定时器,电子式定时器体积小、重量轻、造价低、精度高、寿命长、而且安全可靠、调整方便、适于频繁使用 .本次设计地题目是基于DSP 微控制器定时器设计.本文设计了一种以TMS320F28335 DSP 微控制器为核心地定时器 .利用内部定时器0 和 PIE 外设中断扩展模块产生定时中断,并进行逆行计数.通过 SPI 串行外设接口在DSP 和74HC164 之间进行通信,进而实现在数码管上通过动态扫描显示定时时间.本系统通过矩阵键盘控制定时器开启和暂停.在定时器暂停时,还可以通过键盘重新输入定时初值 .当定时结束时,还会通过LED 灯闪烁报警,提示定时结束.关键词:定时器, DSP,TMS320F28335 ,串行外设接口,矩阵键盘AbstractWith the progress of the times and the development of electronic industry, the timer is used more and more widely. The traditional mechanical timer, electric timer is drived through the spring, AC synchronous motor or quartz stepper motor .The accuracy of this timer is not high and the error is large. Compared with the former two timer, electronic timer has small volume, light weight, low cost, high precision, long service life, and electronic timer is safety and reliability, convenient adjustment, suitable for frequent use.The topic of this design is timer design based on the DSP microcontroller.This paper designs a timer with the core of TMS320F28335 DSP microcontroller. Generating a timer interrupt and counting retrogradely by using the internal timer 0 and PIE peripheral interrupt expansion module. Communicate between DSP and 74HC164 through the SPI serial peripheral interface, so as to achieve displaying time on the digital tube by dynamic scanning. The system is turned on and paused through the matrix keyboard. In the timer pause,i...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

文库响当当+ 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部