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.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
  • 1001 Views
  • 5 replies
  • 7 kudos

Resolved! Multiple spi_nss pins?

I am assigning pins on a STM32F446 micro in cubemx, and I would like to connect multiple chips to the micro on one spi bus.I would like each chip to be connected to a separate chip select pin, aka spi_nss.When I try to assign a second spi_nss pin, it...

JAzri.1 by Associate
  • 1831 Views
  • 1 replies
  • 0 kudos

Resolved! Enable encoder mode on Ch3 & Ch4 of timer?

Hello,I am assigning pins on a STM32F446 micro in cubemx, and I would like to read 2 encoders.When selecting Encoder Mode under the Combined Channels dropdown of the timer configuration, it automatically selects ch1 & ch2.Ch1 of the timer conflicts w...

0693W000000X6q4QAC.png
JAzri.1 by Associate
  • 2203 Views
  • 1 replies
  • 0 kudos

Nucleo-L4A6ZG not supported in STM32CubeMX/IDE

I have Nucleo-L4A6ZG board and want to use STM32CubeIDE o program it, but there is no Nucleo-L4A6ZG board in the Board Selector list. Is there a package I can install for it or I must select STM32L4A6ZG in MCU Selector and configure the rest myself?

FVran.1 by Associate
  • 760 Views
  • 3 replies
  • 0 kudos

Cannot create IP address when using CUBEMX for STM32H745

When I use CUBEMX version 5.5 with firmware Cube_H7_V1.6.0 for ETHERNET, I configured the IP address but when GENERRATE CODE for KeilC I did not see my IP address created.Is this an error? Because when I used the version before version 5.4 with firmw...

0690X00000ByGLYQA3.png 0690X00000ByGLJQA3.png
LDat by Associate
  • 637 Views
  • 1 replies
  • 0 kudos

STM32H743ZI I was trying to read multiple channels from ADC1 and ADC3. Using polling method i am able to get the values but when I try using DMA(HAL_ADC_Start_DMA(&hadc1,(uint32_t*) adc,6);) I am not getting any values.

In community they have asked to disable D cache (https://community.st.com/s/article/FAQ-DMA-is-not-working-on-STM32H7-devices). How to disable D cache globally. I made the necessary changes in the linker script. I am using system workbench for stm an...

0690X00000D9468QAB.png
MR.11 by Associate II
  • 775 Views
  • 2 replies
  • 0 kudos