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

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
  • 813 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
  • 1082 Views
  • 0 replies
  • 0 kudos

How to select STM32H743 lwip's system timebase source?

Good day sir.​ST's EVM�?development software and firmware informations or else are as ​below :NUCLEO-H743ZI2​CubeMX : 6.2.1CubeIDE : 1.1.0.1​Firmware package : STM32Cube FW_H7 V1.9.0 lwip : 2.1.2, raw api without rtos. ​After modifying according ...

span.1 by Associate
  • 1240 Views
  • 2 replies
  • 0 kudos

How can I trigger ADC with an external clock generator?

Hello,I'm trying to trigger ADC on the STM32F303RE Nucleo board with an external clock generator. Without external trigger settings, it works. I changed the trigger source to Timer8, then in TIM8 settings, I chose External Clock Source. What am I doi...

0693W00000aHAcSQAW.png 0693W00000aHAchQAG.png
ADynr.1 by Associate II
  • 1383 Views
  • 2 replies
  • 0 kudos

Resolved! SPI DMA configuration generated by STM32CubeMX does not work

I have used STM32CubeMX to generate the configuration required to use SPI1 with DMA for a nucleo H743ZI2 board:  Then, I generate the code as a Makefile project and modify the main function to have:int main(void) { /* USER CODE BEGIN 1 */   /* US...

0693W00000YASP6QAP.png 0693W00000YASaSQAX.png
DGast.1 by Associate III
  • 3214 Views
  • 7 replies
  • 1 kudos

Resolved! I cant seem to make a pwm work.

I have a project where I want to add a simple PWM. I'm using the stm32h series. I have a scope on PA3, and I set up my timer2 for PWM on channel 4. I did this all in the IOC file as I want to understand how to create the PWM I need. I see it added my...

ulao by Associate III
  • 1888 Views
  • 7 replies
  • 1 kudos