STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.16.1 released

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 307 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1328 Views
  • 5 replies
  • 7 kudos

Error[Lp015]: section placement failure caused by HAL_Unlock???

Im using an F4 and modified my code to support an analog input using CubeMX. It messed up my project directory so i copied the new adc files to my unharmed project. I now get an "Error[Lp015]: section placement failure: overcommitted content in [0x80...

Taco! by Associate
  • 1793 Views
  • 4 replies
  • 0 kudos

A lot of errors in STM32Cube_FW_F0_V1.11.0

Error 1:MX version: STM32CubeMX 5.4.0Firmware: STM32Cube_FW_F0_V1.11.0Compiler: IARMCU: Any in F0 seriesCompiling error:Error[Pe147]: declaration is incompatible with "__interwork __softfp void assert_failed(uint8_t *, uint32_t)" (declared at line 30...

TNaxi by Associate II
  • 3241 Views
  • 11 replies
  • 2 kudos

Use I2S in DMA mode(STM32f401 + PCM5102A)

I want to send audiodata from STM32f401 MCU to PCM5102A audio codec through I2S interface. Here are my settings in CubeMX:Code I used is:const uint16_t wavedata[] = { /* Random data, length 1024 */ };   void beep_blocking() { HAL_I2S_Transmit(&hi2s...

0690X00000AsYOyQAN.png 0690X00000AsZeEQAV.png
sincoon by Associate III
  • 1801 Views
  • 1 replies
  • 0 kudos

Encoder mode with input capture ?

I want to measure speed of motor precisely with encoder pulses and for that I saw this topichttps://community.st.com/s/question/0D50X00009fDstgSAC/can-you-combine-encoder-and-input-capture-both-from-the-same-pin@Werner D�hn​  @akosodry​  and from wha...

goktug by Associate
  • 2252 Views
  • 2 replies
  • 0 kudos

eMMC with FATFS (Need Help!)

Hi all,​I have already built a project with STM32CubeMX ,and tried to read & write files in eMMC storage using FATFS. And now I can read the SDcard information & files by using FATFS, but for eMMC just can not and always return FR_DISK_ERR. I have us...

STM32F3 ADC with DMA Bug?

STM32CubeIDE with STM32F3 HAL Library version 1.11.0.Using HAL library to set up timer (TIM6) driven ADC (ADC1) trigger with DMA (DMA1) capture. DMA does not configure correctly.The Cube Generated code in main.c configures the hardware as: /* Initial...