I am now working on the kit "TMDS2MTRPFCKIT", which has a Piccolo F28035 control CARD
I followed the guide to build and test the kit incrementally. However on the first level, I connected the board and in debug mode, enabled real time, and then change the "EnableFlag" to 1. then the IsrTicker should increase to show that the system interrupt is working properlly.
The codes I use comes with the control suite, I suppose they are correctly written
But after I change the "EnableFlag" to 1, the "IsrTicker" does not increase. It seems everything is static and not changing. (the monitored variable shows a constant 0 instead of a sinusoidal waveform)
I just started working on the MCUs, and really unfamiliar with the hardware. Can anyone give some hint on how to debug and find out where is wrong, and how to check why the interrupt is working?
You may want to try running the code in non-real time mode, and then while the code is still running, enable real time mode. You also need to make sure to set each window in the debug perspective which will use real time mode on continuous refresh to see the values update.
I am in a similar predicament. I have switched between non-real time and real time mode while the debugger is running, and each window is set to continuously refresh. Still no dice. However, my system is slightly different.
CCS version 5.2
DRV8302 evaluation board with TMS320F28035PNT controlCARD
I just loaded up the InstaSPIN project and followed the "DRV830x-HC-C2-KIT" How to Run Guide, although I had to deviate from the instructions at times due to the instructions being written for CCS version 4. Any assistance is greatly appreciated.
**update** - I can see that the registers are updating via the Registers window, but nothing in the Expression window changes, which includes the IsrTicker. LD3 on the controlCARD is blinking steadily.
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.