I've been following Chassaing's book to learn how to program DSK 6713, but I`ve been having problems so far because everytime I try to create my own project, writing the .c file using notepad and then adding the necessary support files, which are c6713dskinit.c, vectors_intr.asm, rts6700.lib,dsk6713.lib,csl6713.lib, c6713dsk.cmd, I get the following error:
"ejemplo.c", line1:fatal error:could not open source file "dsk6713_aic23.h"
this happens even after I have carefully done all the steps on pages 11 and 12, and used project, scan all file dependencies to make sure the .h files appear. They are shown in CCS interface but if I double click on any of them the program says that the files is not found. Even after I manually add them I get the error. This is the code I have been trying to implement:
#include "dsk6713_aic23.h"
Uint32 fs= DSK6713_AIC23_FREQ_8KHZ;
#define DSK6713_AIC23_INPUT_MIC 0x0015
#define DSK6713_AIC23_INPUT_LINE 0X0011
Uint16 inputsource=DSK6713_AIC23_INPUT_MIC;
#define LOOPLENGTH 8
short loopindex =0;
short gain=10;
short sine_table[LOOPLENGTH]={0,707,1000,707,0,-707,-1000,-707};
void main()
{
comm_poll();
DSK6713_LED_init();
DSK6713_DIP_init();
while(1)
{
if (DSK6713_DIP_get(0)==0)
{
DSK6713_LED_on();
output_left_sample(sine_table[loopindex++]*gain);
if (loopindex>=LOOPLENGTH) loopindex=0;
}
else DSK6713_LED_off(0);
}
}