STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Putting STM32F7508-DK to Sleep

I understand that, in order to put the F750 to sleep AND reduce power supply heat during sleep, we should use:HAL_PWR_EnterSLEEPMode(PWR_LOWPOWERREGULATOR_ON, PWR_SLEEPENTRY_WFI);WFI();But I have not read what happens when the CPU is not sleeping (du...

DRobe.4 by Senior
  • 369 Views
  • 0 replies
  • 0 kudos

Run DAC with DMA for audio - update buffer continuously?

Hi :) I am trying to play audio from an SD card to the built-in DAC of my Nucleo-F446RE.I am using DMA, and one buffer of 10240 size, which I want to update continuously using the Transfer Complete / Half Complete callbacks.The code is quite simple, ...

SLasn.1 by Senior
  • 1803 Views
  • 4 replies
  • 0 kudos

Call C++ function from C file

I would like to call C++ function from C file. How to do that.I have C++ function call Cpp_func() in test.cpp file. In test.h file, I declare as extern "C" Cpp_func(void); This gives me error that expected identifier.

Iswarya by Associate II
  • 2138 Views
  • 4 replies
  • 0 kudos

DAC conversion with 12 bits resolution

Hi!I am struggling while using the DAC of my STM32F446RE with 12 bits resolution. I want to output the value of a variable (val_av) after some calculations on the STM and collect it with a data logger. At the beginning, I had a data logger with digit...

MHuer.1 by Associate II
  • 1008 Views
  • 1 replies
  • 0 kudos

ZLIB With STM32

Hello,does anyone use ZLIb in their STM32?I having some problems and I wish for help...Thanks.

Lmali.1 by Associate III
  • 1066 Views
  • 1 replies
  • 0 kudos

stm32 nucleo driving buzzer with notes

I want to drive simple buzzer with HAL library.I did this with mbed library and I played simple pirates of the caribbean melody.My mbed code like this :#include "mbed.h"   #define NOTE_C4 262 //Defining note frequency #define NOTE_D4 294 #define ...

Baaa.1 by Associate
  • 3875 Views
  • 4 replies
  • 0 kudos