Welcome![Sign In][Sign Up]
Location:
Search - 280x ep

Search list

[DSP programepwm_trip_zone07-30

Description: dsp280x实现输出四路PWM波形,可以改变波形的周期和占空比,输出波形的相位也不同,在示波器上能看到波形,代码全部调试合格,ccs3.1下编译通过- This program requires the DSP280x header files. // // Initially tie TZ1 (GPIO12) and TZ2 (GPIO13) high. // // During the test, monitor ePWM1 or ePWM2 outputs // on a scope Pull TZ1 or TZ2 low to see the effect. // // EPWM1A is on GPIO0 // EPWM1B is on GPIO1 // EPWM2A is on GPIO2 // EPWM2B is on GPIO3 // // ePWM1 will react as a 1 shot trip // // ePWM2 will react as a cycle by cycle trip and will be // cleared if TZ1 and TZ2 are both pulled back high. // // // As supplied, this project is configured for "boot to SARAM" // operation. The 280x Boot Mode table is shown below. // For information on configuring the boot mode of an LSD_EVM320F2801X, // please refer to the documentation included with the LSD_EVM320F2801X,
Platform: | Size: 177152 | Author: JEFF | Hits:

CodeBus www.codebus.net