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.15.0 released

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

CubeMX bug in generating ThreadX files for Cortex_M55

Hello, Using the latest CubeMX 6.15.0 I was generating ThreadX for Secure - Non Secure Project (for STM32N6 - Cortex_M55). This did not add file : "\Middlewares\ST\threadx\ports\cortex_M55\gnu\src\txe_thread_secure_stack_allocate.c" and so is not add...

MX_FLASH_Init does not launch option bytes loading

MCU: STM32H563VITx Stm32CubeMX version: 6.14.0 HAL Driver version: 1.5.0 When I enable EDATA option bytes in CubeMX, it generates the following code: void MX_FLASH_Init(void) { /* USER CODE BEGIN FLASH_Init 0 */ /* USER CODE END FLASH_Init 0 */...

CubeMX USB RTOS issue

      在32位中,字的单位应该要*4吧?为什么这里直接是按字节赋值???坑死我了 Translation: "In 32-bit, the word unit should be * 4, right? Why is it assigned directly by byte here? ? ?"   Edited by ST moderator to be inline with the community rules. In next time please write in E...

dxgvbsdfgsd_0-1756272017129.png dxgvbsdfgsd_2-1756272037356.png dxgvbsdfgsd_3-1756272048683.png dxgvbsdfgsd_4-1756272140038.png

Wrong file name for linker script

When generating code for Makefile, the MacOS version 6.15 succeeds while the Linux version 6.15 fails.I have the same version of firmware packages installed on both OS.MacOS STM32CubeMX produce this following snippet in the Makefile##################...

Resolved! How to set STM32H755 sysclk to 480MHz?

Hi there,According to the STM32H755 datasheet, the Cortex-M7 frequency can reach up to 480MHz.However, when I configure the sysclk in STM32CubeMX, it shows the maximum frequency is 300MHz.What's wrong with my config? Or is there any misunderstanding ...

Junde_0-1755251128177.png
Junde by Senior III
  • 335 Views
  • 3 replies
  • 4 kudos

IOC not generating pin setup for gpio output

My colleague is working with the stm32h743.Initially PC7 was setup as a PWM output.  That worked fine.When he changed the pin to GPIO_output, no code was produced to set up the pin.By manually entering code, we could get the pin to be configured as w...

jwtuttle by Associate II
  • 475 Views
  • 9 replies
  • 2 kudos

HAL_UART_Transmit_DMA() doesn't?

I am porting code from an existing project that runs on an STM32F4 chip onto an STM32H7 chip, and have been losing my sanity for a couple of days trying to get over hurdle #1: I use a UART for communicating with the chip, and have not been able to ge...

E P by Associate III
  • 16549 Views
  • 18 replies
  • 7 kudos