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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

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

Double signal on PWM driven by DMA

Just trying to set PWM with DMABuffer which I try to use as duty cycleuint16_t BUF_DMA[6] = {3, 4, 2, 7, 9, 1}; PWM is started by buttonHAL_TIM_PWM_Start_DMA(&htim1,TIM_CHANNEL_4,(uint32_t*)&BUF_DMA, 6);Output I getI can't understand why BUF_DMA[3] ...

0690X000008AUpHQAW.png

Mounting USB using fatfs

Hi all,I am having troubles mounting a USB using the "f_mount" function in the fatfs library. My usb does mount but only after many attempts, using a simple counter I have found it to be 81, every single time I run the code it is the same amount of a...

Usb otg conflict with i2c on stm32f4 board?

I have the stm32f429 discovery board and I'm experiencing a conflict between the usb otg hs and the i2c3. I use the cdc usb library which when initialized on it's own works fine as a virtual com port and I can communicate in windows. When any other c...

KGon by Associate
  • 548 Views
  • 1 replies
  • 0 kudos

Wave generation of particular frequency.

By using timer I want to generate a wave of 27Mhz frequency. Present time I can generate only 13.48khz frequency wave. My timer settings are below please tell me how can I generate it.static void MX_TIM2_Init(void){ TIM_ClockConfigTypeDef sClockSourc...

LACTIC by Associate II
  • 1245 Views
  • 8 replies
  • 0 kudos

Unable to getting interrupt on rising edge

I am using STM32F103C8T6 and STM32CubeMX and TrueSTUDIO for development purpose.I am trying to get interrupt on rising edge and in ISR I wrote LED blinking code.I gave high input for rising edge detection but not getting LED blink.My code as follows...

JPanc.1 by Associate II
  • 932 Views
  • 5 replies
  • 0 kudos

Resolved! DS3231 with STM32F103C8T6 using I2C

I was unable to retrive data from RTC DS3231 using I2C.And I am perfectly getting from ADXl325 accelerometer using I2C.RTC DS3231 works perfectly with arduino mega 2560 but problem getting data for STM32F103C8T6.Dont know why?I am using STM32CubeMX a...

JPanc.1 by Associate II
  • 658 Views
  • 1 replies
  • 0 kudos

STM32CubeMX configuration limitation (greyed out options)

Hello, friends!I configured the project for STM32L011 Nucleo board for read ADC input and I noticed that some of frequency devider options were greyed out for some reason).However I tried to change this setting in the c file with 100% success:At leas...

0690X0000087wAFQAY.png 0690X0000087wAZQAY.png
RMatv by Associate II
  • 1661 Views
  • 4 replies
  • 0 kudos

Not receiving data on PC com(RS232) port, when transmitting data from STM32F407VG DISCOVERY board (Using Baseboard STM32F4 DIS-BB RS232 port ie COM1)

Hello,I am facing trouble in sending data out from STM32F407VG Discovery board (connected to base board) using UART6 (J1 and J2 jumpers are connected). Connected the Tx pin of RS232 port on baseboard to PC COM port Rx pin and sending data periodicall...