Hello, we have f28335 and I am assigned to learn how to program it with DSP. I tried the Lab1 of Frank Bormann PDF file but the LEDs did not change, do they have to change or there is some way of determining if the program is successfully loaded to card?
I have setup my openSuSE laptop with CCSv5 and the connection between the card and the laptop seems to be OK since I can debug the program.
Sorry if the question is stupid but I am not familiar with this type of development although I am a computer programmer.
Forgot to put the code I tried from that PDF.
extern void InitSysCtrl(void);
#include "DSP28x_Project.h"
void main(void)
{
InitSysCtrl();
EALLOW;
GpioCtrlRegs.GPADIR.bit.GPIO31 = 1;
GpioCtrlRegs.GPBDIR.bit.GPIO34 = 1;
EDIS;
GpioDataRegs.GPACLEAR.bit.GPIO31 = 1;
GpioDataRegs.GPBSET.bit.GPIO34 = 1;
int i;
while(1)
{
GpioDataRegs.GPATOGGLE.bit.GPIO31 = 1; // toggle LD2
GpioDataRegs.GPBTOGGLE.bit.GPIO34 = 1; // toggle LD3
for (i=0; i<1000000; i++)
{
;
} // time delay
}
}
Why there is no code tag when posting.