Hi,
I'm trying to get the Reference DAC working to output a voltage to a external load, but I'm unable to get a stable output. This is how the output looks like:
I use Sensor Controller Studio and Launchpad CC1312R (Rev E) to test my Task which looks as follows
Init Code:
// Select COMPA input compaSelectGpioInput(AUXIO_A_DAC); compaEnable(COMPA_PWRMODE_ANY); refdacStartOutputOnCompaIn(100); refdacEnable(REFDAC_PWRMODE_ANY, REFDAC_REF_VDDS); refdacWaitForStableOutput(); fwScheduleTask(1);
Execution Code:
fwScheduleTask(1);
AUXIO_A_DAC is mapped to DIO30 as a Analog Pin.
Default power mode is Active.
If I single step through the init code the signal is nice and stable after refdacEnable().