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.

This discussion is locked. Please start a new topic to ask your question.
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

5 REPLIES 5
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.

Peter BENSCH
ST Employee

This thread relates to a so-called Blue Pill, which uses illegally cloned STM32F103. ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.

We recommend to purchase genuine products from STMicroelectronics and purchase them from known and trusted distributors.

This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.

Thank you for your understanding.

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.