cancel
Showing results for 
Search instead for 
Did you mean: 

Blue pill does not have DAC in Cube

IDavo.1
Associate II

Hi All

Today I wanted to start working with Bluepill DAC that turn out in STM32CubeIDE there is no DAC peripheral and I was shocked. Does anyone know what the h... is that issue? and how to solve it? I don't like to configure it by myself.

1 ACCEPTED SOLUTION

Accepted Solutions
S.Ma
Principal

use a pwm with external RC filter as woraround... and change its duty cycle.. a timer will do the job.

View solution in original post

4 REPLIES 4
berendi
Principal

That is because it does not have a DAC. Who told you that it has one? Check the MCU datasheet.

IDavo.1
Associate II

Yes apparently it does not have an DAC which is really bad. In reference manual there is chapter about DAC so I thought it might have. Thanks for the answer

S.Ma
Principal

use a pwm with external RC filter as woraround... and change its duty cycle.. a timer will do the job.

Yeah great smart Idea.