How to use Digital-to-Analog Converter (DAC) with STM32F10C8 Blue Pill Board

Submitted by Oscar on

Hi everyone!

I'm trying to use the MCP4725 (DAC) on my STM32F103C8 BluePill, just like in this video: https://www.youtube.com/watch?v=mNA9rHX-yJQ . But, I need to build it

on STM32 Cube IDE.

Could someone sent me an example to do it?

Sourav Gupta

  Joined February 12, 2018      696

Monday at 02:11 PM

Use simple I2C. Conenct as per the same youtube video. Same code will work with minimum modification as per the mcu.