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.

Understanding LED Demo Code for EZdsp5535 usb stick

Other Parts Discussed in Thread: TMS320C5535, TMS320C5515

My name is Jeff Moran  i am a student at WPI in Boston and Ki Soo Lee has been very helpful in understand the css5.5 program and some of the beginner apps like the led demo.   I have been successful in running the LED demo from the cd and also writing it from scratch which has been a fun project  my next project is to understand the particular code that turn on the leds and its relation to the board.  the reason for this is so i can write my own programs.  Is there some reference manual like the tms320c5535 tech ref and i check sd tech ref and it was mostly board schematics and jumpers.  here is the example code that turns off one of the led and im trying to figure it out and if there is any reference manual that will help explain the non standard C code because it is very specific.

Int16 EZDSP5535_XF_on()

{

    CSL_CPU_REGS->ST1_55 |= CSL_CPU_ST1_55_XF_MASK;

   

return 0;

}

/*

*

*  EZDSP5535_XF_off( )

*

*  Description

*      Turns off the XF LED.

*

*/

Int16 EZDSP5535_XF_off()

{

    CSL_CPU_REGS->ST1_55 &= ~CSL_CPU_ST1_55_XF_MASK;

   

return 0;

}

I understand what the lines are potential doing the first line is oring the mask with the variable but i look in the program and it not declared anywhere is it a variable recogize by the board or the dsp.  the second line is anding the mask with the variable are these registers that are being changed by oring and anding and if so where can you fine  information the reference them.  i checked with SD and they told me that texas insturements wrote the demo. Any information will be appreciated

 

Regards,

Jeff Moran