Part Number: TMS320F28377S
Tool/software: Code Composer Studio
Hi,
How can i make this line of code to work
EPwm7Regs.CMPA.bit.CMPA = sqrt(((double)AdcaResultRegs.ADCRESULT0)/4096);
when I look at
EPwm7Regs.CMPA.bit.CMPA it is always 0 and watch expression
sqrt(((double)AdcaResultRegs.ADCRESULT0)/4096)
shows me "unknown" data type and this error
'sqrt()' not found at sqrt(((double) (AdcaResultRegs).ADCRESULT0/4096))
thanks vadim