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

Resolved! STM32G061C8U6 UART Generated Config is Incorrect

STM32CubeIDE Version: 1.9.0Hal MCU : v1.5.1Chip: STM32G061C8U6 If you enable USART1 in asynchronous mode for pins PA9 and PA10 the auto generated code incorrectly sets the port to AF0 when it should be AF1 see datasheet table 13 or port.png.When set ...

NN.2 by Associate II
  • 3467 Views
  • 9 replies
  • 0 kudos

ADC of stm32l4

I configured ADC Channel 9 on STM32L4-Nuceo board its working but If change the ADC channel to 10 Or 13 its not working.Please find the below ADC Configuration./* Definition for ADCx clock resources */#define ADCx              ADC1#define ADCx_CLK_EN...

Namita by Associate II
  • 2121 Views
  • 8 replies
  • 0 kudos

Changing environmental settings.

Hi, Is there anyway to use a global variable to change the USART interface configuration such as the BaudRate :static void MX_USART1_UART_Init(void){If(A = 1){huart1.Init.BaudRate = 38400;}If(A = 2){huart1.Init.BaudRate = 9600;}}Not sure if this is p...

PLee.3 by Associate III
  • 1034 Views
  • 5 replies
  • 0 kudos

SPI6 Slave + BDMA + STM32H743 + CubeIDE/MX

Hello,My design does not produce interrupts and I'm not sure why.Goal:SPI6 gets a 2MHz clock (external). For each clock the BDMA should take one 1 byte from a buffer (SRAM4, D3) and put it to the MISO. The BDMA runs double buffered => it should cycle...

Deadbeef by Associate II
  • 1307 Views
  • 3 replies
  • 1 kudos

Resolved! CubeIDE 1.9.0 issue

I am using STM32G070RBTX micro configured for ADC with DMA. My project works well configured with CubeIDE version 1.8.0. However after I updated to 1.9.0, the ADC Continuous Conversion Mode cannot be Enabled from CubeMX. It force to use Discontinuous...

0693W00000KboInQAJ.png
tabekb by Associate III
  • 1610 Views
  • 3 replies
  • 1 kudos

Running into Secure Fault on STM32U5 after Timer starts

I am using the example project GPIO_IOToggle_TrustZone for NUCLEO-U575ZI-Q and added Timer3 for Non-secure application via CubeMx with Interrupts enabled. When this Timer is started with HAL_TIM_Base_Start_IT the application runs into SecureFault_Han...

LBöhm.1 by Associate III
  • 715 Views
  • 1 replies
  • 0 kudos