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.

DRV8662EVM source code question

Other Parts Discussed in Thread: DRV8662EVM

Downloaded the DRV8662EVM Source Code (sloc285.zip) file from the DRV8662EVM product page, and it expanded to a DRV8662EVM_RevD folder.  Looks like the code is configured for the IAR MSP430 IDE, not CCS.  

Anybody convert it to CCS?  Initial compile seems to indicate that only the unused interrupt vector location code, a few lines, need to be changed.  Is that correct, or do other issues lurk in the source for the unwary? :-)

TIA,

Mike

  • Hi Mike,

    When I converted similar programs from IAR to CCS in the past, all I had to do to make it compile in CCS was to modify the LPMx exit call inside the ISR. 

    For example, if you see: 

    __bis_SR_register(LPM0_EXIT);

    you will need to change it to:

    _bic_SR_register_on_exit(LPM0_bits);

    I hope this helps,

    Mandy