STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX USB CDC memory wastage for FS USB

Posted on July 14, 2015 at 06:16When creating USB CDC code for devices with a USB FS port, 448 bytes are wasted. The USBD_CDC_HandleTypeDef structure in usbd_cdc.h uses CDC_DATA_HS_MAX_PACKET_SIZE to create data buffer. This is defined as 512 bytes(...

[STM32F4-Discovery] Custom HID with HAL libraries

Posted on July 11, 2015 at 18:00Good evening at all.I'm trying to port the CustomHID_Standalone example from STM324xG_EVAL example application in latest HAL driver to the STM32F4-Discovery board. I successfully get no errors in compiling the firmwar...

Discovery F3 - Virtual Com Port (CDC) problem

Posted on July 05, 2015 at 21:43Hello! I am having hard time using CubeMX and Discovery F3 board, while trying to use USB-CDC feature. First things first: I am generating code using CubeMX as SW4STM32 project, USB is set into CDC in middlewares tab,...

195263 by Associate
  • 760 Views
  • 2 replies
  • 0 kudos

USB DFU bootloader with Thumb drive?

Posted on July 08, 2015 at 16:55Hi folks,I'm reading up on the usage of the USB DFU bootloader capabilities for an STM32F429. It appears that the device on the other end must support the USB DFU protocol. Is it possible to configure a flash drive (U...

hbarta2 by Associate III
  • 510 Views
  • 2 replies
  • 0 kudos

CRC error in all USB SOF packets

Posted on July 08, 2015 at 16:04Hi,I'm running a stm32f427 on a custom board as Host, HS core, FS mode. When a device is attached I get an interrupt when the device is detected and the host starts sending SOF's. But the last bits in the SOF packet i...

USB cable detection

Posted on July 01, 2015 at 12:01 I use a custom STM32F407 board. I want to detect USB FS cable presence (no matter to pc or charger). Here is what I did. First, the VBUS pin is initialized in usb_bsp.c USB_OTG_BSP_Init function, I di...

stm32f217 usb mass storage

Posted on December 21, 2013 at 11:00Hello, Im using STM32F217 Mmicrocontroller for my project. Can anybody help me in writing the code for usb mass storage. I have STM32F2xx_StdPeriph Library.In that I dont find any driver related to Usb. #usb-m...

STM32F0: Using bootloader through USB-UART.

Posted on July 06, 2015 at 17:30Hello everyone. At my device I have to make an opputunity to load a firmware through UART interface. I know, that it's possible to do using just USB-UART converter. At the F1 series for this purpose I should set the B...