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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1556 Views
  • 0 replies
  • 2 kudos

Resolved! SPI + DMA only transmitting half of total bytes sent?

I am trying to setup SPI communication via DMA on the STM32L4S9AII6 MCU. It seems to be half working as you see in the image "SPI Bug". In this test I am sending a string of 6 bytes. As you can see, only the first half make it out of the MCU alive, b...

MFolk.1 by Senior
  • 4709 Views
  • 6 replies
  • 0 kudos

I have a problem with USB working properly - USB CDC (Virtual Com Port) with CubeMX HAL. After disconnecting the USB cable and connecting again operation system outputs a message "unknown device with code 29".

Hello.I have a problem with USB working properly - USB CDC (Virtual Com Port) with CubeMX HAL after disconnecting the USB cable and connecting again.For the test I created a project similar to the one presented here - https://www.youtube.com/watch?v=...

Initiate 2nd ADC Watchdog Help

I have two ADC channels that l am trying to configure to have their own ADC watchdog. Experimenting with the threshold values l can get the first watchdog to fire on each channel and it calls HAL_ADC_LevelOutOfWindowCallback() as needed. The second A...

DWill.4 by Associate II
  • 1861 Views
  • 2 replies
  • 0 kudos

stm32cubeide won't let me select DMA1 with ADC periphereal

When adding a new DMA request to the ADC1 periphereal the only stream options available are DMA2 stream 0 and DMA2 stream 4. As I don't have any other DMA request enable I would expect to be able to select any stream from any DMA periphereal. Why is ...

0693W00000KZeSjQAL.png
Vde P.1 by Associate II
  • 2307 Views
  • 4 replies
  • 0 kudos

PLC01A1 Example Code for Nucelo-F401RE

Hello ST community, I recently bought a PLC01A1 expansion PLC board for my NUCLEO-F401RE and I am having trouble compiling the example code provided on the PLC01A1 website. After carefully integrating the code in STM32CubeIDE, I was prompted with the...

HMina.1 by Associate II
  • 2351 Views
  • 4 replies
  • 0 kudos

Resolved! How to disable USB Mass storage at runtime.

I to all,I have a project where an STM32F013RTC use an SD card.At run time the SD is share with FAT_FS or it is used as USB mass storage device, but not at the same time.I need to disable USB module.The configuration is made from CubeMX, so I have th...

ABatt.1 by Senior
  • 2614 Views
  • 3 replies
  • 0 kudos

STM32H725 ADC1/2 run at half the configured speed?!

Hi,I'm currently setting up ADC1/2 of STM32H725IGx, using STM32CubeMX 6.3.0 with FW_H7_V1.9.0. They are configured to run at async ADC clock, which is about 126 MHz defined in CubeMX Clock Configuration, divided by 4 => 31,5 MHz.However, sampling and...