摘要
用DSP产生一个正弦序列,就是根据数字振荡器的工作原理,确定信号的振荡频率,设置定时器采样频率或采样时间间隔。利用DSP的C5410系列中的片内定时器控制寄存器以及中断屏蔽寄存器来产生正弦信号。用汇编语言编辑存放中断服务程序的代码,即中断矢量表,用C语言编写主程序和中断服务程序.通过二者的链接,最后通过CCS图形观察工具,得到正弦输出信号。
Using DSP produce a sinusoidal sequence, according to figures oscillator working principle, is to determine the oscillation frequency signal, and set timers sampling frequency and time intervals. The C5410 DSP using a series of on-chip timer interrupt control registers and registers decided to open up the shield or closing down all the interrupt request. Using assembly language editing stored procedures interrupt service code, interrupt vector table, prepared by the main program with C language and the interrupt service routine. Through two links, graphics CCS final adoption observation tools are sinusoidal output signal.
出处
《重庆电子工程职业学院学报》
2010年第1期88-90,117,共4页
Journal of Chongqing College of Electronic Engineering