Hello,
I use a F28335 delfion controller. The DMA is configured to get 50 samples from 14 ADC channels. After that an interrupt is triggered and I have
to calculate the average value for every channel.
I implemented the function in C but it's very slow, and as I know, it would be much fast implemented in assembler by the use of special DSP commands.
I already checked the FPU reference guide but didn't find a instruction which can handle the ADC values, which are integers, without converting them.
pseudo code:
result = 0;
for(int i = 0; i < 50; i++)
{
result += adcValue[i] / 50;
}