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
  • 353 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
  • 1373 Views
  • 5 replies
  • 7 kudos

FMC MDMA setup with display

Hello,Our project uses an STM32H743VIT and we are building the project on Cube rev. 1.7.0.Currently we use the HAL function HAL_SRAM_Write_8b to control a display on address 0xC0000000 on bank 1. (the display has an onboard controller SSD1351 setup f...

0693W00000FAlm2QAD.png
Bvan .6 by Associate II
  • 1872 Views
  • 2 replies
  • 0 kudos

I want to erase, read and write in external Nor flash of STM32F429NI When only my NOR Pins are selected in the '.ioc' file I am able to perform the above functions, but when I integrate the code with my project which contains the ETH it fails.

I am selecting the pins PD4, PD5, PD6, and PD7 in the '.ioc' file.The .ioc when only my nor pins are selected. The pins only when ethernet is being enabled. When I enable both the ethernet and the external nor flash. I see the overlapping of pins whe...

0693W00000FBG4LQAX.png 0693W00000FBG4kQAH.png 0693W00000FBG54QAH.png
PRaja.3 by Associate
  • 792 Views
  • 1 replies
  • 0 kudos

Resolved! Hi, I'm using STM32L031K6 (Nucleo) and I'm trying to read register on ICM-20948 via I2C but it seems like the master never sends the write bit at the end of the address byte.

I tried HAL_I2C_Master_Transmit, HAL_I2C_Master_Receive, HAL_I2C_Mem_Write, HAL_I2C_Mem_Read and even the DMA functions but nothing works - The 8th bit is always 0 and the ACK is always 1.Due to the fact that I'm trying to read the WHO_AM_I value of ...

0693W00000FAxQwQAL.png
YBCH.1 by Associate II
  • 1526 Views
  • 2 replies
  • 0 kudos

Resolved! Stm32H7, CubeMX, CMSIS V2, FreeRTOS: Interrupts disabled while creating new task, but not enabled again until scheduler is started.

When creating a new Freertos Task like this: osThreadNew(StartDefaultTask, NULL, &defaultTask_attributes);prvAddNewTaskToReadyList(...)will be called and uses taskENTER_CRITICAL()to disable interrupts. This breaks down to the call of void vPortEnterC...

Resolved! Potential bug for STM32F303 for LL USART and DMA operation

Hello,I created a simple project for a board NUCLEO-F303RE enabling USART2 and DMA for transmit and I believe there is a bug in the code generation that doesn't configure properly the peripherals.The generated code has: /* Initialize all configured ...

MDega.2 by Associate II
  • 1175 Views
  • 1 replies
  • 0 kudos

Virtual port COM on STM32F756ZG visible but OTG_FS_IRQHandler appear all the time. So I can't communicate with my computer. Why?

I cannot communicate with my computer. I detect the port but in debug mode, I see that the OTG_FS_IRQHandler interrupt is triggered regulary when I send data on my computer.I did the same thing with my dicsovery card F411, it works. But with nucleo F...

0693W00000FAlpfQAD.png 0693W00000FAlpuQAD.png 0693W00000FAlqTQAT.png 0693W00000FAlsUQAT.png
FToub.1 by Associate II
  • 1469 Views
  • 5 replies
  • 0 kudos