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
  • 456 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
  • 1442 Views
  • 5 replies
  • 7 kudos

How to make the right connection for using DDR Test Suite?

The board is installed with the system( stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15) by following the Getting started .All drivers are installed.However, in the DDR test suite, I cannot connect to the device.How to make the right connecti...

0693W00000QMwtvQAD.jpg 0693W00000QMx0DQAT.jpg 0693W00000QMx03QAD.jpg

STM32H7, MX make HAL without ISR?

On an STM32H7, is it possible to configure CubeMX to make a HAL that does not use an ISR? It makes one for Tick to increment the tick counter.

DRook.2 by Associate II
  • 637 Views
  • 1 replies
  • 0 kudos

STM32CubeMX/STM32CubeIDE does not include DelayBlock LL driver when using OctoSPI peripheral with Delay Block Enabled on STM32H7A

Using STM32CubeMX/STM32CubeIDE - when enabling and configuring the OctoSPI peripheral (Hyperbus mode) on STM32H7A and enabling the Delay Block feature, the LL driver for DelayBlock does not get included in generated projects.I had to enable SDMMC1 to...

rvumbaca by Associate II
  • 2260 Views
  • 8 replies
  • 0 kudos

Strange line (bug?) in LL_TIM_BDTR_Init()

Lines 792..793 in stm32h7xx_ll_tim.c: MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, TIM_BDTRInitStruct->AutomaticOutput); MODIFY_REG(tmpbdtr, TIM_BDTR_MOE, TIM_BDTRInitStruct->AutomaticOutput);That second line looks odd as TIM_BDTRInitStruct->AutomaticOutput ...

mkm_ctv by Associate II
  • 1114 Views
  • 3 replies
  • 0 kudos

Bug in resolution setting when using LL for ADC3

As indicated in community.st.com/s/question/0D53W00000zoHteSAE/h7cubemx-critical-bugs-with-ll-and-adc3 there seems to have been a bug where the resolution wasn't correctly set when working with ADC3.As of today, the conversion seems to instead be mad...

mkm_ctv by Associate II
  • 1908 Views
  • 8 replies
  • 1 kudos

Resolved! Where can I measure 25 megahertz intended for HSE?

STM32F407 Discoveryen.MB997-F407VGT6-C01_Schematic.pdfHSE quartz 8 megahertz.How are 4-26 MHz generated for HSE?With an oscilloscope, I see only 8 megahertz on X2 quartz.Where are those 25 megahertz that are listed as input for HSE?In the documentati...

_legacyfs_online_stmicro_images_0693W00000biD0jQAE.png
MMust.5 by Senior II
  • 893 Views
  • 1 replies
  • 0 kudos

Resolved! How can I change the project name in STM32CubeMX

Hi,I have an issue, I can't change the project in STM32CubeMX. I wrote the project name V04 at the beginning of the project now I would like to change how can I do it. I don't touch even the textbox.Thank you

_legacyfs_online_stmicro_images_0693W00000biA5RQAU.png
BArsl.1 by Associate II
  • 2871 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F777ZIT FreeRTOS with Ethernet is not working.

Hello,We are struggling with the configuration of LwIP for my STM board over FreeRTOS.We have our own designed board with STM32F777ZIT controller.Ethernet and LWIP is working as expected as we used without FreeRTOS middleware but we are not able to i...

SKale1 by Associate II
  • 3247 Views
  • 4 replies
  • 0 kudos

Resolved! UART only receive one byte

I'm trying to receive more than 1 byte but it receive only 1 byte. Poll method or IT, it doesn't matter. Always receives 1 byte and writes it in rx_buffer[0]. When I search it I found out the reason is timeout, I increase timeout 1000 from 100ms but ...

MÇETİ.1 by Associate III
  • 9528 Views
  • 13 replies
  • 0 kudos

Resolved! HAL_I2C_Transmit returns HAL_BUSY.

I am trying to write a code so that I measure temperature and humidity via HTU21D sensor. It uses I2C interface. In the datasheet:The HTU21D(F) sensor requires a voltage supply between 1.5V and 3.6V. After power up, the device needs at most 15ms whil...