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! code generated calls MX_DMA_Init too late, after MX_SPI_Init

I'm a relatively new user but am just about getting up to speed with STM32 family and STM32CubeIDE. I love that there is a gui that helps to generate code to configure peripherals, however I am learning to distrust some of the detals of the code gene...

mmalex by Associate II
  • 1461 Views
  • 3 replies
  • 2 kudos

HAL_UART_Receive_IT only receives the first element

Hi, I'm trying to use HAL_UART_Receive_IT with a fixed size buffer, but only the first element changes its value.I'm using CubeMX over NUCLEO-STM32F446REThe only things I do:main.c I declare the buffer like this:uint8_t rx_buffer[5];The UART initiliz...

stm32bero by Associate II
  • 1219 Views
  • 4 replies
  • 0 kudos

STM32H753 change frequency in the older version to 480MHz

Hello everyone, at the beginning of this year I bought a microcontroller, it was a version with 400MHz clocking, at the moment CubeMX allows you to change the frequency to 480MHz, can I change it, will everything work properly. Best Regards

kulfi27 by Associate II
  • 672 Views
  • 3 replies
  • 0 kudos

STM32F103RBT6 external counter

I'm using the STM32F103RBT6 to counter a external pulses with TIM3. But the counter is always ZERO. I can check the pulse with  oscillometer. It is about 1KHz. Here is the code. Could any one tell me what is the issue ? Thank you.​int main(void) ...

DDong.0 by Associate II
  • 1053 Views
  • 4 replies
  • 0 kudos

Error[Lp015]: section placement failure caused by HAL_Unlock???

Im using an F4 and modified my code to support an analog input using CubeMX. It messed up my project directory so i copied the new adc files to my unharmed project. I now get an "Error[Lp015]: section placement failure: overcommitted content in [0x80...

Taco! by Associate
  • 1550 Views
  • 4 replies
  • 0 kudos

A lot of errors in STM32Cube_FW_F0_V1.11.0

Error 1:MX version: STM32CubeMX 5.4.0Firmware: STM32Cube_FW_F0_V1.11.0Compiler: IARMCU: Any in F0 seriesCompiling error:Error[Pe147]: declaration is incompatible with "__interwork __softfp void assert_failed(uint8_t *, uint32_t)" (declared at line 30...

TNaxi by Associate II
  • 2906 Views
  • 11 replies
  • 2 kudos

Use I2S in DMA mode(STM32f401 + PCM5102A)

I want to send audiodata from STM32f401 MCU to PCM5102A audio codec through I2S interface. Here are my settings in CubeMX:Code I used is:const uint16_t wavedata[] = { /* Random data, length 1024 */ };   void beep_blocking() { HAL_I2S_Transmit(&hi2s...

0690X00000AsYOyQAN.png 0690X00000AsZeEQAV.png
sincoon by Associate III
  • 1572 Views
  • 1 replies
  • 0 kudos