This breakout development board can be found easily online. The interface is I2C, for other microcontroller it's easy to hook up and wire.h library can handle the job sending the value to DAC. For STM32F103 family, the example codes are there after googling but none of them work.
It seems the I2C interface get some error. That's the reason I don't use I2C interface but I emulate the IO pin instead.
The code will init the IO, then zero the DAC and sending increment DAC count from 0 to 4095. The maximum voltage output depends on the VCC, in my case is 3.3V. In many example shown the address is before left shift that's why they are 0x62 or 0x61 but for me the address is 0xC4 because directly implemented through I2C. This circuit will be useful for 0-20 or 4-20mA project revision 3. Using STM32F103C8T6, 7 segment display, DAC, step up DC/DC and voltage to current converter make the revision will be much easier to do.
You can get the code here. Please send me your comment or report your bug to silvester.dao(_)gmail.com