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! 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
  • 2853 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
  • 2474 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
  • 5512 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
  • 3642 Views
  • 7 replies
  • 0 kudos

Resolved! STM32 maximum ADC frequency confusion

I am using a STM32H723zg board for a project and I must read analog signals so I am using one 16-bit ADC. Based on the datasheet of this microcontroller serie, the maximum ADC clock frequency is 50 MHz for BOOST = 11.However when I am configuring the...

0693W00000YAmajQAD.png 0693W00000YAmmTQAT.png
CTord.1 by Associate II
  • 4040 Views
  • 5 replies
  • 2 kudos

How to set value of a macro via the .extsettings?

Hi Team,I am using the .extsettings to pass values of certain macros to the code. I am able to achieve the following by using the "Define=" parameter in the [others] section in .extsettings :#define ABCDHowever, I do not see the values of macros gett...

Jansunil by Associate II
  • 689 Views
  • 1 replies
  • 0 kudos

STM32F1 LWIP netif link doesn't set up

Hello,I need some help about using LWIP on STM32F107VCT6 without RTOS using RAW API.For the moment I just want to ping my board with a computer but the problem is that if I make an arp command my computer doesn't see my board. I have enable ICMP, TCP...

Romano1 by Associate III
  • 869 Views
  • 0 replies
  • 0 kudos