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.

Probable Bug fund in 2833x interrupt Table

Hi all

I'm currently working on a project where I use the McBSP A and B peripherals. However it seems to me as if the order of the Interrupt registers is swapped inside the DSP2833x_PieVect.c file, which causes wrong behavior.  The DSP2833x_PieVect.h file seems correct, according to the datasheet.

DSP2833x_PieVect.c  (seems swapped):
const struct PIE_VECT_TABLE PieVectTableInit = {
       ::::::::::::::::::::::::::::::::::::::::::::::::::::
      MRINTA_ISR,      // 6.3 McBSP-A
      MXINTA_ISR,      // 6.4 McBSP-A
      MRINTB_ISR,      // 6.5 McBSP-B
      MXINTB_ISR,      // 6.6 McBSP-B
       ::::::::::::::::::::::::::::::::::::::::::::::::::::

DSP2833x_PieVect.h (seems right):
struct PIE_VECT_TABLE {
       ::::::::::::::::::::::::::::::::::::::::::::::::::::
      PINT     MRINTB;    // McBSP-B
      PINT     MXINTB;    // McBSP-B
      PINT     MRINTA;    // McBSP-A
      PINT     MXINTA;    // McBSP-A
       ::::::::::::::::::::::::::::::::::::::::::::::::::::

My code started to work after I've changed the .c file manually. However this poriton of code also came swapped with the Code files that were shipped with Matlab Target support Package as well.