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

Program STM32L471 with HAL_FLASH_Program failed

I am migrating from STM32L431 to STM32L471. After migration, the function relating to internal flash writing does not work any more. The problem is when I programmed internal flash with HAL_FLASH_Program(FLASH_TYPEPROGRAM_DOUBLEWORD, address, data), ...

Huiqi by Associate II
  • 205 Views
  • 8 replies
  • 3 kudos

Resolved! ADC sampling frequency questions

Doing the set up in MXI have four ADC channels on APB2 with PCLK2 at 84 MHz sampling 4 microphones.The recommended audio sampling rate stretch from 44.1 kHz up to 96 kHz, so initially I'm happy anywhere in that range for now. I have set the clock pre...

Resolved! USBX Audio - Speaker does not play true stereo

I am using a UX_Device_Audio2.0-based project on H7. When I play a stereo file (actually dual mono), the right channel plays correctly, but the left channel contains a mix of left + right.When I play mono file, the right channel is much louder while ...

audio by Senior
  • 172 Views
  • 6 replies
  • 2 kudos

STM32U5 SDMMC1 & 4-wired MicroSD

Hello, I am currently using an STM32U5G9 and would like to connect a microSD card via SDMMC1 to expand data storage. My Zephyr device tree contains the following node: &sdmmc1 { status = "okay"; pinctrl-0 = <&sdmmc1_d0_pc8 &sdmmc1_d1_pc9 &sdm...

devin-hu by Associate II
  • 124 Views
  • 1 replies
  • 0 kudos

STM32L49x and BFB2 bit

Hi everyone!Just finished a dual boot system but during testing I bumped into a weird issue. With BFB2 bit unset firmware starts smoothly but when it is set, it ends up in some bootloader loop although it should switch to opposite bank (FB_MODE = 1) ...

Alekseus by Associate III
  • 77 Views
  • 2 replies
  • 0 kudos