Other Parts Discussed in Thread: C2000WARE
Hello,
We are using the ADC VREFHI/VREFLO as reference voltages for the DAC and we therefore must run the DAC offset adjustment unless I am mistaken.
The TRM states:
Use the function call DAC_tuneOffsetTrim() found in C2000Ware to adjust the offset.
I looked at the code and the code is based on a read of the current value of the register which is problematic if the call to the calibration function is performed multiple times.
Is there a way to base the calibration on a value that would be readable from OTP similarly to the ADC ?
Best regards,
C. Letonnelier