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.

TIDM-1000: Three phase Vienna rectifier: ISR memory mapping

Part Number: TIDM-1000

Hi,

In the Vienna rectifier code, memory mapping is done for Control code ISR and Instrumentation ISR as shown below using sections "isrcodefuncs" and "ramfuncs".

If I want to write ADC ISR how should I do the memory mapping. Can I use same " isrcodefuncs " , for defining any other interrupt like ADC?

Or should I define a new section in the CMD file.

---------------------------------------------------------------------------------------------------------

#if VIENNA_CONTROL_RUNNING_ON == C28x_CORE

#ifndef __TMS320C28XX_CLA__
#pragma INTERRUPT (ISR1, HPI)
#pragma CODE_SECTION(ISR1,"isrcodefuncs");
interrupt void ISR1(void);
#endif

#else
#endif

#if VIENNA_INSTRUMENTATION_ISR_RUNNING_ON == C28x_CORE

#ifndef __TMS320C28XX_CLA__
#pragma CODE_SECTION(ISR2,"ramfuncs");
interrupt void ISR2(void);
#endif

#else
#endif

----------------------------------------------------------------------------------------------------------------

Thanks and Regards,

Neeraja