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.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
  • 193 Views
  • 2 replies
  • 5 kudos

CubeMX Generated ThreadSafe/stm32_lock.h - Potential Bug

I've burned a significant amount of time tracking down an issue, so I thought I would share in the hope of helping others and maybe improving ST's provided newlib locks.(This is probably in the wrong place, please move it as required.)I'm using the T...

BCowp.1 by Associate II
  • 5745 Views
  • 6 replies
  • 13 kudos

Will the FTP addon for AZRTOS work for an F7 chip?

I'm looking to utilize an FTP server with the STM32F7NI-Discovery board. Specifically I'm looking at taking Nx_Webserver demo for that board (which works great) and adding the ftp module to it that NetxDuo provides. However, I'm seeing that the F7 ch...

ijohnson_0-1760718396710.png ijohnson_1-1760718438588.png
ijohnson by Associate
  • 141 Views
  • 1 replies
  • 0 kudos

assert_param(expr) defined in two files?

I have a project for STM32F777 generated by STM32CubeMX 6.15.0.The macro definition of #define assert_param(expr) exists in 2 include files - stm32f7xx_hal_conf.hand stm32_assert.hBoth files are included on different levels of the project. Is there a...

Ceco by Associate II
  • 201 Views
  • 2 replies
  • 0 kudos

I2C1 stops working over 8MHz STM32F042F6P6

Hello all, I'm having problems with I2C1, i have a code that works perfectly while i configure the HCLK to 8MHz but it stops working when i set any higher frequency. Has anybody faced similar problem? I am using STM32CubeIDE for setting the project, ...

Davaol19 by Associate III
  • 3975 Views
  • 22 replies
  • 7 kudos

STM32H7 interleaved ADCs and single DMA confusion

Hi all,I am trying to implement ADC acquisition on one channel, with 14 bit, 4x oversample, at 1 Msmps (1 megasample per second). This is possible only using dual interleaved mode. Moreover, I want to acquire continuosly with circular DMA.But it is n...

Clipboard01.gif Clipboard02.gif
linuxfan by Associate II
  • 1707 Views
  • 6 replies
  • 0 kudos

IOC Code generation doesn't work for PVD

In the IOC editor, under PWR, and Monitoring, I have set belowand, I read that below in NVIC needs to be setWhen I look at git diff to observe changes, no files except ioc have been changed. How do I get it to work. I am using CubeIDE 1.19.   

stacatoengineer_0-1760541467663.png stacatoengineer_1-1760541493038.png stacatoengineer_2-1760541503703.png stacatoengineer_3-1760541549745.png