// TI File $Revision: /main/5 $
// Checkin $Date: January 14, 2008 11:28:12 $
//###########################################################################
//
// FILE: DSP2833x_SWPrioritizedDefaultIsr.c
//
// TITLE: DSP2833x Device Default Software Prioritized Interrupt Service Routines.
//
//###########################################################################
//
// $TI Release: DSP2833x/DSP2823x C/C++ Header Files V1.31 $
// $Release Date: August 4, 2009 $
//###########################################################################
#include "DSP2833x_Device.h" // DSP2833x Headerfile Include File
#include "DSP2833x_Examples.h" // DSP2833x Examples Include File
#include "DSP2833x_SWPrioritizedIsrLevels.h"
// Connected to INT13 of CPU (use MINT13 mask):
// Note CPU-Timer1 is reserved for TI use, however XINT13
// ISR can be used by the user.
#if (INT13PL != 0)
interrupt void INT13_ISR(void) // INT13 or CPU-Timer1
{
IER |= MINT13; // Set "global" priority
EINT;
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
#endif
// Connected to INT14 of CPU (use MINT14 mask):
#if (INT14PL != 0)
interrupt void INT14_ISR(void) // CPU-Timer2
{
IER |= MINT14; // Set "global" priority
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
#endif
// Connected to INT15 of CPU (use MINT15 mask):
#if (INT15PL != 0)
interrupt void DATALOG_ISR(void) // Datalogging interrupt
{
IER |= MINT15; // Set "global" priority
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
#endif
// Connected to INT16 of CPU (use MINT16 mask):
#if (INT16PL != 0)
interrupt void RTOSINT_ISR(void) // RTOS interrupt
{
IER |= MINT16; // Set "global" priority
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
#endif
// Connected to EMUINT of CPU (non-maskable):
interrupt void EMUINT_ISR(void) // Emulation interrupt
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// Connected to NMI of CPU (non-maskable):
interrupt void NMI_ISR(void) // Non-maskable interrupt
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void ILLEGAL_ISR(void) // Illegal operation TRAP
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER1_ISR(void) // User Defined trap 1
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER2_ISR(void) // User Defined trap 2
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER3_ISR(void) // User Defined trap 3
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER4_ISR(void) // User Defined trap 4
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER5_ISR(void) // User Defined trap 5
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER6_ISR(void) // User Defined trap 6
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER7_ISR(void) // User Defined trap 7
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER8_ISR(void) // User Defined trap 8
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER9_ISR(void) // User Defined trap 9
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER10_ISR(void) // User Defined trap 10
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER11_ISR(void) // User Defined trap 11
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
interrupt void USER12_ISR(void) // User Defined trap 12
{
EINT;
// Insert ISR Code here.......
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// -----------------------------------------------------------
// PIE Group 1 - MUXed into CPU INT1
// -----------------------------------------------------------
// Connected to PIEIER1_1 (use MINT1 and MG11 masks):
#if (G11PL != 0)
interrupt void SEQ1INT_ISR( void ) // ADC
{
// Set interrupt priority:
volatile Uint16 TempPIEIER = PieCtrlRegs.PIEIER1.all;
IER |= M_INT1;
IER &= MINT1; // Set "global" priority
PieCtrlRegs.PIEIER1.all &= MG11; // Set "group" priority
PieCtrlRegs.PIEACK.all = 0xFFFF; // Enable PIE interrupts
EINT;
// Insert ISR Code here.......
// Restore registers saved:
DINT;
PieCtrlRegs.PIEIER1.all = TempPIEIER;
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
#endif
// Connected to PIEIER1_2 (use MINT1 and MG12 masks):
#if (G12PL != 0)
interrupt void SEQ2INT_ISR( void ) // ADC
{
// Set interrupt priority:
volatile Uint16 TempPIEIER = PieCtrlRegs.PIEIER1.all;
IER |= M_INT1;
IER &= MINT1; // Set "global" priority
PieCtrlRegs.PIEIER1.all &= MG12; // Set "group" priority
PieCtrlRegs.PIEACK.all = 0xFFFF; // Enable PIE interrupts
EINT;
// Insert ISR Code here.......
// Restore registers saved:
DINT;
PieCtrlRegs.PIEIER1.all = TempPIEIER;
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
#endif
// Connected to
没有合适的资源?快使用搜索试试~ 我知道了~
DSP单相逆变器光伏并网程序
共134个文件
h:36个
c:22个
obj:16个
5星 · 超过95%的资源 需积分: 44 246 下载量 102 浏览量
2017-11-12
00:55:23
上传
评论 33
收藏 1.19MB ZIP 举报
温馨提示
本装置采用单相桥式DC-AC逆变电路结构,以TI公司的浮点数字信号控制器TMS320F28335 DSP为控制电路核心,采用规则采样法和DSP片内ePWM模块功能实现SPWM波。最大功率点跟踪(MPPT)采用了恒压跟踪法(CVT法)来实现,并用软件锁相环进行系统的同频、同相控制,控制灵活简单。采用DSP片内12位A/D对各模拟信号进行采集检测,简化了系统设计和成本。本装置具有良好的数字显示功能,采用CPLD自行设计驱动的4.3’’彩色液晶TFT LCD非常直观地完成了输出信号波形、频谱特性的在线实时显示,以及输入电压、电流、功率,输出电压、电流、功率,效率,频率,相位差,失真度参数的正确显示。本装置具有开机自检、输入电压欠压及输出过流保护,在过流、欠压故障排除后能自动恢复。
资源推荐
资源详情
资源评论
收起资源包目录
DSP单相逆变器光伏并网程序 (134个子文件)
DSP2833x_CodeStartBranch.asm 3KB
DSP2833x_usDelay.asm 3KB
DSP2833x_CSMPasswords.asm 3KB
DSP2833x_DisInt.asm 2KB
DSP2833x_ADC_cal.asm 1KB
DSP2833x_DBGIER.asm 887B
Example_2833xEPwmUpDownAQ.bak 2KB
DSP2833x_SWPrioritizedDefaultIsr.c 49KB
DSP2833x_DefaultIsr.c 30KB
PV_main.c 23KB
DSP2833x_DMA.c 21KB
DSP2833x_ECan.c 16KB
DSP2833x_Mcbsp.c 14KB
DSP2833x_SysCtrl.c 12KB
DSP2833x_GlobalVariableDefs.c 11KB
DSP2833x_EPwm.c 11KB
DSP2833x_SWPrioritizedPieVect.c 11KB
DSP2833x_Xintf.c 9KB
DSP2833x_ECap.c 8KB
DSP2833x_PieVect.c 7KB
DSP2833x_Sci.c 6KB
DSP2833x_EQep.c 6KB
DSP2833x_Spi.c 4KB
DSP2833x_CpuTimers.c 4KB
DSP2833x_Gpio.c 3KB
DSP2833x_I2C.c 3KB
DSP2833x_PieCtrl.c 3KB
DSP2833x_Adc.c 2KB
DSP2833x_MemCopy.c 1KB
SYMBOL.CDX 347KB
SYMBOL.CDX 346KB
FILE.CDX 3KB
FILE.CDX 3KB
F28335.cmd 9KB
F28334.cmd 9KB
F28332.cmd 9KB
DSP2833x_Headers_BIOS.cmd 8KB
DSP2833x_Headers_nonBIOS.cmd 8KB
28334_RAM_lnk.cmd 7KB
28335_RAM_lnk.cmd 7KB
28332_RAM_lnk.cmd 7KB
SYMBOL.DBF 243KB
SYMBOL.DBF 240KB
FILE.DBF 2KB
FILE.DBF 2KB
SYMBOL.FPT 413KB
SYMBOL.FPT 410KB
FILE.FPT 3KB
FILE.FPT 3KB
f28335.gel 118KB
f28334.gel 118KB
f28235.gel 117KB
f28234.gel 117KB
f28332.gel 113KB
f28232.gel 112KB
f28335.gel 22KB
f28334.gel 22KB
f28235.gel 22KB
f28234.gel 22KB
f28332.gel 21KB
f28232.gel 21KB
DSP2833x_DualMap_EPWM.gel 10KB
DSP2833x_Peripheral.gel 6KB
Example_2833xEPwmUpDownAQ.gel 1KB
IQmathCPP.h 255KB
IQmathLib.h 148KB
DSP2833x_SWPrioritizedIsrLevels.h 142KB
Cover.h 60KB
DSP2833x_ECan.h 44KB
DSP2833x_Mcbsp.h 31KB
DSP2833x_EPwm.h 16KB
DSP2833x_Gpio.h 15KB
DSP2833x_DMA.h 14KB
DSP2833x_SysCtrl.h 13KB
DSP2833x_Adc.h 10KB
DSP2833x_EQep.h 10KB
TFT.h 9KB
DSP2833x_GlobalPrototypes.h 8KB
DSP2833x_Sci.h 8KB
TFT2.h 8KB
DSP2833x_I2c.h 7KB
DSP2833x_PieVect.h 6KB
DSP2833x_DefaultIsr.h 6KB
DSP2833x_Spi.h 6KB
DSP2833x_ECap.h 6KB
DSP2833x_Device.h 6KB
DSP2833x_PieCtrl.h 6KB
DSP2833x_CpuTimers.h 6KB
DSP2833x_Examples.h 5KB
FFT.h 4KB
DSP2833x_I2c_defines.h 4KB
DSP2833x_EPwm_defines.h 4KB
DSP2833x_Xintf.h 4KB
SFO_V5.h 3KB
DSP2833x_DevEmu.h 3KB
DSP2833x_XIntrupt.h 2KB
SFO.h 2KB
DSP2833x_Dma_defines.h 2KB
SPWM.h 2KB
DSP28x_Project.h 767B
共 134 条
- 1
- 2
资源评论
- zzzzzzBIUBIU2017-12-05写的不错哦~支持一下
- sjlong2018-07-20下载后不能正常使用.
- cdf1111112018-01-20棒,谢谢非常棒
hupengpeng2019
- 粉丝: 8
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功