Part Number: LP-MSPM0G3507
Tool/software:
Hello,
I have a few questions about the steps involved in using the DAC self-calibration feature.
-
According to the reference manual on page 753, it states that the
CTL.AMPbit should be set first, followed by theCALCTL.CALONbit. However, when I follow these steps, I don't see any data in theDAC0_CALDATAregister. Conversely, if I useDAC12_CALCTL_CALSEL_SELFCALIBRATIONTRIMin theDAC0->CALCTLregister, data does appear in theDAC0->CALDATAregister. -
Should I set the calibration bits before enabling
DAC0? -
What does it mean when I see values like 8, 9, or 42 in the
DAC0_CALDATAregister? What do these values represent?
Additionally, I set the DAC output value to zero and measured approximately 3 mV on pin PA15 and GND with a multimeter without enabling self-calibration. After enabling self-calibration by setting the CTL.AMP bit and then configuring DAC0->CALCTL = DAC12_CALCTL_CALON_ACTIVE | DAC12_CALCTL_CALSEL_SELFCALIBRATIONTRIM, I observed around 5 mV on the multimeter and a DAC0_CALDATA value of 8. Could you help me understand why this change occurs?
Apart from that there is an error here

it must be 0h, 1h, 2h and 3h
Best regards,
Ali
