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

Resolved! Enable LWIP without ETH IP in CubeMX

Hello,I am working with a STM32H743 and an Ethernet controller which I drive with SPI.So I don't use the ETH config in CubeMX (and I can't because pins are already taken by other functionalities), but I'd like to use the LWIP package which can't be e...

_legacyfs_online_stmicro_images_0693W00000dDPKcQAO.png _legacyfs_online_stmicro_images_0693W00000dDPKmQAO.png
SMari.10 by Associate II
  • 2604 Views
  • 2 replies
  • 1 kudos

Resolved! Hellp start to CubeMX

Hello friends, I am starting to use "CubeMX", I want to configure memory, static RAM and LCD. But I'm having trouble figuring out how to configure these peripherals, do you have a guide to configure this peripheral and CubeMX?Thanks!

A.Rade.96 by Associate III
  • 1777 Views
  • 5 replies
  • 2 kudos

Resolved! PA0_C GPIO PIN

I have stm32h745i-disco for my project and use PA0_C and PC_3 for output. and when i use usual HAL_GPIO_WritePin() it is not working. Should i change something to make it work? Please help 

BAl K.1 by Associate III
  • 2290 Views
  • 2 replies
  • 0 kudos

Bug: Cube MX 6.8.1 issues with linker script in a Makefile project

I don't know if this also affects non-makefile projects. But when the code is generated, the linker script name used in the Makefile is different than the actual name of the linker script file. Running make causes this error: /opt/gcc-arm-none-eabi/b...

S0 by Associate
  • 967 Views
  • 0 replies
  • 0 kudos

Resolved! Bug: STM32CubeMX 6.8.1 STM32G431 TIM1 LL init code generation

how to reproduce:generate a new C project for Nucleo-G431RB with all default settings.enable TIM1 with internal clock sourceset the prescaler to 170-1set code generation for TIM to LLgenerated code:   /* USER CODE END TIM1_Init 1 */ TIM_InitStruct...

KnarfB by Super User
  • 1540 Views
  • 1 replies
  • 0 kudos

H743 and LAN8742 init

I'm still struggling with the ethernet code. I have some custom hardware that where several H743 controllers are powered on at the same time and sometimes they don't get all a connection (no IP address from dhcp). But I can reproduce this error as we...

JojoS by Associate III
  • 4326 Views
  • 8 replies
  • 3 kudos

USE_NEWLIB_REENTRANT

After enabling USE_NEWLIB_REENTRANT in FREERTOS (pic.1) I get error notification in LWIP (pic.2) and also after I try to compile this settings (pic3). This error info disappear when I manually put in 1 in the fieldwith red error text (pic.2 > RTOS De...

1.jpg 2.jpg 3.jpg
MCUpwr by Associate III
  • 1279 Views
  • 0 replies
  • 0 kudos

CubeMX 6.8.1 for F7 does not support FreeRTOS 10.3.1

I'm porting an active application project from F4 to F7 (The customer had to change as of the problem to get F4 MCUs).The current project that was generated with CubeMX used FreeRTOS 10.3.1 as this is the version that the CubeMX support.Now, when I p...

Egolt.1 by Associate III
  • 667 Views
  • 0 replies
  • 0 kudos

STM32Cube FW_L1 V1.10.3 library has a bug and does not support ADC regular group conversions greater than 16 (conversions) ranks.

The CubeMX correctly allows selection of up to 28 conversions, but generated code fails when set above 16. The libraries sequencer scan length definitions end at LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS and ADC_SQR1_L_4 is not found in the libraries but ex...

robd by Associate II
  • 1332 Views
  • 2 replies
  • 0 kudos