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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

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
  • 2813 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
  • 1686 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
  • 825 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
  • 1025 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
  • 1375 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
  • 587 Views
  • 1 replies
  • 0 kudos