Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Embeded-SCM Develop DSP program
Title: DSP-pwm- Download
 Description: n order to generate a PWM signal, DSP timer timer and PWM cycle period should be equal. In addition the need for DSP s EVA/EVB module compare unit compare register setting values, so that the value and the timer counter value has been compared by some comparisons, PWM that generate transition. In this way, DSP s PWM pin will generate a value of compare register width is proportional to the pulse signal. Repeated regularly in the course of the timer to generate a PWM signal. Compared using the DSP hardware unit generates PWM waveforms do not need connection diagram, only the relevant registers of the DPS can be configured to obtain the corresponding PWM output waveform, the specific operation is as follows: Comparison of mode control register 1 set ACTRx 2 If necessary, enable the dead zone function, the configuration control register DBTCONx dead 3 on the comparison registers CMPRx assignment 4 Set the timer register T1CON (T3CON) and start the timer 5, the value changes by upd
 Downloaders recently: [More information of uploader ryanzczhang]
 To Search:
File list (Check if you may need any files):
DSP的pwm程序.doc
    

CodeBus www.codebus.net