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

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
  • 1626 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
  • 7862 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
  • 2132 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
  • 1309 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
  • 3765 Views
  • 6 replies
  • 0 kudos