Hi expert,
My customer is reading ADC result with CLA.
Statement as below:
vxCapR = AdcaResultRegs.ADCRESULT0;
vxCapR is a float type variable.
The result we get from vxCapR is 65535 times of the actual voltage value on ADC pin.
Disassembly is shown below:
818 vxCapR = AdcaResultRegs.ADCRESULT0;
0000a3d8: 74800B00 MUI32TOF32 MR0, @0xb00
0000a3da: 74C01490 MMOV32 @0x1490, MR0
CCS: v8.3.1;
Compiler: v18.12.5 LTS
Thanks
Sheldon