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.

"IsrTicker" does not increase

Other Parts Discussed in Thread: DRV8302

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?

Thanks

  • Hello,

    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.

    Kris

  • 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.

  • Hi Yang I have the same issue. Did you find the solution?
    I tried Kris recommendations, but nothing happend
  • Hi Victor,


    This thread is pretty old (2012). You will probably have better luck making a new post and being a little more explicit about :

    *What HW you are running on

    *What you have tried with the SW

    You can also put in a link to this post to say that you tried the suggestion, but it didn't work for you