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

Resolved! Output gain set is omitted in WM8904_Init()

Hi,// WM8904.c int32_t WM8904_Init(WM8904_Object_t *pObj, WM8904_Init_t *pInit) // ... if ((WM8904_CurrentDevices & WM8904_OUT_HEADPHONE) == WM8904_OUT_HEADPHONE) { ret += WM8904_SetVolume(pObj, VOLUME_OUTPUT, (uint8_t)pInit->Volume); } ...

ERROR by Senior
  • 91 Views
  • 2 replies
  • 1 kudos

Writing to flash generates a HardFault

Hi,I'm busy with my own BootLoader. I can erase the flash, required to store the program. But writing to the flash causes a HardFault. (I also write to flash in my application to store the configuration. That seems to work, so (normally) I can write ...

ErX_0-1769163253275.png ErX_1-1769163274310.png
ErX by Associate III
  • 130 Views
  • 4 replies
  • 1 kudos

Noekeon MCE not working on OSPI

Hello, i'm trying to using mce encription for external flash. I have the stm32h7s7-dk eval board.my mce configuration for the external memory init; my mce configuration for the boot main I followed the tutorial series https://www.youtube.com/watch?v=...

Screenshot from 2026-01-22 16-20-54.png Screenshot from 2026-01-22 16-21-24.png Screenshot from 2026-01-22 16-25-32.png Screenshot from 2026-01-22 16-25-41.png
neset by Associate II
  • 91 Views
  • 2 replies
  • 0 kudos

Zero crossing detection using AWDG

I'm using stm32u535 and would like to have zero crossing detection of supply voltage. I've requirement of 6ADC channels and all are configured in differential mode and adc clock is 25Mhz and resolution is 14 bit and dma circular mode is enabled. On c...

UART receive command with DMA

Hello, I have a query about how HAL_UART_Receive_DMA and HAL_UARTEx_ReceiveToIdle_DMA work?For my application there is a varying payload size, so I am wondering how would I trigger the HAL_UART_Receive_DMA(&huart3, rx_buffer, 4096, 0xFFFF); interupt?...

Pincate by Associate II
  • 124 Views
  • 5 replies
  • 0 kudos

STM32H723ZG Ethernet

Hello everyone,I am working with the NUCLEO-H723ZG board and attempting to establish Ethernet communication using TCP/IP. The firmware was built and flashed successfully using STM32CubeIDE version 1.19.0.However, I am facing issues with basic network...

Srivatsan_0-1768820714125.png
Srivatsan by Associate II
  • 375 Views
  • 12 replies
  • 1 kudos