Kindly give some suggestions for the problems mentioned below::
The Input sinusoidal signal is of 50 hz [using function generator]
Uint32 fs=DSK6713_AIC23_FREQ_8KHZ;
Since the sampling frequency as mentioned in the above line is 8khz ,Does it mean that 160 samples per cycle of the input signal are being generated by dsk 6713 board in the function of input_sample()????
But for our application we just need to deal with 12 samples per cycle.
Is resampling possible and how can we do it???
Also,for the code below::
short adc_in[12];
adc_in[12]=input_sample();
output_sample(adc_in[12]);
Does the above statement means that 12 samples at a time are being transferred as an output??
Also,Can the below code be used to convert a cycle in the form of 160 samples to another cycles in the form of 12 samples????
float a[160];float adc_in[12];
a[160]=input_sample();
for(i=0;i<12;i++)
{
adc_in[i]=a[i*13];
}
Thanking you,
Yaashu