首页 | 本学科首页   官方微博 | 高级检索  
     

基于DSP的定时器在模数和数模转换中的应用
引用本文:王德东,陶俊勇,蒋瑜,吴艳.基于DSP的定时器在模数和数模转换中的应用[J].计算机测量与控制,2008,16(6):819-820.
作者姓名:王德东  陶俊勇  蒋瑜  吴艳
作者单位:国防科技大学机电工程与自动化学院,湖南长沙,410073
摘    要:采用计算定时器周期寄存器值的方法设置TMS320C6713 DSP定时器,以精确控制D/A数模转换输出信号的频率或A/D模数转换的采样频率,结合C6713 DSP定时器寄存器和配置定时器的一般步骤,以及中断寄存器和可屏蔽中断发生满足的条件,编写了用两个定时器分别控制D/A和A/D的中断初始化程序,并在C6713 DSP硬件平台上进行了验证;结果表明:计算定时器周期寄存器值的方法正确,能够产生指定频率的信号或以指定频率对信号进行采样,控制方式灵活并且精度较高。

关 键 词:DSP  定时器  中断  A/D转换  D/A转换
文章编号:1671-4598(2008)06-0819-02
修稿时间:2007年10月14

Application of DSP Timer in Controlling A/D and D/A Conversion
Wang Dedong,Tao Junyong,Jiang Yu,Wu Yan.Application of DSP Timer in Controlling A/D and D/A Conversion[J].Computer Measurement & Control,2008,16(6):819-820.
Authors:Wang Dedong  Tao Junyong  Jiang Yu  Wu Yan
Affiliation:Wang Dedong Tao Junyong Jiang Yu Wu Yan (Dept.of Meehatronics Engineering and Automation,NUDT,Changsha 410073,China)
Abstract:The initialization program of timer interrupt is written combining the general process to configure C6713 DSP timer register with the occurring condition of maskable interrupt.In the program,the value of timer period register is controlled to accurately control D/A output signal frequency or A/D sampling frequency.Finally,some experiments have done in DSP hardware platform.Experiment results show that the method controlling timer period registe's value is right,the A/D or D/A sampling frequency can be controlled,the control mode is flexible,and the control precision is more accurate.
Keywords:DSP  timer  interrupt  A/D  D/A  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号