资源简介
TMS320F28335例程,内容丰富,满足入门级学习需要,并且还有清晰的注释,方便学习
代码片段和文件信息
// TI File $Revision: /main/4 $
// Checkin $Date: July 30 2007 14:15:53 $
//###########################################################################
//
// FILE: DSP2833x_Adc.c
//
// title: DSP2833x ADC Initialization & Support Functions.
//
//###########################################################################
// $TI Release: DSP2833x Header Files V1.01 $
// $Release Date: September 26 2007 $
//###########################################################################
#include “DSP2833x_Device.h“ // DSP2833x Headerfile Include File
#include “DSP2833x_Examples.h“ // DSP2833x Examples Include File
#define ADC_usDELAY 5000L
//---------------------------------------------------------------------------
// InitAdc:
//---------------------------------------------------------------------------
// This function initializes ADC to a known state.
//
void InitAdc(void)
{
extern void DSP28x_usDelay(Uint32 Count);
// *IMPORTANT*
// The ADC_cal function which copies the ADC calibration values from TI reserved
// OTP into the ADCREFSEL and ADCOFFTRIM registers occurs automatically in the
// Boot ROM. If the boot ROM code is bypassed during the debug process the
// following function MUST be called for the ADC to function according
// to specification. The clocks to the ADC MUST be enabled before calling this
// function.
// See the device data manual and/or the ADC Reference
// Manual for more information.
EALLOW;
SysCtrlRegs.PCLKCR0.bit.ADCENCLK = 1;
ADC_cal();
EDIS;
// To powerup the ADC the ADCENCLK bit should be set first to enable
// clocks followed by powering up the bandgap reference circuitry and ADC core.
// Before the first conversion is performed a 5ms delay must be observed
// after power up to give all analog circuits time to power up and settle
// Please note that for the delay function below to operate correctly the
// CPU_CLOCK_SPEED define statement in the DSP2833x_Examples.h file must
// contain the correct CPU clock period in nanoseconds.
AdcRegs.ADCTRL3.all = 0x00E0; // Power up bandgap/reference/ADC circuits/顺序采样
DELAY_US(ADC_usDELAY); // Delay before converting ADC channels
}
//===========================================================================
// End of file.
//===========================================================================
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-01-17 10:09 POP28335_CODE\
目录 0 2017-01-17 10:09 POP28335_CODE\DSP2833x_common\
目录 0 2017-01-17 10:09 POP28335_CODE\DSP2833x_common\cmd\
文件 7281 2008-07-28 09:29 POP28335_CODE\DSP2833x_common\cmd\28332_RAM_lnk.cmd
文件 7484 2008-07-28 09:29 POP28335_CODE\DSP2833x_common\cmd\28334_RAM_lnk.cmd
文件 6955 2013-10-31 06:37 POP28335_CODE\DSP2833x_common\cmd\28335_RAM_lnk.cmd
文件 8985 2008-07-28 09:29 POP28335_CODE\DSP2833x_common\cmd\F28332.cmd
文件 9561 2008-07-28 09:29 POP28335_CODE\DSP2833x_common\cmd\F28334.cmd
文件 9033 2007-11-22 11:37 POP28335_CODE\DSP2833x_common\cmd\F28335.cmd
目录 0 2017-01-17 10:09 POP28335_CODE\DSP2833x_common\gel\
文件 115426 2008-05-30 14:12 POP28335_CODE\DSP2833x_common\gel\f28232.gel
文件 120003 2008-05-30 14:12 POP28335_CODE\DSP2833x_common\gel\f28234.gel
文件 120104 2008-05-30 14:11 POP28335_CODE\DSP2833x_common\gel\f28235.gel
文件 116072 2008-05-30 14:10 POP28335_CODE\DSP2833x_common\gel\f28332.gel
文件 120645 2008-05-30 14:10 POP28335_CODE\DSP2833x_common\gel\f28334.gel
文件 122858 2007-09-26 13:21 POP28335_CODE\DSP2833x_common\gel\f28335.gel
目录 0 2017-01-17 10:09 POP28335_CODE\DSP2833x_common\include\
文件 6315 2007-09-26 10:23 POP28335_CODE\DSP2833x_common\include\DSP2833x_DefaultIsr.h
文件 1993 2007-09-26 10:23 POP28335_CODE\DSP2833x_common\include\DSP2833x_Dma_defines.h
文件 3988 2007-09-26 10:23 POP28335_CODE\DSP2833x_common\include\DSP2833x_EPwm_defines.h
文件 5553 2018-03-31 17:19 POP28335_CODE\DSP2833x_common\include\DSP2833x_Examples.h
文件 8421 2013-11-24 18:14 POP28335_CODE\DSP2833x_common\include\DSP2833x_GlobalPrototypes.h
文件 4063 2007-12-03 15:45 POP28335_CODE\DSP2833x_common\include\DSP2833x_I2c_defines.h
文件 720 2007-09-26 10:23 POP28335_CODE\DSP2833x_common\include\DSP2833x_Project.h
文件 145083 2007-09-26 10:23 POP28335_CODE\DSP2833x_common\include\DSP2833x_SWPrioritizedIsrLevels.h
文件 761 2008-07-28 09:29 POP28335_CODE\DSP2833x_common\include\DSP28x_Project.h
文件 125877 2007-04-13 17:04 POP28335_CODE\DSP2833x_common\include\IQmathLib.h
文件 1576 2013-01-12 13:27 POP28335_CODE\DSP2833x_common\include\LED.h
文件 2056 2007-05-01 12:57 POP28335_CODE\DSP2833x_common\include\SFO.h
文件 2993 2007-06-26 14:05 POP28335_CODE\DSP2833x_common\include\SFO_V5.h
目录 0 2017-01-17 10:09 POP28335_CODE\DSP2833x_common\lib\
............此处省略1384个文件信息
- 上一篇:ssh作业管理系统完整源码
- 下一篇:贴片电容封装库AD 带3D预览
相关资源
- 手把手教你学dsp PDF
- Springer DSP Architecture Essentials
- 手把手教你学DSP 基于TMS320X281X光盘资
- Digital signal processing Proakis
- TI DSP BIOS用户手册与驱动开发完整版
- DSP程序在线升级
- 通信接收机:DSP,软件无线电和设计
- TMS320DSP算法标准.pdf
- 3560-root-ZL-191112-ota-ymqn.zip
- DSP28335开发攻略.pdf
- 《手把手教你学DSP》配套光盘资料
- stm32f4xx_dsp_stdperiph_lib_um库函数手册
- Altium原理图库,主要是DSP的SCH
- 电动机的DSP控制-TI公司DSP应用(第2版
- TMS320C6000系列DSP编程工具与指南.pdf
- 6678多核图像处理
- 《手把手教你学dsp2812》顾卫刚.PDF
- 现代数字信号处理参考书书及课件
- DSP28335-步进电机
- 2802x Piccolo系列DSC原理及应用指南.pd
- TMS320F28377S_ADC中文技术手册.rar
- TMS320C6000系列DSPs原理与应用(第二版
- 基于DSP和双向Z源逆变器的纯电动汽车
- DSP算法应用与设计.pdf
- TMS320C6000系列DSPs原理与应用(第二版
- 创龙DSP C6748核心板源程序全
- 《TMS320C54×DSP原理及应用第2版》_130
- 研旭DSP开发板使用说明
- 《TMS320F28335 DSP 原理、開發及應用》隨
- TI DSP-BIOS用户手册与驱动开发完整
评论
共有 条评论