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

Data transmission and reception using UART

Hi,I am attempting bare-metal programming for UART data transmission and reception on the STM32L476RG microcontroller. After transmitting data, observed that the debug terminal is only receiving NULL characters. Please help. Here is the code: void Sy...

Resolved! NOT able to write one byte in internal flash memory

in stm32h7431---->  Im trying to write only one byte in this address 0x8100000 . but it is writing 32 bytes in the memory . so why  not support to  write only one byte in internal flash memory.2----->  And im trying to start writing  some data from t...

Resolved! Problem in ADC2 and ADC3

Hello,I'm having trouble with ADC2 and ADC3 on my NUCLEO-L010RB board. I've utilized all 16 ADCs on the microcontroller, and the code is functioning correctly except for these two ADCs. I am using LPUART.In this image, I obtained a reading of 40 from...

Minaihab_0-1714567082268.jpeg Minaihab_1-1714568157369.png
Minaihab by Associate III
  • 2730 Views
  • 7 replies
  • 0 kudos

Multi ADC Block

Hi everyone, I am wondering about multi ADC blocks(ADC1, ADC2).I don't give you a delay at the moment.When they start, must i give some delay to them?If so, how long must i give some delay?ex)HAL_ADC_Start_IT(&hadc1);Delay_us(2);HAL_ADC_Start_IT(&had...

giwonKIM by Associate III
  • 543 Views
  • 0 replies
  • 0 kudos

STM32H743ZI INTERNALFLASH RAM WRITE[45] BYTE DATA

I WANT TO WRITE IN INTERNAL FLASH MEMORY IN WRITE [45] DATA WRITE BUT  ACTUAL  HAL_FLASH_Program(FLASH_TYPEPROGRAM_FLASHWORD, FLASH_ADDRESS, (uint32_t) WRITE )==HAL_OK){}ONLY WRITE A 32 BYTES AT A ONE TIME HOW TO MORE DATA WRITE IN INTERNAL FLASH MEM...

SITARAM by Associate III
  • 849 Views
  • 1 replies
  • 0 kudos

SystemClock_Config Visivility

The image below shows how Cube MX allows us to control the visibility of some functions.Uncheking a prototype moves it from main.c (private) to main.h (public). When unchecking for SystemClock_Config, its  prototype is still generated on main.c, only...

dhs_0-1714588867694.png
dhs by Senior
  • 2119 Views
  • 8 replies
  • 1 kudos