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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 700 Views
  • 0 replies
  • 1 kudos

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

Resolved! Read state of caps lock from keyboard

keyboard-pc-usb-stm32​Is it possible to read state of capslock on/off with stm?​ Using HAL and cubemx HID configuration.​I can send report. But how to receive report - status?​​​​

oeliks by Senior
  • 2172 Views
  • 3 replies
  • 0 kudos

How to enter low-power run mode?

Hi!I'm using a STM32L433V and have to deal with that whole energy-saving topic.My use-case is the following:I've to count and debounce pulses from an external sensor with an 78Ah battery for about 5 years without charging. The pulses do come with abo...

Resolved! Why can't i enable SDIO in CubeMX on NucleoL452RE(P) while it is possible on the corresponding spare MCU

Hi,I bought some NUCLEO-L452REP (wich include STM32L452RET6 MCU with an SMPS support) particulary because of its SDIO interface.But this interface is not available (not displayed) in CubeMX for the nucleo while it is available if I choose the spare M...

0693W00000GY3wtQAD.png 0693W00000GY3wAQAT.png 0693W00000GY3xrQAD.png
FSULE.1 by Associate II
  • 1058 Views
  • 2 replies
  • 0 kudos

Can't get RX callback interrupt to be triggered

I've followed this tutorial word by word and I'm not entirely sure why:1) Nothing is being written to that rx_buffer[]2) Why the void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) isn't being called/triggered as shown in the videoI'm also using ...

Conflict between 6.2.1 and 6.2.0 project

Step to reproduce:1) Generate a project in CubeMX v6.2.0 and save it2) Open and modify the 6.2.0 project with CubeMX v6.2.1 (no migration or wathever), save the project3) try to reopen the project with v6.2.0, these window will popup: I need to use t...

0693W00000BbETyQAN.jpg

Resolved! .ioc init sequence. I have cubeIDE v1.7.0, but uart3 is still initialised before DMA and this caused me hours trying to sort out a simple problem.

STM32CubeG4 Firmware Package V1.1.0 / 28-June-2019Question with a best answer.Best AnswerThis was reported in another thread and I wrote a ticket about it at that time. It will be fixed in an upcoming release.  by Markus GIRDLAND (ST Employee)

Read ADC using internal voltage reference in STM32L422KB

I am STM32L422 to measure ADC using internal reference voltage.My code is generated using CubeMX V6.2.I want to measure ADC from ADC1_IN1 using PA7.The data sheet says internal voltage is 1.2 V. Reading VREFINT register gave value 1658 which is 1.214...

0693W00000GXr1aQAD.jpg 0693W00000GXr20QAD.jpg
FLast.5 by Associate II
  • 2486 Views
  • 1 replies
  • 0 kudos