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! Can STM32F301 use 3 I2C simultaneously?

hello. I've never used STM32 before.I'm trying to use it this time. It requires several pins of GPIO and 3 channels of I2C.I searched and the STM32F301 seemed suitable, so I designed a circuit using it.I tried setting the PIN using a setting tool cal...

0693W00000aHYvdQAG.png 0693W00000aHYvTQAW.png
KLEE.2 by Associate II
  • 2004 Views
  • 4 replies
  • 0 kudos

Resolved! Problem with STM32C031K6 and ADC DMA

Hello,I am testing a STM32C0 MCU to see if it might be good for a project I'm working on attracted by the price point, but I have to say that I have some unexpected problem.Among several the most relevant is multichannel DMA based ADC conversion that...

0693W00000aHEa2QAG.png 0693W00000aHEl4QAG.png 0693W00000aHEYbQAO.png 0693W00000aHElsQAG.png
FCamp.1 by Associate III
  • 3586 Views
  • 9 replies
  • 0 kudos

STM32L072C6T6 LPUART DMA interrupt need Reset MCU to works

Hi everyone,I'm working on a project with an STM32L072C6T6.I'm using LPUART1 DMA to get data from my LPUART with interrupt when the bus go idle.My soft working when, after power on the device, i push the reset button of the MCU. All start correctly.B...

MLam by Associate III
  • 2696 Views
  • 3 replies
  • 0 kudos

Resolved! GPIO Pin Assignment

I am trying to understand how to configure a custom GPIO pin via the CubeMX/CubeIDE. I am using the STM32H7B3I-EVAL. Through the CubeMX, I am trying to assign PA13 to a GPIO (in output mode). I enabled PA13 via the CubeMX without issue. Now I want to...

0693W00000WHdlhQAD.png
KMew by Senior III
  • 6415 Views
  • 8 replies
  • 1 kudos

Resolved! I am trying to send hex values to the Uart terminal, but I am getting wrong values or nothing at terminal. I am getting the characters ok. I am using DMA and interrupt (IRQ_Handler), and STMCUBE MX to generate DMA init and uart codes. Please help.

I am using below code;void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *huart, uint16_t Size){ if (huart->Instance == USART3) { oldPos = newPos; // Update the last position before copying new data // If the data is large and it is about to exceed...

KMINH.1 by Associate III
  • 4279 Views
  • 7 replies
  • 0 kudos