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
  • 1248 Views
  • 0 replies
  • 2 kudos

USB HS on H730 is temperamental, constant error_handler()

I am using the H730, with the USB High Speed enabled on my own PCB setup. On some occasions, the USB will work as expected. However, most of of the time, it would enter the Error_Handler Loop. I used the CUBEIDE and ioc gui to enable the usb hsThe tr...

RAnge.1 by Associate
  • 1310 Views
  • 1 replies
  • 0 kudos

Resolved! How many endpoints does STM32F105RBT6 USB have?

The STM32F105RBT6 manual shows that there are 1 control endpoint, 3 IN endpoints, 3 OUT endpoints, but the USB driver code generated by CubeMX now shows hpcd_USB_OTG_FS.Init.dev_endpoints = 4; are these 3 IN and OUT endpoints shared? 4 endpoints and ...

0693W00000FCSvnQAH.png
arilink by Associate III
  • 2895 Views
  • 5 replies
  • 0 kudos

Resolved! TIM2->CCR2 Value Always Zero

Hi,I am running Capture Mode at TIM2 channel 1. My CubeMx configuration below. I am getting CCR1 value correctly but i checked at debugger mode, CCR2 value is always 0. Thus i can't measure duty. What's the problem ?

0693W00000FCv5qQAD.jpg

PWM+DMA STM32F103 issue

Hi everyone,I meet some issue about PWM + DMA on STM32F103 (Bluebill KIT).I generate 7 pulses with frequency 1Mhz and duty cycle of pulses is 50,30,50,50,70,50,0% sequence.But the result have some issue:On my OSC, i see 9 pulses and it more than i ne...

0693W00000FCxqjQAD.jpg 0693W00000FCxW5QAL.png 0693W00000FCxY1QAL.png 0693W00000FCxZsQAL.png
PTai by Associate
  • 1953 Views
  • 3 replies
  • 0 kudos

STM32H7 SPI Issues

Hello, I am running into an issue using the SPI functionality on my STM32H7 chip that is on a custom made board. What I am trying to do is read an adas3022 adc (Link to datasheet below) on a spi peripheral from the STM32H7. I have written functions f...

0693W00000FCia7QAD.png 0693W00000FCiaCQAT.png 0693W00000FCiZbQAL.png 0693W00000FCiaHQAT.png
MAgui.1 by Associate II
  • 2475 Views
  • 2 replies
  • 0 kudos