3kW数字LLC原理图及源代码


3kw数字LLC原理图和源代码,内容完整。基于DSP2802x平台开发,
资源截图
代码片段和文件信息
//----------------------------------------------------------------------------------
//
// FILE: {ProjectName}-DevInit_F2803x.c
//
// DEscriptION: Device initialization for F2803x series
// 
//----------------------------------------------------------------------------------
//  Copyright Texas Instruments ?2010
//----------------------------------------------------------------------------------
//  Revision History:
//----------------------------------------------------------------------------------
//  Date   | Description / Status
//----------------------------------------------------------------------------------
// 29 Jun 2010 | MB 
//----------------------------------------------------------------------------------
#include “PeripheralHeaderIncludes.h“

// Functions that will be run from RAM need to be assigned to
// a different section.  This section will then be mapped to a load and
// run address using the linker cmd file.
#pragma CODE_SECTION(InitFlash “ramfuncs“);
#define Device_cal (void   (*)(void))0x3D7C80

void DeviceInit(void);
void PieCntlInit(void);
void PieVectTableInit(void);
void WDogDisable(void);
void PLLset(Uint16);
void ISR_ILLEGAL(void);

//--------------------------------------------------------------------
//  Configure Device for target Application Here
//--------------------------------------------------------------------
void DeviceInit(void)
{
WDogDisable();  // Disable the watchdog initially
DINT; // Global Disable all Interrupts
IER = 0x0000; // Disable CPU interrupts
IFR = 0x0000; // Clear all CPU interrupt flags


// The Device_cal function which copies the ADC & oscillator calibration values
// from TI reserved OTP into the appropriate trim 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 and oscillators to function according
// to specification.
EALLOW;
SysCtrlRegs.PCLKCR0.bit.ADCENCLK = 1; // Enable ADC peripheral clock
(*Device_cal)();   // Auto-calibrate from TI OTP
SysCtrlRegs.PCLKCR0.bit.ADCENCLK = 0; // Return ADC clock to original state
EDIS;


// Switch to Internal Oscillator 1 and turn off all other clock
// sources to minimize power consumption
EALLOW;
SysCtrlRegs.CLKCTL.bit.INTOSC1OFF = 0;
    SysCtrlRegs.CLKCTL.bit.OSCCLKSRCSEL=0;  // Clk Src = INTOSC1
SysCtrlRegs.CLKCTL.bit.XCLKINOFF=1;     // Turn off XCLKIN
SysCtrlRegs.CLKCTL.bit.XTALOSCOFF=1;    // Turn off XTALOSC
SysCtrlRegs.CLKCTL.bit.INTOSC2OFF=1;    // Turn off INTOSC2
    EDIS;


// SYSTEM CLOCK speed based on internal oscillator = 10 MHz
// 0xC =  60 MHz (12)
// 0xB =  55 MHz (11)
// 0xA =  50 MHz (10)
// 0x9 =  45 MHz (9)
// 0x8 =  40 MHz (8)
// 0x7 =  35 MHz (7)
// 0x6 =  30 MHz (6)
// 0x5 =  25 MHz (5)
// 0x4 =  20 MHz (4)
// 0x3 =  15 MHz (3)
// 0x2 =  10 MHz (2)

PLLset(0xC); // choose from options above

//

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      90389  2017-04-26 09:38  3KW数字LLC源代码HVLLC-PCB[R3].pdf

     文件      79408  2017-04-26 09:38  3KW数字LLC源代码HVLLC-SCH[R3].pdf

     文件        324  2017-04-26 09:38  3KW数字LLC源代码LLC.ccsproject

     文件       6331  2017-04-26 09:38  3KW数字LLC源代码LLC.cdtbuild

     文件        677  2017-04-26 09:38  3KW数字LLC源代码LLC.cdtproject

     文件       3640  2017-04-26 09:38  3KW数字LLC源代码LLC.launchesHVLLC.launch

     文件       2501  2017-04-26 09:38  3KW数字LLC源代码LLC.project

     文件        982  2017-04-26 09:38  3KW数字LLC源代码LLC.settingsorg.eclipse.cdt.managedbuilder.core.prefs

     文件        137  2017-04-26 09:38  3KW数字LLC源代码LLC.settingsorg.eclipse.ltk.core.refactoring.prefs

     文件       8830  2017-04-26 09:38  3KW数字LLC源代码LLCF28027_FLASH_HVLLC.CMD

     文件      20426  2017-04-26 09:38  3KW数字LLC源代码LLCHVLLC-DevInit_F2802x.c

     文件       6693  2017-04-26 09:38  3KW数字LLC源代码LLCHVLLC-DPL-ISR.asm

     文件      32923  2017-04-26 09:38  3KW数字LLC源代码LLCHVLLC-Main.c

     文件       2701  2017-04-26 09:38  3KW数字LLC源代码LLCHVLLC-Settings.h

     文件        299  2017-04-26 09:38  3KW数字LLC源代码LLCmacros.ini

     文件     435350  2017-04-26 09:38  3KW数字LLC源代码zhca520.pdf

     文件    1034697  2017-04-26 09:38  3KW数字LLC源代码zhca540.pdf

     目录          0  2017-12-08 13:38  3KW数字LLC源代码LLC.launches

     目录          0  2017-12-08 13:38  3KW数字LLC源代码LLC.settings

     目录          0  2017-12-08 13:38  3KW数字LLC源代码LLC

     目录          0  2017-12-08 13:38  3KW数字LLC源代码

----------- ---------  ---------- -----  ----

              1726308                    21


版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)