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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

Resolved! FATFS - SD-Card Code created using STM32CubeMX V.5.0

In my project for our STM32H743 board we need to access an SD-Card (SDMMC1) with FatFs. The supplied sample code for the eval boards is not created with CubeMX and therefore the structure is different and does not really help.I tried to implement a ...

GS1 by Senior III
  • 1352 Views
  • 3 replies
  • 0 kudos

STM3240G _EVAL with SPI/UART

Hi, Is there any support for the STM3240G _EVAL using SPI? I tried with the C:\STM32Cube_FW_F4_V1.23.0\Projects\STM32F4-Discovery\Examples\SPI\SPI_FullDuplex_ComPolling as there is a document that state this can be used for STM3240G_EVAL board but it...

0690X000006D8EmQAK.png
Sky by Associate
  • 744 Views
  • 2 replies
  • 0 kudos

Multi-Channel ADC Read Example

I am trying to perform a multi-channel ADC read from the Nucleo-F091RC board and having difficulties, see attached for my efforts. I observe floating read values for all channels, see attached for description & example -Attached Debug Info:'main.c' -...

Justin1 by Senior
  • 2114 Views
  • 6 replies
  • 0 kudos

Resolved! Internal Temperature sensor delivers too high result

I am trying to get the internal CPU temperature on an STM32H743. Source is generated with STM32CubeMX V. 5.0.When reading the internal temperature sensor (ADC3) I get different and too high values depending on the setting of the sampling time.When s...

GS1 by Senior III
  • 1276 Views
  • 3 replies
  • 0 kudos

Resolved! Can't start. Getting message, "The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted."

Using Windows 7, 64 bit. Installed Keil uVision5 first and can run. Install of STM32CubeMX had no issues but can't run the application. Have updated Java, uninstalled CubeMX and reinstalled CubeMX and getting the same message. Not sure about edit...

CYewe by Associate II
  • 2193 Views
  • 12 replies
  • 0 kudos

Why simpel MX project will not compile: arm_math.h is missing

Using MX 5.0.1 and create a new project "PrjA" for STboard STNM32F401 Nucleo. No changes or configs. Then generate code and open in TrueStudio. Compilation fails because of: ..\Drivers\CMSIS\DSP_Lib\Source\FilteringFunctions\arm_fir_decimate_init_q15...

tinu by Associate
  • 719 Views
  • 1 replies
  • 0 kudos

Resolved! Is there an elegant way of using CubeMX to generate code for two very different configurations in the same program?

The program is alternating between two modes, one is high performance and the second is low power. For perfomance mode the ADC is used with a timer triggering and DMA+interrupt at fast rate. In the low power mode it is intended to make a single conve...