Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

L138_intialise_intr location error

$
0
0

hi i am running th programs from the text book named "digital signal processing and applications with omap-l138 experimenter kit"  below program while debugging it i am facing an error at the hilighted on below and debugging stops

{

L138_initialise_intr(FS_8000_HZ,ADC_GAIN_0DB,DAC_ATTEN_0DB);

while(1);

}

the location error for  L138_initialise_intr but i ahve added all the files like bsl,gel,source

can any one help please

// L138_firprn_intr.c
//

#include "L138_aic3106_init.h"

#include "bs2700.cof"

float x[N]; // filter delay line
AIC31_data_type codec_data;

interrupt void interrupt4(void)
{
short i;
float yn = 0.0;

x[0] = (float)(prbs()); // input from prbs function
for (i=0 ; i<N ; i++) // compute filter output
yn += h[i]*x[i];
for (i=(N-1) ; i>0 ; i--) // shift delay line
x[i] = x[i-1];
codec_data.channel[LEFT] = (uint16_t)(yn);
codec_data.channel[RIGHT] = (uint16_t)(yn);
output_sample(codec_data.uint); // output to L and R DAC
return;
}

int main(void)
{

L138_initialise_intr(FS_8000_HZ,ADC_GAIN_0DB,DAC_ATTEN_0DB);

while(1);

}


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>