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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

Resolved! About B-L4S5I-IOT01A BLE

Dear Sir​・I want to use BLE with B-L4S5I-IOT01A.(FreeROTS)・However, "UM2178" and "Table 1. FreeRTOS ™ porting abstractions" say "not available".​​B-L4S5I-IOT01A cannot use BLE?​Can I use BLE if I create a project with CubeIDE and implement "STM32_Blu...

KHosh.1 by Associate II
  • 2121 Views
  • 6 replies
  • 0 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
  • 1536 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
  • 633 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
  • 1321 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
  • 909 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
  • 1191 Views
  • 5 replies
  • 0 kudos