TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F28377S: VREGENZ拉Low問題

Li Robert阅读(220)

Part Number:TMS320F28377S

您好,請問 F28377S VREGENZ 若是拉Low並供電給VDDIO 會發生什麼事?
(因有產品電路圖此腳拉Low)

datasheet:

Internal voltage regulator enable with internal pulldown. The internal VREG is not supported and must be disabled. Connect VREGENZ to VDDIO.
翻譯

原文重點拆解:

"Internal voltage regulator enable with internal pulldown."
→ 「內部電壓調節器啟用腳位(VREGENZ)具有內部下拉電阻」
→ 也就是說這個腳位**預設是拉低(Low)**的。

"The internal VREG is not supported and must be disabled."
→ 這款晶片不支援內部電壓調節器,必須停用(disabled)

"Connect VREGENZ to VDDIO."
→請將 VREGENZ 腳位接到 VDDIO(高電位),也就是拉高(High)。

Alice:

您好,

VREGENZ在芯片内部有下拉,默认使能internal voltage regulator。

将VREGENZ连接到 VDDIO,禁止internal voltage regulator。

Li Robert 说:VREGENZ 若是拉Low並供電給VDDIO

     没理解这句话的意思。

,

Li Robert:

晶片若是直接用內部REG,且此腳接地,沒有外部提供1.2V,會發生甚麼事嗎?

,

Li Robert:

VREGENZ 若是拉Low並供電給VDDIO <=我弄錯,是說沒支援卻使用會怎樣

,

Alice:

您好,      

      VREGENZ是内部VREG的使能输入脚,不是电源输出脚。

Alice 说:

VREGENZ在芯片内部有下拉,默认使能internal voltage regulator。

将VREGENZ连接到 VDDIO,禁止internal voltage regulator。

,

Li Robert:

是的因為說明書上寫 The internal VREG is Not Supported,但我們有直接使用。也就是 VREGENZ下拉到地,且VDDIO沒有外部提供電源 只有bypass電容,請問會有後遺症嗎?

,

Alice:

您好,

     VDDIO是芯片的电源脚,需供电3.3V(数据手册6.9.1 Power Sequencing). 

     对于此芯片,VDD需由外部1.2V供电,VREGENZ接VDDIO。

,

Li Robert:

好的~因為已在使用VREGENZ接地,VDD外部不供電,用了一陣子,最近才注意到手冊上不支援。

了解,謝謝

TMS320F28379D: 导入例程出现故障Description Resource Path Location Type gmake: *** [gridconnectedinvlclfltr.obj] Error 1 gridConnectedInverterLCLFltr C/C++ Problem

tong yanan阅读(957)

Part Number:TMS320F28379DOther Parts Discussed in Thread:CONTROLSUITE, SFRA

故障详情:
**** Build of configuration F2837x_RAM for project gridConnectedInverterLCLFltr ****

"C:\\ti\\ccs1260\\ccs\\utils\\bin\\gmake" -k allBuilding file: "../F2837xD_CodeStartBranch.asm"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="F2837xD_CodeStartBranch.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../F2837xD_CodeStartBranch.asm"
Finished building: "../F2837xD_CodeStartBranch.asm"
Building file: "../F2837xD_CpuTimers.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="F2837xD_CpuTimers.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../F2837xD_CpuTimers.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'F2837xD_CpuTimers.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../F2837xD_CpuTimers.c".
Compilation terminated.
gmake: *** [F2837xD_CpuTimers.obj] Error 1
Building file: "../F2837xD_DefaultISR.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="F2837xD_DefaultISR.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../F2837xD_DefaultISR.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'F2837xD_DefaultISR.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../F2837xD_DefaultISR.c".
Compilation terminated.
gmake: *** [F2837xD_DefaultISR.obj] Error 1
Building file: "../F2837xD_EPwm.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="F2837xD_EPwm.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../F2837xD_EPwm.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'F2837xD_EPwm.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../F2837xD_EPwm.c".
Compilation terminated.
gmake: *** [F2837xD_EPwm.obj] Error 1
Building file: "../F2837xD_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="F2837xD_GlobalVariableDefs.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../F2837xD_GlobalVariableDefs.c"
>> Compilation failure
subdir_rules.mk:23: recipe for target 'F2837xD_GlobalVariableDefs.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../F2837xD_GlobalVariableDefs.c".
Compilation terminated.
gmake: *** [F2837xD_GlobalVariableDefs.obj] Error 1
Building file: "../F2837xD_Gpio.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="F2837xD_Gpio.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../F2837xD_Gpio.c"
>> Compilation failure
subdir_rules.mk:30: recipe for target 'F2837xD_Gpio.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../F2837xD_Gpio.c".
Compilation terminated.
gmake: *** [F2837xD_Gpio.obj] Error 1
Building file: "../F2837xD_PieCtrl.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="F2837xD_PieCtrl.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../F2837xD_PieCtrl.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'F2837xD_PieCtrl.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../F2837xD_PieCtrl.c".
Compilation terminated.
gmake: *** [F2837xD_PieCtrl.obj] Error 1
Building file: "../F2837xD_PieVect.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="F2837xD_PieVect.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../F2837xD_PieVect.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'F2837xD_PieVect.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../F2837xD_PieVect.c".
Compilation terminated.
gmake: *** [F2837xD_PieVect.obj] Error 1
Building file: "../F2837xD_SysCtrl.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="F2837xD_SysCtrl.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../F2837xD_SysCtrl.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'F2837xD_SysCtrl.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../F2837xD_SysCtrl.c".
Compilation terminated.
gmake: *** [F2837xD_SysCtrl.obj] Error 1
Building file: "../F2837xD_sdfm_drivers.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="F2837xD_sdfm_drivers.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../F2837xD_sdfm_drivers.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'F2837xD_sdfm_drivers.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../F2837xD_sdfm_drivers.c".
Compilation terminated.
gmake: *** [F2837xD_sdfm_drivers.obj] Error 1
Building file: "../F2837xD_usDelay.asm"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="F2837xD_usDelay.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../F2837xD_usDelay.asm"
Finished building: "../F2837xD_usDelay.asm"
Building file: "../gridconnectedinvlclfltr.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="gridconnectedinvlclfltr.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../gridconnectedinvlclfltr.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'gridconnectedinvlclfltr.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../gridconnectedinvlclfltr.c".
Compilation terminated.
gmake: *** [gridconnectedinvlclfltr.obj] Error 1
Building file: "../hv1phdcac_board.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="hv1phdcac_board.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../hv1phdcac_board.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'hv1phdcac_board.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../hv1phdcac_board.c".
Compilation terminated.
gmake: *** [hv1phdcac_board.obj] Error 1
Building file: "../scicommsgui_32bit.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="scicommsgui_32bit.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../scicommsgui_32bit.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'scicommsgui_32bit.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../scicommsgui_32bit.c".
Compilation terminated.
gmake: *** [scicommsgui_32bit.obj] Error 1
Building file: "../sineAnalyzerWithPowerMeas.c"
Invoking: C2000 Compiler
"D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla0 -O2 –opt_for_speed=5 –fp_mode=relaxed –preinclude="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include" –preinclude="C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include" –preinclude="C:/ti/controlSUITE/libs/math/IQmath/v160/include" –preinclude="C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include" –include_path="D:/program/2_TD_CODE/Ship_HJC/ti-cgt-c2000_18.12.2.LTS/include" -g –define="_DEBUG" –define="F28x_DEVICE" –define="CPU1" –define="LARGE_MODEL" –quiet –diag_warning=225 -k –asm_listing –preproc_with_compile –preproc_dependency="sineAnalyzerWithPowerMeas.d_raw" –tmu_support=tmu0 –cmd_file="configPkg/compiler.opt" "../sineAnalyzerWithPowerMeas.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'sineAnalyzerWithPowerMeas.obj' failed
Command-line error: cannot open source file "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include": Invalid argument
1 catastrophic error detected in the compilation of "../sineAnalyzerWithPowerMeas.c".
Compilation terminated.
gmake: *** [sineAnalyzerWithPowerMeas.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

include options:

请教该如何解决

Eirwen:

已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

Vivian Gao:

Looks like the file system is not able to find some project references file system. Can you navigate to the resource menu in the project properties. Please look through the references and resources, if there are any with a warning icon, that indicates the reference is not found so will need to be manually filled in. Have any edits been made to the project?

TMS320F28035: 尝试把用汇编语言编写的中断函数封装成.lib库过程中,编译时出现structure/union tag can't be global的提示错误/During the process of attempting to encapsulate interrupt functions written in assembly language into the. lib library, an error message stating 'structure/union

Yongyang Liao阅读(178)

Part Number:TMS320F28035

使用CCS3.3进行函数封装,在编译时出现错误的类型和相应的structure和union详情如图所示。在有同样的头文件情况下,封装另一个C语言编写的函数代码可以封装成.lib文件。出现这种错误该如何解决/

In CCS 3.3.The types that encountered errors during compilation and the corresponding structure and union details are shown in the figure. In the case of the same header file, encapsulating another function code written in C language can be encapsulated as a. lib file. How should this error be resolved.

thanks to everybody who tries to help me. a lot of appreciation.

Daniel:

您好

已经收到了您的案例,调查需要些时间,感谢您的耐心等待

,

Yongyang Liao:

您好,还没有解决方法吗?

,

Daniel:

您好

我怀疑汇编程序不支持你想要的操作。但我不确定我是否理解你想要做什么。

请进一步说明如何在汇编语言中使用.union指令。请列出.union及其所有相关代码行。并列出一条引用联合成员的指令。目前,请忽略构建问题。假设它按预期构建并运行。请仔细、详细地描述您预期的运行方式。

,

Yongyang Liao:

是涉及了到对结构体和联合体嵌套后的结构体or联合体进行读取或赋值的操作  ,汇编中是用 该指令进行头文件的include,此头文件均为C语言编写

,

Daniel:

您好

我仍然不理解你的要求。但我几乎可以肯定汇编程序不支持它。

为了说明这一点,请根据您的第一篇文章考虑这段C代码。

#include <stdint.h>struct bits_tag {uint16_tf0 : 1;uint16_tf1 : 1;uint16_tf2 : 1;uint16_tf3 : 1;uint16_tf4 : 1;uint16_tf5 : 1;uint16_tf6 : 1;uint16_tf7 : 1;uint16_tf8 : 1;uint16_tf9 : 5;uint16_t f10 : 2;
};union reg_tag {uint16_t all;struct bits_tag bit;
};extern union reg_tag register_instance;uint16_t fxn()
{return register_instance.bit.f3;
}

Build it …

cl2000 --src_interlist file.c

选项–src_interlist使编译器保留生成的程序集文件,并将相关的C源语句作为注释插入。检查生成的file.asm。以下是函数中的关键说明。

ANDAL,@_register_instance,#0x0008 ; [CPU_ALU] |26|LSRAL,3; [CPU_ALU] |26|

第一条指令将f3的值隔离到寄存器AL中。第二条指令将其右移,这样它的值就可以被视为完整的16位无符号值。编译器根据bits_tag结构的布局生成这些指令。没有一种方法可以让汇编程序表示如此复杂的操作。

,

Yongyang Liao:

您好,该问题是出现在  封装汇编语言写的中断函数 成为.lib文件时出现的问题,当汇编语言写的中断函数作为SOURCE文件在以往正常使用的程序中编译不会出现此问题

,

Daniel:

您好

Unfortunately, that description is vague.  I don't know what it means.  Please provide an example.  Submit one of these assembly files.  Show the commands you use to build it.  Please do not use any screenshots.  Copy and paste the text of the commands.  The goal is for me to reproduce this issue, whatever it is.

TMS320F28377D: SYSBIOS HWI and CAN Interrupts

wang wang阅读(823)

Part Number:TMS320F28377D

CANIntEnable(CANB_BASE, CAN_INT_MASTER | CAN_INT_ERROR | CAN_INT_STATUS); CANGlobalIntEnable(CANB_BASE, CAN_GLB_INT_CANINT0);When the above code is used to enable CAN interrupt, the DSP code stops running.How can I solve the above problem?

Lydia:

您好,

已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

Links:

Can you explain in a bit more detail about you mean by "stops running"? Is it hanging somewhere? Is it generating an error message? If you put breakpoints in the code, can you determine a certain point at which it stops working?

,

wang wang:

ui32Status = HWREG(ui32Base + CAN_O_ES);When CAN triggers a send or receive interrupt, it is found that ui32Status is equal to 0xc08. Afterwards, CAN communication stops sending data.Thank you very much.

TMS320F280025: 在配置使用其CAN的BUSOFF测试时,针对ACK位的干扰BUSOFF功能正常,但在针对RTR位的干扰时候,无法进入BUSOFF的状态,导致BUSOFF逻辑失效

user6165063阅读(252)

Part Number:TMS320F280025

如上是bus_off测试结果;如下是底层配置代码:

//初始化配置

GPIO_setPinConfig(GPIO_30_CANA_RX);
GPIO_setPinConfig(GPIO_31_CANA_TX);
//初始化CAN模块
CAN_initModule(CANA_BASE);
//设置波特率
// CAN_setBitRate(CANA_BASE, DEVICE_SYSCLK_FREQ, 500000, 20);
CanaRegs.CAN_BTR.bit.BRPE = 0;
CanaRegs.CAN_BTR.bit.BRP = 9;
CanaRegs.CAN_BTR.bit.SJW = 3;
CanaRegs.CAN_BTR.bit.TSEG1 = 15;
CanaRegs.CAN_BTR.bit.TSEG2 = 2;

//采样点计算 = TSEG1+1+1/(TSEG1+TSEG2+3)

CAN_clearInterruptStatus(CANA_BASE, CAN_INT_INT0ID_STATUS);
CAN_enableInterrupt(CANA_BASE, CAN_INT_IE0 | CAN_INT_ERROR | CAN_INT_STATUS);

Interrupt_register(INT_CANA0, &ECAN_ISR_EX);

Interrupt_enable(INT_CANA0);

CAN_clearGlobalInterruptStatus(CANA_BASE, CAN_GLOBAL_INT_CANINT0);
CAN_enableGlobalInterrupt(CANA_BASE, CAN_GLOBAL_INT_CANINT0);

Interrupt_clearACKGroup(INTERRUPT_ACK_GROUP9);

//启动转换
CAN_startModule(CANA_BASE);

//BUS_OFF判断

void CANBUS_Ecan_isr(CANBUS_handle p)
{
uint32_t status;
status = CAN_getInterruptCause(CANA_BASE);

if(status == CAN_INT_INT0ID_STATUS)
{
status = CAN_getStatus(CANA_BASE);
TEC = CanaRegs.CAN_ERRC.bit.TEC;
REC = CanaRegs.CAN_ERRC.bit.REC;

if(((status & ~(CAN_STATUS_TXOK | CAN_STATUS_RXOK)) != 7) &&
((status & ~(CAN_STATUS_TXOK | CAN_STATUS_RXOK)) != 0))
{
p->err_flag = 1;
if(status & CAN_STATUS_BUS_OFF)
{
CAN_disableRetry(CANA_BASE);
p->Busoff_flag = 1;
p->Off_delay_cnt = 0;
}
}
else if(status & CAN_STATUS_TXOK)
{
CAN_clearInterruptStatus(CANA_BASE, TX_MSG_OBJ_ID);
p->err_flag = 0;
p->Busoff_cnt = 0;
}
}
else if(status == TX_MSG_OBJ_ID)
{
CAN_clearInterruptStatus(CANA_BASE, TX_MSG_OBJ_ID);
p->err_flag = 0;
}
else if(status < TX_MSG_OBJ_ID)
{

p->err_flag = 0;
CAN_readMessageWithID(CANA_BASE, status, &canbus.frameType, &rxMsgData.Ram_ID.all, rxMsgData.Data);

CAN_clearInterruptStatus(CANA_BASE, status);

p->Rxd_data_finish_flag = 1; //receive success

}
}

Vivian Gao:

感谢您对TI产品的关注! 关于你的咨询,我们正在确认你的问题,稍后回复您。

,

Eirwen:

请尝试参考下面两个链接:

TMS320F28035: Can't trigger BUSOFF when R0 and RTR bit are interfered – C2000 microcontrollers forum – C2000Tm︎ microcontrollers – TI E2E support forums

TMS570LS0714: TMS570 CAN BUS can't enter to BUSOFF when doing the RTR interference – Arm-based microcontrollers forum – Arm-based microcontrollers – TI E2E support forums

,

user6165063:

感谢您得回答,我这边浏览了您提供的帖子,该帖子最终并没有给出有效的解决方案,说会线下讨论交流,但后面并没有继续更新,请帮忙跟进该问题,或者提供有效的解决方案,谢谢

,

user6165063:

请问该问题还有在跟进吗

,

Eirwen:

当ACK和RTR实例发生时,是否还监视错误计数器? 每个误差都会导致误差计数器的增加,当帧正确传输/接收时,误差会减少。 如果错误计数器达到255,则总线关闭。 每种错误类型都有不同的权重。 ACK (我认为是传输错误的一部分)的权重为8个计数。 其他类型的错误计数较低。 检查错误计数器寄存器CAN_ERRC值以及遇到CAN错误时这些值的增量。 

TMS320F2800132: AIO225 PCB routing

qingyun Li阅读(176)

Part Number:TMS320F2800132

 Hello!

  I am going to use pin AIO225 as a digital port input,

  and the pin has a filter capacitor against the ground.

 I put this capacitor in the analog area of the PCB

 instead of the digital area.

Is this correct?

  Thanks!

qingyun Li:

How can I ask a question in Chinese?

,

Vivian Gao:

您直接输入中文就可以

,

Vivian Gao:

这里是中文论坛,而且我们没有太理解您的上述问题,您可以中文再描述一下。

如果您需要插入文档或者图片,可以点击“插入”

,

qingyun Li:

我使用 AIO225作为数字端口输入,

该引脚加有对地的滤波电容器,

这个电容放在PCB的模拟区还是

数字区?AIO作数字输入如何布线?

,

Vivian Gao:

您参考F2800137的PCB设计.

下方三个链接“设计文件”部分都有提供示例。

TMDSCNCD2800137 评估板 | TI.com.cn

LAUNCHXL-F2800137 开发套件 | TI.com.cn

TIDM-02010 参考设计 | 德州仪器 TI.com.cn

TMS320F28335: 通过dsp对发生电压跌落的电网电压进行采样,通过graph观察到的电压跌落时间远小于实际电压跌落时间(示波器观察到的时间),应该修改ccs或dsp的哪个设置?

ahs阅读(809)

Part Number:TMS320F28335

电压跌落设置的时间是2s,示波器观察到的确实是跌落了2s:

但ccs调试时用graph观察到的时间远小于2s:

Taylor:

您好,

已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

Daniel:

您好

请发送CCS图形设置。CCS图形功能依赖于通过JTAG通信发送图形数据,这意味着显示图形数据的带宽非常有限。

,

ahs:

 您好,我的图形设置是这样的,数组abch1和abch2的长度都是200,采样频率为10kHz。

,

Daniel:

您好

由于JTAG对这些图形外设有延迟,因此很可能是由于这种延迟导致图形与预期的采样率不匹配。请在此处列出限制

https://software-dl.ti.com/ccs/esd/documents/users_guide_12.8.0/ccs_debug-graphs.html

您可以调整采样率以更好地反映轴。请注意,X增量值基于缓冲区大小和采样率

TMS320F28075:电机控制 新手 看代码

Qing Xue Lin阅读(198)

Part Number:TMS320F28075

/**克拉克。H * * 创建日期: 2018年2月25日 */ #ifndef ABCDEFTOAlphaBetaZ1Z2_H_ #define ABCDEFTOAlphaBetaZ1Z2_H_ typedef struct { float As; // 输入:阶段 a 定子变量 float Bs; // 输入:阶段 b 定子变量 float Cs; // 输入:阶段 c 定子变量 float Ds; // 输入:阶段 d 定子变量 float Es; // 输入:阶段 e 定子变量 float Fs; // 输入:阶段 f 定子变量 float Alpha; // 输出:静止 Alpha 轴定子变量 float Beta; // 输出: 固定式 β 轴定子可变浮子 Z1;输出:固定 Z1 轴定子可变浮子 Z2;输出:固定 Z2 轴定子变量 } ABCDEFTOAlphaBetaZ1Z2;typedef ABCDEFTOAlphaBetaZ1Z2 *ABCDEFTOAlphaBetaZ1Z2_handle;/*—————————————————————————– ICLARKE 对象的默认启动器。—————————————————————————–*/ #define ABCDEFTOAlphaBetaZ1Z2_DEFAULTS { 0, \ 0, \ 0, \ 0, \ 0, \ 0, \ 0, \ 0, \ 0, \ 0, \ } /*—————————————————————————— ICLARKE 变换宏定义(恒幅值变换) ——————————————————————————*/ #define ABCDEFTOAlphaBetaZ1Z2_MACRO(v) \ \ v.Alpha = (v.As-v.Bs*0.5-v.Cs*0.5+(v.Ds-v.Es)*(float)(0.86602540378444))*0.333333333;\ v.Beta = ((v.Bs-v.Cs)*(浮点)(0.86602540378444)+v.Ds*0.5+v.Es*0.5-v.Fs)*0.333333333;\ v.Z1 = (v.As-v.Bs*0.5-v.Cs*0.5+(v.Es-v.Ds)*(浮点)(0.86602540378444)))*0.333333333;\ v.Z2 = ((v.Cs-v.Bs)*(浮点数)(0.86602540378444)+v.Ds*0.5+v.Es*0.5-v.Fs)*0.333333333;1/sqrt(3) = 0.57735026918963,sqrt(3)/2=0.86602540378444 #endif /* CLARKE_H_ */

这段代码中的z1,z2代指什么,在电机中有什么作用呀

Taylor:

您好,

已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

Daniel:

您好

您方便截图吗?您如此粘贴,无法查看您目标位置代码。

TMS320F280039C: tidm_02012_ecompressor_f28003x

wenjie zhong阅读(795)

Part Number:TMS320F280039COther Parts Discussed in Thread:C2000WARE

我使用例程tidm_02012_ecompressor_f28003x,发现例程中在__interrupt void motor1CtrlISR(void)中断函数里的EST_run(obj->estHandle, &obj->estInputData, &obj->estOutputData);计算有问题是什么原因,Input和Output如下图所示,明明输入的母线电压是24v,但是输出的母线电压的倒数就变成31415了,这是怎么导致的,我并未修改例程的内容,sdk版本是C2000Ware_MotorControl_SDK_5_03_00_00

Taylor:

您好,

已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

TMS320F28069: SFRA库给出的扰动信号有误!

阅读(859)

Part Number:TMS320F28069Other Parts Discussed in Thread:SFRA

这个图片里的信号是0.2直流基准再通过SFRA注入0.05交流扰动的信号图,看着很不正常,扫描出来的bode图也不太对。

怀疑是扰动信号的问题,请问这个信号正常吗?不正常的话,可能是什么原因造成的?感谢!

Taylor:

您好,

已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

? ?:

感谢你的关注与回复,我已解决该问题,是移植工程时CMD文件配置的问题,导致查询sin表的地址不对,所以只有一半波形正确另一半波形溢出了。感谢。

,

? ?:

目前,关于GUI有一点疑问,再进行SFRA时,通过文档得知,可以通过闭环系统扫描得到开环频率响应曲线,那么GUI是如何通过闭环的响应得到的OpenLoop的响应图的?这是GUI进行处理了吗?

,

Vivian Gao:

SFRA(软件频率响应分析)算法通过注入小信号幅度并提取频率范围内的开环幅度和相位数据来工作。这使得能够估计系统的传递函数H(s)=y/u。此外,使用收集到的r、y和u的数据阵列,该算法可以计算出整个植物的大小和相位。这些参数对于生成波特图至关重要。

然后,GUI将收集计算数据,并用于绘制开环和闭环系统的频率响应分析图。

© 2026 TI中文支持网   网站地图 鲁ICP备2022002796号-1