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.

CCS/TMS320F28035: CCS restart code interupt missing

Part Number: TMS320F28035

Tool/software: Code Composer Studio

Hello:

I use TMS320F28035 and DRV driver to drive a motor. I use ADC8 to read total current. Cputimer interrupt triger ADC sample. When I downlow the code to chip, cputimer interrupt and ADC8 interrupt are ok. But when I restart the code with CCS, ADC8 interrupt is missing, but cpu timer 0 interrupt is ok. Can anyone help me?

  • Qi,

    A restart in CCS just places the PC back at the entry point of the program.  It does not clear any memory or register values.  You could try a reset and then a restart but to be more sure about restoring state you would want to do a reload.

    Regards,
    John

  • Hello Dear Jonh:

    Thanks very much for your feedback. If I reset cpu and restart, everything goes well. But I never face with this different before with some ADC. Do you know what could generate this problem? If have I made some wrong configuration in ADC register?  

  • QI,

    Sorry my expertise is just on the development tools.  I can see if we can loop in someone from the C2000 team who may be able to assist.

    Regards,

    John

  • If you reset and run without doing a restart, does that change the behavior?

    Can you capture the values in the ADC registers in the scenario where you load and run vs the scenario where you reset and run and see if there are differences between them?

    Whitney