STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.13.0 released

We are pleased to announce to you that the release 6.13.0 of STM32CubeMX is available. What is new in 6.13.0: Added support for the following series, microcontrollers and microprocessors: STM32N6, STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the ...

Fastest way to configure many GPIO pins in CubeMX?

I feel like I'm missing something basic here. What is the fastest way to configure many pins for GPIO in CubeMX? I have over 100 pins I need to configure and the only way I know how is somewhat tedious.For example, I need to make the entirety of PORT...

NathanL by Associate II
  • 1933 Views
  • 2 replies
  • 0 kudos

Resolved! USART Clock selection bug / cubemx

Hello,With CubeMX V6.8 (I did not check with latest update), there is a bug in the USART clock source selection, for chip STM32L451VETWhen selecting SYSCLK for USART2 or USART3 (did not check with UART4), in the function HAL_UART_MspInit() the clock ...

Trigger SPI DMA transfer from Timer directly

Hey there, at the moment I am stuck with the following problem: I need to trigger a SPI DMA Transfer precisely at each Timer overflow. NVIC Timer interrupts are not an option, because the jitter is way too high when I have to jump into code each time...

JKram.1 by Associate II
  • 8991 Views
  • 11 replies
  • 1 kudos

Resolved! CubeMX Generating Startup Functions in Incorrect Order

Hi, I ran into a bug a while back where some ADC reads I had set up weren't working. In the course of debugging I found that the ADCs only worked after I changed the order in which some automatically generated startup functions were called in order t...

EPala2_0-1696005779814.png EPala2_1-1696005806071.png
EPala.2 by Associate III
  • 722 Views
  • 2 replies
  • 0 kudos

Resolved! W25X20CL FLASH bring up with STM32H743 issue

Seeing issue while brining-up Winbond W25X20L FLASH with STM32, Write and read a byte in a loop does not work.Tried to see the signal's using the scope and seems like clock has some issue, appreciate any help. Please let mw know if more information i...

aahsan_1-1694645378744.png aahsan_0-1694644447709.png
aahsan by Associate III
  • 2389 Views
  • 7 replies
  • 2 kudos

Resolved! How to retarget printf on UART?

Hi All,I am new on STM32 and want to use printf on UART.I could run the printf on uart in the example folder.But couldnt find how does it work, actually couldnt find any comment in it about enabling printf on uart.I am useing STM32CubeMx and want to ...

MKora by Associate II
  • 2921 Views
  • 5 replies
  • 2 kudos

ai_platform.h file missing during analyze.

Hi, I'm getting "ai_platform.h" file missing when doing "analyze" under the X-CUBE-AI section.I was following the steps from a contest, I have followed the same steps on a different desktop computer and I didn't have this issue on that system. I don'...

Vishawjeet_Jyoti_0-1695841904871.png

Power-on startup Referenca Manual vs Cube-MX

Hallo, according to RM0433 6.4.1 "System supply startup" at point 5. "The software shall then initialize the system including supply configurationprogramming in PWR control register 3 (PWR_CR3). Once the supply configurationhas been configured, the A...

DrDro by Associate III
  • 519 Views
  • 0 replies
  • 0 kudos