C:\ti\controlSUITE\libs\app_libs\digital_power\f28x7x_v1.0
编译后,有错误!
是不是不适用于 TMS320F28377D?
C2000Ware 中,好像打不到 digital_power 对应的库。
谢谢 解答!!
错误如下
PWM_ComplPairDB_Cnf.c
(*ePWM[n]).DBRED = 0;
(*ePWM[n]).DBFED = 0;
Description Resource Path Location Type
#515 a value of type "int" cannot be assigned to an entity of type "union DBRED_REG" PWM_BuckBoost_Cnf.c /TMS320F2837XD_LLC/source/bsp/digital_power/f28x7x_v1.0/CNF line 96 C/C++ Problem
这是个结构体,不能直接赋值。
这只是其中的一个错误。
Susan Yang:关于controlSUITE内该lib的使用,请您参考默认路径下的文档
C:\ti\controlSUITE\libs\app_libs\digital_power\f28x7x_v1.0\Doc
另外您也可以使用适用于 C2000 MCU 的 DigitalPower 软件开发套件 (SDK)
www.ti.com.cn/…/C2000WARE-DIGITALPOWER-SDK