I have seen there is a 12 bits DAC and I need to use it. Could you provide an example code for the ADuCM350 or libraries please ?
Example codes are available for download in ADUCM350 Datasheet and Product Info | Analog Devices under design resources > Software development kit.
Controlling the DAC should be straight forward, you only need to write to a few registers. Please refer to page 316 of ADuCM350 Hardware Reference Manual (Rev. E) (analog.com) for more details on ADuCM350's waveform generator/DAC control.