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.

Why the motor doesn't spin and I keep getting the same error on the target configurations every time I try to debug the code?

Other Parts Discussed in Thread: DRV8301, CONTROLSUITE

I am using a TMS320F2805 with a DRV8301 - HC - EVM Rev D. I went over all the guides available online, and I also follow them step by step. Now, not only do I have the same error every time I run the code, about target configuration, but also, I do not know what to do to make the motor to spin. That thing is getting more and more annoying to me and I am wondering what to do?

  • Amos,

    You didn't really give us any information that would allow us to help you.

    I believe you have a Target Configuration error....and are probably trying to run one of the projects in controlSUITE.

    That's all I know.

  • Well, I understand what you're saying, but I am pretty sure it's not the first time you've heard about the target configuration error. I selected the right device, and the correct connection based on the user guide, and I am still getting the same error. Also, I tried Inst aSPIN-BLDC Example GUI, I still get the same error. Do I have to change the code in a certain way to at least make the motor to spin and not getting the same error?

  • The controlCARD

    - needs to have the appropriate .out loaded/programmed that matches the GUI .exe

    - needs to have the switches set correctly

    After this is complete the connection should work.

    The ability to start up your motor depends on the motor, most specifically with the switching current. You may need a higher PWM and may need to use the advanced features. 

    Not sure what your end goal is, but you may want to consider using TNDSCNCD28069MISO and InstaSPIN-FOC or InstaSPIN-MOTION.  There is more flexibility, automation, and performance available. 

  • This is the typical error I keep getting all the time:

    C28xx: 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 one or more of: invalid emulator serial number, blank emulator EEPROM, missing FTDI drivers, faulty USB cable. Use the xds100serial command-line utility in the 'common/uscif' folder to verify the emulator can be located. (Emulation package 5.1.450.0)

  • Is TMDSNCD28035ISO plugged into the DRV8301 EVM and is Bus Voltage available?  You need to power the controlCARD.

    Do you have switches set correctly on the CNCD per

    C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\~GUI\QSG-DRV830x-HC-C2-KIT-GUI.pdf

    Does your Windows Device Manager show the Texas Instruments XDS100 connecion?  Should be one under USB and UART.

     

  • Chris,

    That's the biggest problem I have. Of course, everything is plugged. The worst thing is I follow that stupid guide very closely. Why I keep getting the same errors over and over again?

  • The error says that CCS is not able to connect through JTAG to your MCU.

    I have given you some things to check that might give you clues as to why that is happening.

     

  • I also saw this after the JTAG/FDDI driver updated. I did not see that before the update of the driver.

    The JTAG/FDDI driver was updated automatically on my computer.

  • Is the problem solved?