主题中讨论的其他器件: UCD3138、 UCD3138064
工具/软件:Code Composer Studio
大家好、我最近购买了此评估板 UCD3138A64OEVM-662。 从用户指南开始、我下载并安装了 Fusion 软件和 CCS 9.0.1。 本指南 提示 CCS V5中的固件下载和培训项目。 从何处可以获取此评估 套件的固件和培训项目? 谢谢你
Bobby。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
大家好、我最近购买了此评估板 UCD3138A64OEVM-662。 从用户指南开始、我下载并安装了 Fusion 软件和 CCS 9.0.1。 本指南 提示 CCS V5中的固件下载和培训项目。 从何处可以获取此评估 套件的固件和培训项目? 谢谢你
Bobby。
我建议您使用 CCS 6.2。 您应该可以从此处下载:
https://software-dl.ti.com/ccs/esd/documents/ccs_downloads.html
我假设您参考此处的培训系列:
https://training.ti.com/ucd3138-digital-power-training-series
上一页提供了指向这些程序的链接。
其中包括:
首先、我建议不要写入校验和、以免锁定器件。
还有一些其他代码可避免锁定器件。 它位于 main 中:
//将引脚 FAULT3接地以实现正常运行
//将引脚 FAULT3连接到3.3V 以清除校验和
if (GioRegs.FAULTIN.bit.FLT3_IN = 1)
{
clear_integration_word_();
}
希望这是发生的事情。 如果将故障3引脚接地、则应该能够运行代码。
您应该能够在 ROM 模式下搜索器件并找到它。
以下是 main.c 代码:
//######################################################################################################################
//
//文件:main.c
//
//标题:main
//
//注释:
// 1)
//######################################################################################################################
//
// Ver| dd mmm yyyy | WER |更改说明
//=== =================== =========== ================================================================================================
// 1.00 | 2015年5月5日| CH |
//
// Texas Instruments、Inc
//版权所有德州仪器2008。 保留所有权利。
//######################################################################################################################
#define main 1.
#include "system_defines.h"
#include "Cyclon_Device.h"
#include "PMBus_commands.h"
#include "PMBus_common.h"
#include "PMBus_topology.h"
#include "variables.h"
#include "functions.h"
#include "software_interrupts.h"
#include "cyclone_defination.h"
#include "stdio.h"
void main()
{
//启用 JTAG
杂项 AnalogRegs.IOMUX.ALL = 0;
///-------------------------------------------------------
//重要:阅读下面的内容,否则代码可能无法正确执行
///-------------------------------------------------------
//将引脚 FAULT3接地以实现正常运行
//将引脚 FAULT3连接到3.3V 以清除校验和
if (GioRegs.FAULTIN.bit.FLT3_IN = 1)
{
clear_integration_word_();
}
#IF (UCD3138|UCD3138064)
杂项 AnalogRegs.CLKTRIM.bit.HFO_LN_FILTER_EN = 0;
杂散 AnalogRegs.CSTRIM.bit.ITARM_TRIM =23;//28;
#endif
init_PMBus (0x58);//初始化 PMBus 处理程序
strcpy (a_string、"Hello World");
for (;;)
{
PMBus_handler ();
}
}
//#pragma 中断(c_int00、复位)
void c_int00 (void)
{
main();
}