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

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 571 Views
  • 5 replies
  • 6 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
  • 763 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
  • 1145 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
  • 1697 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
  • 3113 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
  • 1733 Views
  • 1 replies
  • 0 kudos

Encoder mode with input capture ?

I want to measure speed of motor precisely with encoder pulses and for that I saw this topichttps://community.st.com/s/question/0D50X00009fDstgSAC/can-you-combine-encoder-and-input-capture-both-from-the-same-pin@Werner D�hn​  @akosodry​  and from wha...

goktug by Associate
  • 2185 Views
  • 2 replies
  • 0 kudos