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

Oscar's picture

Offline

Joined: Jun 15, 2021

Replies: 0
How to use Digital-to-Analog Converter (DAC) with STM32F10C8 Blue Pill Board
June 15, 2021 - 11:49pm

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's picture

Offline

Joined: Feb 12, 2018

Replies: 584

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