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.
Part Number: TIDM-1003
Dear TI Experts:
I really need your help to run TIDM-1003 projects.
According to the steps in the section 3.2.2 in application notes, we will get the error message "#20 Identifier "CTRL_Mode_e" is undefined" when building the project.
You may refer to the former post as the following link.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Yanming Luo:
In reply to user4008740:
Hello,I'd like to report that I'm having exactly the same problems. Please try to help on finding the solution. I'm attaching the print screen of the errors that appear. I did reinstall CCS and Motorware but it's the same. I'd be very grateful, if anyone could make a small tutorial on setting up TIDM-1003, or attach the proper working files.Thank you,Mitja
Hello,I'd like to ask, if TI could provide the proper solution and suggest what to do with this problem and how to resolve it.Thanks in advance!
In reply to Mitja Sitar:
You may download the software from this reference design as the following link, and you can find "TIDM_1003_sw.zip" in the downloaded file, just need to extract this "TIDM_1003_sw.zip" that includes all the code files for this reference.
Dear Expert Luo:
At the beginning of the thread, I have tried your suggestion to extract this "TIDM_1003_sw.zip".
"So I follow Expert Luo's instruction to unzip the compressive file "TIDM_1003_sw.zip", and import the CCS project in CCS 9, as shown below.But it seems that the files are incomplete, causing a lot of source files not found. ... Then I tried your suggestion to use the compressive file "TIDM_1003_sw.zip", but I found many source files not found, even <math.h> ..."
But with my attached CCS compiling errors, I doubt that it includes all the code files for this reference. Do you really run it well? Could you share the screen picture with us?
Thanks for your kind help!
Wish you the best!
As replied to you, the "TIDM_1003_sw.zip" include all files for the project, you only need to extract the file to run the project without motorWare. We have tested this on both CCS8 and CCS9, attached the figures for your reference.
Btw, you may delete the "TMS320F28027_xds510usbplus.ccxml" from the project since you didn't install the emulator drive in your CCS.
Dear Expert Yanming:
I am so grateful to you for your professional and detailed reply.
I have followed your instructions and finally got the *.out file.
May I ask some more questions about TIDM-1003?
1. You ever introduced me to read SPRUHJ1G. According the TIDM-1003's schematic circuit, it seems that its current feedback belongs to positive feedback, and the current offsets should be negative in user.h, like the user.h for drv8312kit (revD). But the following current offsets in user.h of TIDM-1003 are positive values. Could you kindly show me why?
Hello,Thank you for your kind reply. I'd also like to report, that after downloading the software and importing the project from _sw folder, I did managed to successfully build the project.
Then I tried to program the target device and debug it, but I ran into these errors.
Have you encountered this problem and what do you suggest to do?Thank you,
1. You are right. The project enabled offsets recalibration always, so it didn't use the offsets in user.h. You may enable the offset recalibration first to get the correct offsets, and then copy these offsets from hal.adcBias.I and hal.adcBias.V to user.h. Every board should have different offsets.
2. This is just for an ideal board, you should do the offset calibration as above for each board if you want to achieve better performance.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.