STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ADC + DMA on STM32H753ZI

Hi All, I have a question regarding the validity of my implementation of ADC + DMA on the STM32H753ZI. I had quite a lot of trouble getting the HAL_ADC_ConvCpltCallback configured as void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc) { coun...

eskilru by Associate
  • 586 Views
  • 1 replies
  • 0 kudos

Resolved! STM32N6 Nucleo audio input using SAI with GPDMA

Hello everyone,I'm trying to configure the SAI and GPDMA peripherals on an STM32 to acquire audio from an I2S microphone. My goal is to capture a 32-bit, 2-channel audio stream at a 16 kHz sample rate, with the STM32 acting as the clock master. I've ...

jweber by Associate II
  • 1821 Views
  • 5 replies
  • 0 kudos

STM32C0 rewrite flash without erase

Hey all,I'm trying to get embedded Lua (https://eluaproject.net/) running on an STM32C0 MCU. The implementation has a Write Once Filesystem that uses flash and can be appended to but not modified.The issue is that the WOFS relies on being able to wri...

rous by Associate
  • 634 Views
  • 5 replies
  • 2 kudos

Resolved! Can't make printf via USART work

I'm using an STM32U5A9J-DK and I've followed this guide step-by-step https://community.st.com/t5/stm32-mcus/how-to-redirect-the-printf-function-to-a-uart-for-debug-messages/ta-p/49865From the docs https://www.st.com/resource/en/user_manual/um2967-dis...

nico23_0-1763207162487.png
nico23 by Senior III
  • 494 Views
  • 1 replies
  • 0 kudos

Resolved! Sending UART messages between two boards

Good morning, I need to connect two h7a3zi-q board via uart (only one way required), but by only connecting tx1->rx2 the programs run but I get empty strings, and by also connecting the grounds of the two boards the tx program gives HardFault. I'm su...

Jack_DB by Associate II
  • 898 Views
  • 8 replies
  • 10 kudos

Resolved! Initialization of OpAmps in STM32G474

Hi,I'm going to use four different OpAmps in the STM32G474, namely OPAMP3, OPAMP4, OPAMP5, and OPAMP6.At this moment I try to initialize all four OpAmps. The first three work perfectly well, the initialization of OPAMP6 results in a problem. The Stat...

ErX by Associate III
  • 582 Views
  • 4 replies
  • 1 kudos