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.

CCS/TMDSCNCD28379D: Unable to compile and RUN IDDK_PM_Servo_F2837x program

Part Number: TMDSCNCD28379D
Other Parts Discussed in Thread: CONTROLSUITE, INSTASPIN-BLDC

Tool/software: Code Composer Studio

Hello,

  I recently purchased Industrial Drive Kit -  IDDK{R2.2.1] with TMDSCNCD28379D controller. I imported the project IDDK_PM_Servo_F2837x and i got the following error:

J1 and J2 jumpers are connected and 15v supply is given to Jp1 and Jp2 connectors.I turned off the AC supply, compiled the program, and in Debug mode:

I got a prompt asking to select the CPUS (CPU1 ans CPU2). I selected both initially and executed the project. The below was the error I got. (Please check the attachment)

28xx_CPU1: File Loader: Verification failed: Values at address 0x80000@Program do not match Please verify target memory and memory map.
C28xx_CPU1: GEL: File: C:\Users\Admin\Desktop\newwrksp3\IDDK_PM_Servo_F2837x\F2837x_RAM\IDDK_PM_Servo_F2837x.out: a data verification error occurred, file load failed.

With CPU1 selected I got the following error:

IcePick_C_0: Error connecting to the target: (Error -151 @ 0x0) One of the FTDI driver functions used during the connect returned bad status or an error. The cause may be one or more of: no XDS100 is plugged in, invalid XDS100 serial number, blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable. Use the xds100serial command-line utility in the 'common/uscif' folder to verify the XDS100 can be located. (Emulation package 7.0.100.0)
C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.
C28xx_CPU1: File Loader: Verification failed: Values at address 0x80000@Program do not match Please verify target memory and memory map.
C28xx_CPU1: GEL: File: C:\Users\Admin\Desktop\newwrksp3\IDDK_PM_Servo_F2837x\F2837x_RAM\IDDK_PM_Servo_F2837x.out: a data verification error occurred, file load failed.

With Cpu2 selected I got the following error:

C28xx_CPU2: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.
C28xx_CPU2: File Loader: Verification failed: Values at address 0x82000@Program do not match Please verify target memory and memory map.
C28xx_CPU2: GEL: File: C:\Users\Admin\Desktop\newwrksp3\IDDK_PM_Servo_F2837x\F2837x_RAM\IDDK_PM_Servo_F2837x.out: a data verification error occurred, file load failed.

 

 

Kindly help me out .thank u

  • I uploaded IDDK_PM_Servo_F2837x-v2 project in my workspace and tried to compile. With this project, I got the following error: (I'm using Code Composer Studio 7.4.0)

  • I successfully compiled the project by creating a new workspace. Now the problem is with the debugging. When I make Enableflag = 1, ISRTICKER should change but the value is not changing even after enabling continuos refresh.

    Please help me how to make the project work with BUILDLEVEL = 1.

    Also, I didnt give AC Power input to the kit. I removed J1 and J2 jumpers and connected 15v supply to JP1 and JP2.

    Please correct me if I am wrong

    Thank YOu

  • The user guide would advise to connect to CPU1, and if you followed those instructions in the hardware guide, this problem will not show up. 

  • Thanks a lot for the reply. I selected CPU1 during debug and compiled the project. I'm still facing this issue.

    Please help me. The following is the error I got after compiling the project:


    **** Clean-only build of configuration F2837x_RAM for project IDDK_PM_Servo_F2837x-v2 ****

    "C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k clean
     
    DEL /F  "IDDK_PM_Servo_F2837x-v2.hex"  "IDDK_PM_Servo_F2837x-v2.out"
    DEL /F "F2837xD_Adc.obj" "F2837xD_CodeStartBranch.obj" "F2837xD_DefaultISR.obj" "F2837xD_EPwm.obj" "F2837xD_GlobalVariableDefs.obj" "F2837xD_Gpio.obj" "F2837xD_PieCtrl.obj" "F2837xD_PieVect.obj" "F2837xD_SysCtrl.obj" "F2837xD_sdfm_drivers.obj" "F2837xD_usDelay.obj" "IDDK_PM_Servo_F2837x.obj" "bissc.obj" "endat.obj" "resolver.obj" "utility Src Files\DLOG_4CH_F.obj"
    DEL /F "F2837xD_Adc.d" "F2837xD_DefaultISR.d" "F2837xD_EPwm.d" "F2837xD_GlobalVariableDefs.d" "F2837xD_Gpio.d" "F2837xD_PieCtrl.d" "F2837xD_PieVect.d" "F2837xD_SysCtrl.d" "F2837xD_sdfm_drivers.d" "IDDK_PM_Servo_F2837x.d" "bissc.d" "endat.d" "resolver.d" "utility Src Files\DLOG_4CH_F.d"
    DEL /F "F2837xD_CodeStartBranch.d" "F2837xD_usDelay.d"
    Could Not Find C:\Users\Rover\Desktop\iddkwrkspace\IDDK_PM_Servo_F2837x-v2\F2837x_RAM\IDDK_PM_Servo_F2837x-v2.hex
    Could Not Find C:\Users\Rover\Desktop\iddkwrkspace\IDDK_PM_Servo_F2837x-v2\F2837x_RAM\utility Src Files\DLOG_4CH_F.obj
    Could Not Find C:\Users\Rover\Desktop\iddkwrkspace\IDDK_PM_Servo_F2837x-v2\F2837x_RAM\F2837xD_CodeStartBranch.d
    Finished clean
     

    **** Build Finished ****

    **** Build of configuration F2837x_RAM for project IDDK_PM_Servo_F2837x-v2 ****

    "C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k all
     
    Building file: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_Adc.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_Adc.d_raw" --tmu_support=tmu0  "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_Adc.c"
     
    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'F2837xD_Adc.obj' failed
    "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_Adc.c", line 11: fatal error: cannot open source file "F2837xD_device.h"
    1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_Adc.c".
    Compilation terminated.
    gmake: *** [F2837xD_Adc.obj] Error 1
    Building file: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_CodeStartBranch.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_CodeStartBranch.d_raw" --tmu_support=tmu0  "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_CodeStartBranch.asm"
    Finished building: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_CodeStartBranch.asm"
     
    Building file: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_DefaultISR.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_DefaultISR.d_raw" --tmu_support=tmu0  "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_DefaultISR.c"
     
    >> Compilation failure
    subdir_rules.mk:23: recipe for target 'F2837xD_DefaultISR.obj' failed
    "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_DefaultISR.c", line 14: fatal error: cannot open source file "F2837xD_device.h"
    1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_DefaultISR.c".
    Compilation terminated.
    gmake: *** [F2837xD_DefaultISR.obj] Error 1
    Building file: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_EPwm.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_EPwm.d_raw" --tmu_support=tmu0  "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_EPwm.c"
     
    >> Compilation failure
    subdir_rules.mk:30: recipe for target 'F2837xD_EPwm.obj' failed
    "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_EPwm.c", line 14: fatal error: cannot open source file "F2837xD_device.h"
    1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_EPwm.c".
    Compilation terminated.
    gmake: *** [F2837xD_EPwm.obj] Error 1
    Building file: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/source/F2837xD_GlobalVariableDefs.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_GlobalVariableDefs.d_raw" --tmu_support=tmu0  "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/source/F2837xD_GlobalVariableDefs.c"
     
    >> Compilation failure
    subdir_rules.mk:37: recipe for target 'F2837xD_GlobalVariableDefs.obj' failed
    "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/source/F2837xD_GlobalVariableDefs.c", line 14: fatal error: cannot open source file "F2837xD_device.h"
    1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/source/F2837xD_GlobalVariableDefs.c".
    Compilation terminated.
    gmake: *** [F2837xD_GlobalVariableDefs.obj] Error 1
    Building file: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_Gpio.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_Gpio.d_raw" --tmu_support=tmu0  "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_Gpio.c"
     
    >> Compilation failure
    subdir_rules.mk:44: recipe for target 'F2837xD_Gpio.obj' failed
    "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_Gpio.c", line 13: fatal error: cannot open source file "F2837xD_device.h"
    1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_Gpio.c".
    Compilation terminated.
    gmake: *** [F2837xD_Gpio.obj] Error 1
    Building file: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_PieCtrl.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_PieCtrl.d_raw" --tmu_support=tmu0  "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_PieCtrl.c"
     
    >> Compilation failure
    subdir_rules.mk:51: recipe for target 'F2837xD_PieCtrl.obj' failed
    "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_PieCtrl.c", line 14: fatal error: cannot open source file "F2837xD_device.h"
    1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_PieCtrl.c".
    Compilation terminated.
    gmake: *** [F2837xD_PieCtrl.obj] Error 1
    Building file: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_PieVect.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_PieVect.d_raw" --tmu_support=tmu0  "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_PieVect.c"
     
    >> Compilation failure
    subdir_rules.mk:58: recipe for target 'F2837xD_PieVect.obj' failed
    "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_PieVect.c", line 14: fatal error: cannot open source file "F2837xD_device.h"
    1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_PieVect.c".
    Compilation terminated.
    gmake: *** [F2837xD_PieVect.obj] Error 1
    Building file: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_SysCtrl.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_SysCtrl.d_raw" --tmu_support=tmu0  "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_SysCtrl.c"
     
    >> Compilation failure
    subdir_rules.mk:65: recipe for target 'F2837xD_SysCtrl.obj' failed
    "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_SysCtrl.c", line 18: fatal error: cannot open source file "F2837xD_device.h"
    1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_SysCtrl.c".
    Compilation terminated.
    gmake: *** [F2837xD_SysCtrl.obj] Error 1
    Building file: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_sdfm_drivers.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_sdfm_drivers.d_raw" --tmu_support=tmu0  "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_sdfm_drivers.c"
     
    >> Compilation failure
    subdir_rules.mk:72: recipe for target 'F2837xD_sdfm_drivers.obj' failed
    "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_sdfm_drivers.c", line 11: fatal error: cannot open source file "F28x_Project.h"
    1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_sdfm_drivers.c".
    Compilation terminated.
    gmake: *** [F2837xD_sdfm_drivers.obj] Error 1
    Building file: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_usDelay.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_usDelay.d_raw" --tmu_support=tmu0  "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_usDelay.asm"
    Finished building: "C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_common/source/F2837xD_usDelay.asm"
     
    Building file: "../IDDK_PM_Servo_F2837x.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="IDDK_PM_Servo_F2837x.d_raw" --tmu_support=tmu0  "../IDDK_PM_Servo_F2837x.c"
     
    >> Compilation failure
    subdir_rules.mk:86: recipe for target 'IDDK_PM_Servo_F2837x.obj' failed
    "..\IDDK_PM_Servo_F2837x-Settings.h", line 28: fatal error: cannot open source file "IQmathLib.h"
    1 catastrophic error detected in the compilation of "../IDDK_PM_Servo_F2837x.c".
    Compilation terminated.
    gmake: *** [IDDK_PM_Servo_F2837x.obj] Error 1
    Building file: "../bissc.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="bissc.d_raw" --tmu_support=tmu0  "../bissc.c"
     
    >> Compilation failure
    subdir_rules.mk:86: recipe for target 'bissc.obj' failed
    "../bissc.c", line 23: fatal error: cannot open source file "F28x_Project.h"
    1 catastrophic error detected in the compilation of "../bissc.c".
    Compilation terminated.
    gmake: *** [bissc.obj] Error 1
    Building file: "../endat.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="endat.d_raw" --tmu_support=tmu0  "../endat.c"
     
    >> Compilation failure
    subdir_rules.mk:86: recipe for target 'endat.obj' failed
    "../endat.c", line 23: fatal error: cannot open source file "F28x_Project.h"
    1 catastrophic error detected in the compilation of "../endat.c".
    Compilation terminated.
    gmake: *** [endat.obj] Error 1
    Building file: "../resolver.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="resolver.d_raw" --tmu_support=tmu0  "../resolver.c"
     
    >> Compilation failure
    subdir_rules.mk:86: recipe for target 'resolver.obj' failed
    "..\IDDK_PM_Servo_F2837x-Settings.h", line 28: fatal error: cannot open source file "IQmathLib.h"
    1 catastrophic error detected in the compilation of "../resolver.c".
    Compilation terminated.
    gmake: *** [resolver.obj] Error 1
    Building file: "../utility Src Files/DLOG_4CH_F.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --abi=coffabi --preproc_with_compile --preproc_dependency="utility Src Files/DLOG_4CH_F.d_raw" --obj_directory="utility Src Files" --tmu_support=tmu0  "../utility Src Files/DLOG_4CH_F.c"
     
    >> Compilation failure
    utility Src Files/subdir_rules.mk:9: recipe for target 'utility Src Files/DLOG_4CH_F.obj' failed
    "../utility Src Files/DLOG_4CH_F.c", line 2: fatal error: cannot open source file "F28x_Project.h"
    1 catastrophic error detected in the compilation of "../utility Src Files/DLOG_4CH_F.c".
    Compilation terminated.
    gmake: *** [utility Src Files/DLOG_4CH_F.obj] Error 1
    gmake: Target 'all' not remade because of errors.

  • Can you check your project properties and look at your #include search path? In your earlier posts, I can see the --include_path/-i option, but in this most recent, those are all missing, so the compiler doesn't know where to look for the #include files.

    Whitney

  • Dear Whitney,

       Thanks a lot for the reply. I compiled the project and with EnableFlag = 1, ISRTicker is getting updated. But I'm unable to run the motor.

    Can you please suggest me how to start learning about this IDDK[R2.2.1]. I'm having IDDK[R.2.2.1] with MTRBundle.

    Is there an executable just like InstaSPIN-BLDC_GUI_DRV83xx_v104.exe User interface to test the motor. Please suggest. Thank you

  • Glad you were able to get the build errors resolved. No, we don't have a similar GUI for this project.

    There is a User's Guide and Hardware Guide provided with the software as Ramesh mentioned earlier. Have you been following those?

    Whitney

  • Thank You very much. yes I'm following user's guide.

    I'm having doubt with Level 2C(adjusting PI limits). In the note it is mentioned about " Depending on the application requirements 3, 2 or a single shunt resistor can be used for current waveform reconstruction ". Can you please give some information related to the development kit.

    Also, please help me with setting pi_id.Umax/min and pi_iq.Umax/min. How this is related to Vdtesting and Vqtesting values?

    "PI outputs will automatically generate the voltage reference and determine the PWM duty cycle depending on the d-q current demand, therefore set pi_id.Umax/min and pi_iq.Umax/min according to recorded VdTesting and VqTesting values respectively" This line is unclear for me. Please help me.

    Thanku

  • Prasad,

    The IDDK hardware can support single shunt --> remove two shunts and short those shunt terminals to the remaining one on the pcb. 

    pi_id.Umax will be the max value for Vd and likewise pi_iq.UImax for Vq. After testing with VdTesting and VqTesting, you can consider to use these values as Umax.  You are free to bypass this step if you already have a choice of Umax.

  • Thanks a lot for the reply. I adjusted the gains and in level 2, I used auto transformer (Set Voltage: 95V) and executed the project. The motor is moving and as per the application note, I checked the values SpeedRef and speed1.Speed. The following are the values:

    for SpeedRef = 0.05, spped1.Speed = -0.05 which is not appropriate and I cant proceed to level-3 (closed loop operation).

    What to do to overcome this issue. Do you want me to break the encoder connector (board side) and reconnect ?

    Right now all the connections are correct. I followed the data sheet and connected the encoder cable.I got this cable from TI for the motor emj04apb22.

    Please help and thank you

  • Prasad,

    If you reviewed the user guide properly, you could have found the answer already. The angle feedback will be ramp down waveform instead of ramp up like the rg1.Out. The motor is spinning in reverse direction, just swap two wires to the motor.