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
  • 354 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
  • 1374 Views
  • 5 replies
  • 7 kudos

STM32F767 and external SDRAM addressing issue

Hello!I have my custom board with STM32F767 and external SDRAM (MT48LC4M32B2 - 128MBit) on it.Basically the connection between them works fine, because I'm able to write and to readout the data. The problem is, that if I try to access an address abov...

0693W000005AYHaQAO.png 0693W000005AYHkQAO.png 0693W000005AYHuQAO.png 0693W000005AYIxQAO.png
Gregory3 by Associate III
  • 1729 Views
  • 2 replies
  • 0 kudos

STM32cubeMX generating HSE divider in wrong location

When changing the HSE clock divider to 2 in STM32cubeMX the code:/** Enable the HSE Prescaler */ __HAL_RCC_HSE_DIV2_ENABLE();Is generated after the HAL_RCC_ClockConfig is called. causing the clock divider on the HSE not to be taken into account w...

Resolved! STM32F417 LWIP - UDP packets are being truncated

I have a custom board with an STM32F417 MCU. It needs to communicate with a PC over Ethernet (UDP).I have used Cube MX 6.5.0 to set up my project and have enabled LWIP. The board is now sending/receiving UDP packets with the PC. However when the PC s...

grise by Associate
  • 8337 Views
  • 6 replies
  • 1 kudos

SDCard Not Working (FR_NOT_READY) on CubeIDE 1.10.1

Hello Guys, Last week I tried to add an SDCard Module on my STM32L476 project and i followed this tutorial: embetronicx.com/tutorials/microcontrollers/stm32/stm32-sd-card-interfacing-with-example/I can't read the SD in fact I get back FR_NOT_READY ...

0693W00000aH53XQAS.png 0693W00000aH53XQAS.png 0693W00000aH53XQAS.png
HNefz.1 by Associate II
  • 2261 Views
  • 6 replies
  • 0 kudos

Resolved! HAL_PWREx_EnableVddA(); was not generated when enabling ADC1.

I configured ADC1 in CubeMX for a NUCLEO-U575ZI-Q board. When testing my application HAL_ADC_Enable(); returned error, RDYFLAG was not set after the timeout.When comparing my configuration to an example I discovered that HAL_PWREx_EnableVddA(); is no...

MCseh.377 by Associate II
  • 1397 Views
  • 1 replies
  • 1 kudos

Resolved! I2C not always starting up properly

I have a design with an STM32F415 MCU which has two I2C-peripherals: a CAT24AA16 serial EEPROM and a TSC2007 touch screen controller on the same I2C bus. I2C setup is standard as generated by CubeMX. I find that 90% of the time the system starts up O...

RHarte by Associate II
  • 4135 Views
  • 6 replies
  • 0 kudos