STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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

STM32U575 ADC DMA Interrupt not working

I have Nucleo U575ZI-Q board and I am trying to unable ADC with DMA and Interrupt but not able to get any reading. I am trying to see the adcBuf value in live expression but it is not working./* USER CODE BEGIN Includes */ #define max_channel 2 uint3...

Bhavik by Associate III
  • 1228 Views
  • 7 replies
  • 0 kudos

STM32F7 ADC with DMA and watchdog

I've been trying to use the ADC of an STM32F7 so that when the level exceeds a certain threshold it start to sample the input continuously. Here is the configuration. Then I have implemented the code as followsvolatile ITStatus adc1OutOfWindow = RESE...

0693W00000WKitNQAT.png 0693W00000WKitSQAT.png 0693W00000WKitXQAT.png
JVALL.1 by Associate III
  • 731 Views
  • 1 replies
  • 0 kudos

USB Tx-state Busy

Hi,I have an application running on STM32F429ZIT6 using USB stack to communicate with PC client.MCU receives one type of message of 686 bytes every second and receives another type of message of 14 bytes afterwards with 0,5 secods of delay between me...

Resolved! New STM32CubeMX has some major bugs ! (6.7.0)

Hello, Updated CubeMX as well as H7 libraries, and now see problems with clock configurator, as well as some LL function calls in system clock init has no definition !STM32H743XI should have 480MHz clock...  And if we generate code, we get problems ...

0693W00000WKgF6QAL.png 0693W00000WKgEwQAL.png
Linas L by Senior II
  • 1952 Views
  • 7 replies
  • 0 kudos

Resolved! Incorrect code generation

Hello,I've created a new project and it seems like code wasn't generated as it should.Modified only clock configuration and added FREERTOS to my project.I think here tasks should be started, instead I have duplicate for header:Is it normal, have I mi...

0693W00000WKa7zQAD.png
KWoźn.1 by Associate
  • 860 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeIDE 1.11.0 and CMSIS V2

In a STM32 project using FREERTOS with CMSIS V2, there is not automatic generation of thread creation calls in main function, likedefaultTaskHandle = osThreadNew(StartDefaultTask, NULL, &defaultTask_attributes);Is it supposed to be the programmer who...

JCama.1 by Associate
  • 1152 Views
  • 2 replies
  • 0 kudos

UART4 RX not working using Interrupt or DMA mode

I am using custom designed board having STM32H745BIT6 and 25MHz external crystal with LDO Only as Power Selection from RCC settings.I am trying to check UART4 with pins PC10 and PC11 and flow control disabled.So Transmission is working well using Pol...

NDham.11 by Associate II
  • 927 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H7 System Clock initialization error

STM32CubeIDEVersion: 1.9.0Build: 12015_20220302_0855 (UTC)Processor: STM32H7My issue is when i start debugging my project, it crashes while configuring my System Clock Config, but there is no real error. The debug just says "Target Lost" and tries to...

DFaul.2 by Associate
  • 3787 Views
  • 3 replies
  • 0 kudos

lwip tcp server implementation troubleshooting

void Tcp_Task(void const * argument)   {   /* USER CODE BEGIN Tcp_Task */   struct netconn *conn, *newconn;   err_t err, accept_err;   struct netbuf *buf;   void *data;   u16_t len;     LWIP_UNUSED_ARG(argument);   conn = netconn_new(...

0693W00000WKVIYQA5.png 0693W00000WKVIOQA5.png 0693W00000WKVHkQAP.png 0693W00000WKVHaQAP.png
ark2 by Associate III
  • 599 Views
  • 0 replies
  • 0 kudos