毕业论文

打赏
当前位置: 毕业论文 > 计算机论文 >

基于DSP可编程控制器底层驱动软件的设计

时间:2017-06-04 15:58来源:毕业论文
使用TI公司生产的DSP芯片TMS320F2812完成底层驱动函数的编写。本毕业设计对该DSP 芯片的研究主要分四个模块:通用数字输入输出(GPIO)模块、异步串行通信(SCI)模块、模数转换

本毕业设计使用TI公司生产的DSP芯片TMS320F2812完成底层驱动函数的编写。本毕业设计对该DSP 芯片的研究主要分四个模块:通用数字输入输出(GPIO)模块、异步串行通信(SCI)模块、模数转换(ADC)模块和数模转换(DAC)模块。对硬件模块的使用,本质上就是对相关的寄存器进行读写,因此为了使用这四个模块,首先定义好与其相关的寄存器,然后就是通过对这些寄存器的设置和读写完成希望的功能。对于GPIO模块,设置相应的寄存器配置数字量 I/O 和外设 I/O,数字量 I/O 完成数字量的输入和输出,外设 I/O 用于外设模块的输入和输出(如 SCI对应的 I/O 引脚完成异步串行通信)。对于 SCI模块,主要是读写相应的寄存器来与 RS232接口通信。对于ADC 模块,本毕业设计使用的是 TLC1543 芯片完成A/D转换,转换结果通过 SCI模块从RS232 接口传给通信程序。对于DAC 模块,本毕业设计使用的是 MAX5322芯片完成D/A转换。9658
关键词  DSP  TMS320x281x  GPIO  SCI  TLC1543  MAX5322  底层驱动函数 Title    Design of DSP-based low-level functions                
 Abstract
My graduation design is based on DSP of TMS320x281x,which is produced by
TI corporation.I research on four modules of the DSP:GPIO module,SCI
module ,ADC module and DAC module.In fact,the use of hardware modules is
that reading and writing registers.Therefore,if you want to use these
modules,you must define registers which is associated with these
modules.Then,you can configure these registers to do what you
want.Regarding GPIO module,you should configure the corresponding
registers to set GPIO pins to digital I/O and peripheral I/O.Digital I/O
pins are to complete the input and output of digital data. Peripheral I/O
pins are to complete the input and output of peripheral data(for
example,the peripheral I/O pins which are input and output pins of SCI
module are used to communicate with the port of RS232). Regarding SCI
module,this module is used to communicate with the port of RS232.Regarding
ADC module,I use TLC1543 to do analog to digital conversion.The result of
analog to digital conversion is transmitted to high-level communication
program using SCI module.Regarding DAC module,I use MAX5322 to do digital
to analog conversion.  
Keywords    DSP  TMS320x281x  GPIO SCI  TLC1543   MAX5322   low-level
functions
 目   次  
1  引言  1
1.1  研究的问题和意义  2
2  基于 DSP 的可编程控制器的总体设计  3
2.1  DSP 的特点  3
2.2  DSP 控制器的硬件结构  3
2.3  DSP 控制器的软件结构  6
3   通信模块   7
3.1   通用数字输入输出模块 7
3.2   异步串行通信模块   10
4   模数转换模块和数模转换模块 21
4.1   模数转换模块   22
4.2   数模转换模块   27  
结论   32
致谢   32
参考文献  33
1  引言
在 20世纪60 年代,随着小型计算机的出现,人们曾试想用其代替继电器进行工
业控制,但发现用小型计算机进行工业控制不仅输入输出电路不匹配,而且编程复杂,
无法推广。因此为了实现简单有效的工业控制,人们研制出了可编程控制器,简称 PLC
(Programmable Logic Controller)。可编程控制器由微处理器、存储器、输入输出
单元、编程器和电源组成,具有可靠性高、易文修、灵活方便、编程简单等特点,这 基于DSP可编程控制器底层驱动软件的设计:http://www.youerw.com/jisuanji/lunwen_8457.html
------分隔线----------------------------
推荐内容