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.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
  • 545 Views
  • 5 replies
  • 6 kudos

12bit ADC output over USART on STM32

My goal: I'm trying to read two ADC pins with 12 bit resolution and output the values through DMA over USART.I can see that the ADC values are being read in the debug tab in STM32CubeMX. I can "talk" over USART to my serial capture program by having ...

PAbdu by Associate II
  • 5628 Views
  • 17 replies
  • 0 kudos

Hello, ADC conversion time measurement

I'm using STM32f401re nucleo board and Truestudio IDE. I am only concentrating on ADC peripheral. I want to measure the number of clock cycles consumed for single ADC conversion. I am willing to measure conversion time for 6, 8, 10, 12 bit resolution...

JSubr by Associate
  • 742 Views
  • 3 replies
  • 0 kudos

PWM configuration with CubeMx

Hello,I'm working with an STM32F401RE (on a Nucleo), and I have some problem with the TIMER frequency. a) The frequency APBx is 84Mhz, and I want a 500Hz PWM frequency on TIM3.I set prescaler to 167 (168-1) and period to 999 (1000-1), is it correct ?...

RStra by Associate III
  • 1587 Views
  • 6 replies
  • 0 kudos

V5.0.1 Import Bug?

It appears that v5.0.1 is assigning the wrong firmware package on import.I start a new CubeMX project using the MCU Selector and pick an F103c8. Then go to file->Import and select a .ioc for an existing f303 project. When I generated code for the bas...

stm32cubemx example code not able to receive

#include "main.h" #include "stm32f4xx_hal.h"   /* USER CODE BEGIN Includes */   /* USER CODE END Includes */   /* Private variables ---------------------------------------------------------*/ CAN_HandleTypeDef hcan1;   /* USER CODE BEGIN PV */ /* Pri...

kgedi by Associate II
  • 710 Views
  • 0 replies
  • 0 kudos

STM32CubeMX and B-L475E-IOT01A SPI2

I am using STM32CubeMX v5.0.1 on Windows10. I am trying to set up the B-L475E-IOT01A board's SPI2 port to communicate with a SPI based PMOD device. The user manual for the board shows SPI2 to be the port that connected to PMOD. STM32CubeMX will no...

ptracton by Associate II
  • 570 Views
  • 1 replies
  • 0 kudos