资源简介
28335结合AD采样的svpwm实现..

代码片段和文件信息
//###########################################################################
//
// FILE: DSP281x_Adc.c
//
// title: DSP281x ADC Initialization & Support Functions.
//
//###########################################################################
//
// Ver | dd mmm yyyy | Who | Description of changes
// =====|=============|======|===============================================
// 1.00| 11 Sep 2003 | L.H. | Changes since previous version (v.58 Alpha)
// | | | ADC_usDELAY changed from 5000L to 8000L
//###########################################################################
#include “DSP281x_Device.h“ // DSP281x Headerfile Include File
#include “DSP281x_Examples.h“ // DSP281x Examples Include File
#define ADC_usDELAY 8000L
#define ADC_usDELAY2 20L
//---------------------------------------------------------------------------
// InitAdc:
//---------------------------------------------------------------------------
// This function initializes ADC to a known state.
//
void InitAdc(void)
{
extern void DSP28x_usDelay(Uint32 Count);
// To powerup the ADC the ADCENCLK bit should be set first to enable
// clocks followed by powering up the bandgap and reference circuitry.
// After a 5ms delay the rest of the ADC can be powered up. After ADC
// powerup another 20us delay is required before performing the first
// ADC conversion. Please note that for the delay function below to
// operate correctly the CPU_CLOCK_SPEED define statement in the
// DSP28_Examples.h file must contain the correct CPU clock period in
// nanoseconds. For example:
AdcRegs.ADCTRL3.bit.ADCBGRFDN = 0x3; // Power up bandgap/reference circuitry
DELAY_US(ADC_usDELAY); // Delay before powering up rest of ADC
AdcRegs.ADCTRL3.bit.ADCPWDN = 1; // Power up rest of ADC
DELAY_US(ADC_usDELAY2); // Delay after powering up ADC
}
//===========================================================================
// No more.
//===========================================================================
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2010-08-02 00:48 svpwm\
文件 325 2007-05-28 16:55 svpwm\cc_build_Debug.log
目录 0 2010-08-02 00:48 svpwm\Debug\
文件 594 2007-05-28 16:55 svpwm\Debug.lkf
文件 594 2007-05-28 16:55 svpwm\Debug.lkv
文件 11724 2007-05-28 16:04 svpwm\Debug\DSP281x_DefaultIsr.obj
文件 144817 2007-05-28 16:04 svpwm\Debug\DSP281x_GlobalVariableDefs.obj
文件 4553 2007-05-28 16:04 svpwm\Debug\DSP281x_PieCtrl.obj
文件 13585 2007-05-28 16:04 svpwm\Debug\DSP281x_PieVect.obj
文件 30087 2007-05-28 16:55 svpwm\Debug\main.obj
文件 16804 2007-05-28 16:55 svpwm\Debug\test5.map
文件 168632 2007-05-28 16:55 svpwm\Debug\test5.out
文件 2137 2003-09-11 10:47 svpwm\DSP281x_Adc.c
文件 8751 2003-09-11 10:54 svpwm\DSP281x_Adc.h
文件 2177 2003-09-11 10:48 svpwm\DSP281x_CodeStartBranch.asm
文件 4665 2003-09-11 10:47 svpwm\DSP281x_CpuTimers.c
文件 5935 2003-09-11 10:53 svpwm\DSP281x_CpuTimers.h
文件 2481 2003-09-11 10:48 svpwm\DSP281x_CSMPasswords.asm
文件 898 2003-09-11 10:47 svpwm\DSP281x_DBGIER.asm
文件 25791 2003-09-11 10:47 svpwm\DSP281x_DefaultIsr.c
文件 4940 2003-09-11 10:53 svpwm\DSP281x_DefaultIsr.h
文件 2956 2003-09-11 10:53 svpwm\DSP281x_DevEmu.h
文件 4615 2003-09-11 10:53 svpwm\DSP281x_Device.h
文件 5999 2003-09-11 10:55 svpwm\DSP281x_ECan.c
文件 47803 2003-09-11 10:54 svpwm\DSP281x_ECan.h
文件 1120 2003-09-11 10:46 svpwm\DSP281x_Ev.c
文件 24830 2003-09-11 10:53 svpwm\DSP281x_Ev.h
文件 3525 2003-09-11 10:35 svpwm\DSP281x_Examples.h
文件 2374 2003-09-11 10:35 svpwm\DSP281x_GlobalPrototypes.h
文件 6980 2003-09-11 10:55 svpwm\DSP281x_GlobalVariableDefs.c
文件 1715 2003-09-11 10:46 svpwm\DSP281x_Gpio.c
............此处省略38个文件信息
- 上一篇:影院管理系统
- 下一篇:饭客网络免杀木马捆绑器
相关资源
- F28335无刷直流电机开闭环控制
- 28335CAN调试程序
- DSP28335程序片内FLASH搬运至RAM运行的
- 28335写的用spi读取传感器数据并用CA
- 基于DSP的SVPWM变频调速系统
- 基于FPGA的SVPWM实现方法
- SVPWM的原理及法则推导和控制算法详解
- 28335控制的直流电机程序
- ICETEK-F28335-A评估板及教学实验箱实验
- 基于DSP28335的直流电机闭环调速
- 三电平逆变器SVPWM控制
- TMS320F28335系列头文件、库文件、cmd等
- st5.0库说明 foc pmsm
- 永磁同步电机无位置传感器DSP28335代码
- TI-tms320f28335中文数据手册
- SVPWM输出程序
- 三电平SVPWM算法研究及仿真
- 28335设计参考
- TMS320F28335全套开发例程 TMS320F28335全套
- DSP原理及应用考试试题28335
- 基于28335的电机FOC控制
- TIDSP28335CAN中文使用手册.pdf
- DSP完成APF源代码
- 基于TMS320F28335的超声波流量计.rar
- 风电及光伏智能电网设计包含光伏电
- 讲解SVPWM说明
- DSP28335的PMSM的SVPWM电机代码
- dsp28335各外设
- SVG_APF_28335源代码,正常编译
- DSP28335串口二阶BOOT源码
评论
共有 条评论