How to use TMS320F28027 design a waveform generator, for ccs file and proteus simulation!!
Design a waveform generator that can generate square wave, triangle wave, trapezoidal wave and sawtooth wave. The generation of specified waveforms can be realized by DAC. The generation of different waveforms is essentially achieved by changing the output binary digit quantity accordingly. In this title :
(1) The square wave signal is generated by the interrupt of timer. When the interrupt occurs each time, the output signal can be reversed by bit;
(2) The triangle wave signal is to add 1 in turn to the output binary digital signal, and subtract 1 in turn when it reaches 0xff, and real-time digital signal is converted by D/A;
(3) Sawtooth signal is the output binary digital signal by adding 1 in turn, when reaching 0xff set to 0x00, and real-time digital signal through D/A conversion;
(4) trapezoidal wave is the output of the binary digital signal by adding 1 in turn, when reaching 0xff, keep for A period of time, and then subtract 1 in turn until 0x00, and real-time digital signal through D/A conversion;
0 Answer
No answer yet
这家伙很懒,什么都没留下...