I tried ADCDAC0 example code from the NHS31xx SW API doc:
Example-1 Single Shot Digital-to-Analog Conversion with Polling
Chip_ADCDAC_Init(NSS_ADCDAC0);
Chip_IOCON_SetPinConfig(NSS_IOCON, IOCON_ANA0_0, IOCON_FUNC_1);
Chip_ADCDAC_SetMuxDAC(NSS_ADCDAC0, ADCDAC_IO_ANA0_0);
Chip_ADCDAC_SetModeDAC(ADCDAC_IO_ANA0_0, ADCDAC_SINGLE_SHOT);
Chip_ADCDAC_WriteOutputDAC(NSS_ADCDAC0, 3000);
I got a voltage pulse, then it returns to zero.
If I change the SetModeDAC to ADCDAC_CONTINUOUS, the voltage is held at the appropriate level.
Shouldn't the Output Hold Amplifier keep the output voltage continuous in Single-Shot, or what am I missing?