Part Number: TMS320F28379D
The below program is part of example program (ClaTasks_C.cla) present in Lab-9 TMS320f28379D. When will the Cla1Task1 function be called? The breakpoint is also not working for this function.
interrupt void Cla1Task1 (void)
{
// Local Variables
float32 Y;
__mdebugstop();
xDelay[0] = (float32)AdcaResultRegs.ADCRESULT0; // Read the ADC result
Y = coeffs[4] * xDelay[4]; // First Calculation of sum of products
xDelay[4] = xDelay[3]; // xDelay[4] can now be updated because it has been used
Y = Y + coeffs[3] * xDelay[3]; // Second product, 1st add
xDelay[3] = xDelay[2]; // xDelay[3] update
Y = Y + coeffs[2] * xDelay[2]; // Third product, 2nd add
xDelay[2] = xDelay[1]; // xDelay[2] update
Y = Y + coeffs[1] * xDelay[1]; // Fourth product, 3rd add
xDelay[1] = xDelay[0]; // xDelay[1] update
Y = Y + coeffs[0] * xDelay[0]; // Accumulate final product
ClaFilteredOutput = (Uint16)Y; // Convert result to signed 16-bit and store
}