Hi,
I am trying to learn to use dskc6713 dsp kit.
I have wrriten a program and when iam checking for the output from dataout/headphone i coudn't hear any voice from speaker/signals in ascilloscope.
#include "dsk6713_aic23.h"
Uint32 fs=DSK6713_AIC23_FREQ_48KHZ;
void main()
{
short loop=0;
comm_poll();
DSK6713_LED_init();
DSK6713_DIP_init();
while(1)
{
if(DSK6713_DIP_get(0)==0)
{
output_left_sample(2*sin(2*3.14*8/loop));
if(loop==7) loop=0;
DSK6713_LED_on(0);
}
else DSK6713_LED_off(0);
}
}
and also this one i tried both
#include "dsk6713_aic23.h"
Uint32 fs=DSK6713_AIC23_FREQ_48KHZ;
void main()
{
short data[8]={0,707,1000,707,0,-707,-1000,-707};
short loop=0;
short gain=30;
comm_poll();
DSK6713_LED_init();
DSK6713_DIP_init();
while(1)
{
if(DSK6713_DIP_get(0)==0)
{
output_left_sample(data[loop]*gain);
if(loop==7) loop=0;
DSK6713_LED_on(0);
}
else DSK6713_LED_off(0);
}
}
the code is working bcoz when i press the switch the led glows...and when i turn the switch off the led turns off..
but i coudnt get any output from dataout and headphone port.
i hd already tested the diagnostics by '6713 DSK Diagnostics Utility v3.1' and it shows 'pass'.
could anyone help me please?