文件名称:epwm_trip_zone07-30
介绍说明--下载内容均来自于网络,请自行研究使用
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,
//
// 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,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
epwm_trip_zone07-30\cc_build_Debug.log
...................\Debug\DSP280x_CpuTimers.obj
...................\.....\DSP280x_DefaultIsr.obj
...................\.....\DSP280x_EPwm.obj
...................\.....\DSP280x_GlobalVariableDefs.obj
...................\.....\DSP280x_PieCtrl.obj
...................\.....\DSP280x_PieVect.obj
...................\.....\DSP280x_SysCtrl.obj
...................\.....\Example_280xEPwmTripZone.map
...................\.....\Example_280xEPwmTripZone.obj
...................\.....\Example_280xEPwmTripZone.out
...................\Debug.lkf
...................\Example_280xEPwmTripZone.c
...................\.........................CS_\FILE.CDX
...................\............................\FILE.DBF
...................\............................\FILE.FPT
...................\............................\SYMBOL.CDX
...................\............................\SYMBOL.DBF
...................\............................\SYMBOL.FPT
...................\Example_280xEPwmTripZone.gel
...................\Example_280xEPwmTripZone.paf2
...................\Example_280xEPwmTripZone.pjt
...................\Example_280xEPwmTripZone.sbl
...................\Debug
...................\Example_280xEPwmTripZone.CS_
epwm_trip_zone07-30
...................\Debug\DSP280x_CpuTimers.obj
...................\.....\DSP280x_DefaultIsr.obj
...................\.....\DSP280x_EPwm.obj
...................\.....\DSP280x_GlobalVariableDefs.obj
...................\.....\DSP280x_PieCtrl.obj
...................\.....\DSP280x_PieVect.obj
...................\.....\DSP280x_SysCtrl.obj
...................\.....\Example_280xEPwmTripZone.map
...................\.....\Example_280xEPwmTripZone.obj
...................\.....\Example_280xEPwmTripZone.out
...................\Debug.lkf
...................\Example_280xEPwmTripZone.c
...................\.........................CS_\FILE.CDX
...................\............................\FILE.DBF
...................\............................\FILE.FPT
...................\............................\SYMBOL.CDX
...................\............................\SYMBOL.DBF
...................\............................\SYMBOL.FPT
...................\Example_280xEPwmTripZone.gel
...................\Example_280xEPwmTripZone.paf2
...................\Example_280xEPwmTripZone.pjt
...................\Example_280xEPwmTripZone.sbl
...................\Debug
...................\Example_280xEPwmTripZone.CS_
epwm_trip_zone07-30