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

USBX not letting me set "Hardware IP"

CubeMX: 6.11.1Im trying to implement USB dual role on STM35U5G9 When I tick "Device Controllers HS" for host and device and generate code it sends a warning I checked the Platform Settings tab and there are no options I can Change for "Hardware IP" 

PhilipC_1-1714570699012.png PhilipC_0-1714570686631.png
PhilipC by Associate III
  • 645 Views
  • 2 replies
  • 0 kudos

Wakeup pins for STM32F030xC are missing in CubeMx

Hi everyone.I am selecting in CubeMX STM32F030xC MCU.I see on the screen case where STM32F030CCTx LQFP48 is written.Then I open Datasheet. There is Table 1. Device summary.STM32F030xC corresponds to STM32F030CC and STM32F030RC.Ok. Then I look at pino...

load2005 by Associate III
  • 839 Views
  • 2 replies
  • 0 kudos

Resolved! FW_H7 V1.11.2 broke ADC configuration selections

Ops!!!  The latest firmware does support internal channel selection on ADC3.I verified that the previous firmware V1.11.1 gives visibility to the ADC3 internal channels for VBat, Temperature, and RBUF.  But if the firmware is migrated to V1.11.2 thos...

GreenGuy_0-1714508582404.png GreenGuy_1-1714508728898.png

Resolved! HID keyboard not working on STM32F722ZE (NUCLEO-F722ZE)

Hi guys,I'm trying to use STM32 as a host for a HID keyboard and mouse.I have 2 wireless mouses to test (Logitech M560, HP Spectre 700), Logitech T-BC21 wired trackball, some low-end keyboard. I'm connecting them via micro-USB to USB converter that w...

kaamil1984_0-1699847319586.png kaamil1984_1-1699847352678.png

Resolved! STM32F103 & SDIO - card won't respond

Posted on February 09, 2017 at 02:08I've got a custom board with a STM32F103 that connects to a micro SD card using 1 bit SDIO. I've generated some basic test code using STM32CubeMx Rev 4.19.0 and STM32CubeF1 release 1.4.0 (both the latest according...

peterm by Associate II
  • 2093 Views
  • 5 replies
  • 0 kudos

multi ADC by IT

Hi I'm using 2ch in ADC1 of STM32H735VGT.I set PIN15 to timer 5 and the waveform appears weird.  What's the problem? My ADC1_Init :static void MX_ADC1_Init(void){/* USER CODE BEGIN ADC1_Init 0 *//* USER CODE END ADC1_Init 0 */ADC_MultiModeTypeDef mul...

giwonKIM by Associate III
  • 832 Views
  • 1 replies
  • 0 kudos

Delay to Multi ADCs

 HI. I'm using 3ch in ADC3 of STM32H735VGT. They are running in Continuous conversion mode without delay. Do I have to give a delay after one conversion? If so, how long should I delay? Thank you.  static void MX_ADC1_Init(void){/* USER CODE BEGIN AD...

giwonKIM by Associate III
  • 851 Views
  • 3 replies
  • 0 kudos

dac+timer

void HAL_DAC_ConvCpltCallbackCh1(DAC_HandleTypeDef *hdac){ HAL_GPIO_TogglePin(START_OF_FRAME_GPIO_Port , START_OF_FRAME_Pin);}   uint32_t val[] = { 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400};   HAL_DAC_Start_DMA(&hdac1, DAC_CHANNEL_1, val...

msg-1001059758846-54432.jpg
nimaltd by Senior
  • 995 Views
  • 3 replies
  • 0 kudos

U5G9 USBX without ThreadX

CubeMX: 6.11.0STM32U5: 1.5.0uVision: 5.39.0.0Hi, I saw the latest post about USBX baremetal now being possible and thought i would give it a try.I want to read USB drives and usb uart port to PC for comms. but get the following errors in uVision when...

PhilipC_1-1714130818521.png PhilipC_0-1714130748026.png
PhilipC by Associate III
  • 822 Views
  • 2 replies
  • 1 kudos