While doing, SFRA when I am forcing the output value as below,
VIENNA_dutyPU_DC = 0.8f;
VIENNA_duty4PU = VIENNA_SFRA_INJECT(VIENNA_dutyPU_DC);
var1.Ref =1;
VIENNA_SFRA_COLLECT((float32_t *)&VIENNA_duty4PU,
(float32_t *)&var1.Ref);
I am getting the following response.
I made var1.Ref = 0.5. Then also similar response as above.
======================================================================================
But, when I force as shown in code below , which forces output as a factor of duty I am getting below response, which is correct.
var1.Ref = VIENNA_duty4PU;
VIENNA_SFRA_COLLECT((float32_t *)&VIENNA_duty4PU,
(float32_t *)&var1.Ref);
What could be the issue in the first method ?.