Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379S: Difference between the actual value and the value being shown by emulator on 'Eexpressions'

Part Number: TMS320F28379S

To whom it may concern,
I am currently reading ADC 5Ch using SDFM.
I have an inquiry regarding such usage.
I am getting the value I want by multiplying the value from SDFM (0~1) to Gain Value.

If I check the variable of the multiplied value on Expressions, the value shakes on second decimal place.
(This indicates there is a some sort of malfunction)
Therefore while I was debugging to check if there is any problem with ADC circuit,
I found out that when I change the Gain value being multiplied, the variable value shown on Expressions shakes very slightly on third decimal place. (This indicates there is no problem with the value shown on Expressions)

For example,
Gain Value 6.32 --> Value being shown is very clear (Value being changed 0~2 on third decimal place)
Gain Value 6.28 --> Value being shwon moves vigorously (Value being changed 0~6 on second decimal place)

In terms of coding,I have set the range of multiplied value and code asm(" ESTOP0").
If the value shown on Expressions is true, the operation must stop but is still operating.
(It stops well if I adjust the input Voltage through ADC)

The code I have used is as below:

//I have used PWM11 for interrupt routine and is running on 50kHz.
interrupt void pwm11_isr(void)
{
     sdfm_data_read();
     meas_vinternal = sdfm_meas_vinternal * vint_gain;

     if((meas_vinternal > (float32)5.01) || (meas_vinternal < (float32)4.99))
     {
          mem_1[0] = sdfm_meas_vinternal;
          mem_1[1] = meas_vinternal;
          asm(" ESTOP0"); // Embedded Breakpoint
     }

     EPwm11Regs.ETCLR.bit.INT = 1;
     PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;
}

The attached image file shows the graph being shown on Expressions for SDFM Value multiplied by Gain Value (meas_vinternal).
The attached Excel file shows a Memory Dump of 'Value read by SDFM', 'Gain Value', and 'Value multiplied on DSP'.
And I have calcualted the Error Value for the final value on DSP using the SDFM value and Gain value.

After such examination, it seems to me that it has been caused due to error of Expressions.
I would like to know in what kind of occassions such error occurs.

SDFM Memory Dump.xlsx