I got DRV8301-EVM kit. And now I am trying to work BLDC motor that it is included in EVM kit.
I built sample project that is in /sw/solutions/instaspin_bldc/boards/drv8301kit_revD/tms570ls1227/projects/ccs5/porject01. And I tried to run it.
But I got some error after execution script. Please see below.
gDRVObj.isrTicker is Error.
gDRVObj.instaHandle -> vaOffset is Error.
gDRVObj.instaHandle -> vbOffset is Error.
gDRVObj.instaHandle -> vcOffset is Error.
I don't know the cause of the above errors.
Please advise me how to solve this problem.
They show as an error because the CCS compiler optimize them (I don't think they are not used in the now running flow).
You can choose to ignore them, or remove them from the watch window.
Or if you really want to see it, disable the optimization of the project or set to a lower level of optimation, and these variables should be able to show up.
Thank you for your reply.
I disabled the optimization of the project. But the errors still exist. My motor does not work yet. Why?
Also I have other question. According to the manual, DIP switch SW1 must be changed as the following.
"The TPS65381 regulator powers the TMS570 control card. The first time you connect to the processor make sure all positions of the SW1 DIP switch are set to the off position to disable the watchdog on the TPS65381. When the TPS65381 watch dog is used the watch dog must be disabled within 600ms of power on or it will have to be serviced. If the TPS65381 is enabled and the software flashed on the control card does not disable the watchdog within 00ms you will not be able to connect to the control card. The provided software project needs the TPS65381 to be enabed to run currectly, after connecting to the control card for the first time, load the compiled software, disconnect from the target in CCS, power down the system, place positions 1 and 4 of DIP switch SW1 into the on position and re-power the system.
According to my understanding, DIP switch SW1 must be placed that No.5 and 7 is on. This is default factory position. Motor works fine with this setting only. The motor can not be worked with the above DIP switch setting. What is the right setting for Project 1 ?
Please advise me.
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. 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 respect to these materials. 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.