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! .ioc init sequence. I have cubeIDE v1.7.0, but uart3 is still initialised before DMA and this caused me hours trying to sort out a simple problem.

STM32CubeG4 Firmware Package V1.1.0 / 28-June-2019Question with a best answer.Best AnswerThis was reported in another thread and I wrote a ticket about it at that time. It will be fixed in an upcoming release.  by Markus GIRDLAND (ST Employee)

Read ADC using internal voltage reference in STM32L422KB

I am STM32L422 to measure ADC using internal reference voltage.My code is generated using CubeMX V6.2.I want to measure ADC from ADC1_IN1 using PA7.The data sheet says internal voltage is 1.2 V. Reading VREFINT register gave value 1658 which is 1.214...

0693W00000GXr1aQAD.jpg 0693W00000GXr20QAD.jpg
FLast.5 by Associate II
  • 2214 Views
  • 1 replies
  • 0 kudos

Resolved! DMA registers are not set correctly on STM32L052K8T6 Hello, I want to use the DMA to shift data from 9 ADC Channels into an Array. The problem is that I set up the ADC and the DMA in CubeMX. But the Registers of the DMA are not set correctly.

My CubeMX Setup: DMA:ADC:ADC NVIC:After I had done this, I generated theCode and Started the ADC and the DMA with the HAL_ADC_Start_DMA function. Thefunction Started the ADC as I wanted, but the Registers of the DMA are not setCorrectly.The DMA regis...

0693W00000GXM5cQAH.png 0693W00000GXM5wQAH.png 0693W00000GXM6QQAX.png 0693W00000GXM4aQAH.png
MMüll.5 by Associate II
  • 1990 Views
  • 8 replies
  • 0 kudos

How to use expansion boards in a project?

I have a NUCLEO-L476RG with X-NUCLEO-IDW01M1 Wi-Fi and X-NUCLEO-NFC05A1 NFC Card Reader expansion boards. I want to create a project that uses both these modules. I've downloaded the X-CUBE-*** software zip files and tried to import them into STM32...

murrellr by Associate II
  • 1056 Views
  • 3 replies
  • 0 kudos

How to use STM32F401 mcu to driver color sensor.

Hi, all.I hope anyone who can help me ~​I now use STM32F401 & CubeMx to driver color sensor, the color sensor's timing requirements like this:I use master/slave Time to do this:master Tim1' CH1 to seed PWM(cycle is 500ns, high 200ns, low 300ns), and ...

0693W00000GXKblQAH.png 0693W00000GXKmeQAH.jpg
Hfeix.1 by Associate
  • 756 Views
  • 2 replies
  • 0 kudos

IDE do not generate Drivers correctly (core_cm3.h missing)

Hi, first of all i had a problem downloading the firmware package for my STM32F107VC. The IDE downloaded by itself two package v1.8.0 and v1.8.4, unzipping the first one worked, but the second failed. I found out that the name of the folder inside th...

__HAL_LINKDMA(__HANDLE__, __PPP_DMA_FIELD__, __DMA_HANDLE__)

I am using STM32F427ZIT6 with both USART1 and USART3. Both USART ports are DMA enable. I use STM32CubeMX version 6.2.1 to generate the code.My problem is when USART3 is not transmitted, USART1 communication works as expected. When USART3 is transmit...

DNguy.11 by Associate II
  • 3283 Views
  • 9 replies
  • 0 kudos