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

How to detect USB plugin and unplug (stm32L152)

Posted on January 01, 2016 at 15:57Hi All,How to detect USB plugin and unplug?I used the stm32L152 and USB CDC class.I want to show plugin information on OLED, need to know when the usb plugin and unplug, but I can't find the solution?I used a flag ...

STM32F4 add endpoint to USB

Posted on June 10, 2016 at 11:52 I'm doing a project where I use a NUCLEO-F446ZE as a USB device. I'm implementing the CCID class. I used the template class and some code from VCP. This way some endpoint are already configured like Bulk ...

thom_as by Associate II
  • 1192 Views
  • 2 replies
  • 0 kudos

usb audio endpoint single buffer possible?

Posted on June 10, 2016 at 05:54Anyone tried before USB audio playback with endpoint single buffer only? or must double buffer?reason is I use STM32F072 and it's USB buffer only 1K. My device will have playback and recording at 48KHz 24bits. So if m...

sgpiqx by Associate II
  • 1270 Views
  • 3 replies
  • 0 kudos

STM32F4 USB VCP (cdc) and DFU

Posted on March 26, 2015 at 11:26Hello,I communicate with an STM32F4 eval board and a host computer by using VCP, I would like permit a DFU by using software.I search the quickly solution to implement both. I hesit between redefine USB interface whe...

Potential Bug in STM32Cube SPI routine

Posted on June 05, 2016 at 19:15Hello,In my senario, a SPI eeprom is connected to a STM32F051, whose SPI module was set to a full duplex master mode. My original code to read a block of data from the eeprom was like this:The problem of this code is ...

0690X00000605ObQAI.png 0690X00000605P5QAI.png 0690X00000605OgQAI.png

STM32L053 bootloader unable to erase

Posted on June 03, 2016 at 20:23I'm writing a USART boot-uploader for a project of ours, testing it on an STM32L053 discovery board. I can bring up the bootloader and talk to it just fine, send all the GET commands for info (It reports chip id 0x417...

lee23 by Associate II
  • 1205 Views
  • 5 replies
  • 0 kudos

FreeRTOS Timebase Source

Posted on June 07, 2016 at 09:58Hello, I'm working on a STM32F407 Discovery board with CubeMX and AC6 Toolchain and I just started using FreeRTOS in my applications. When I try to generate a project within CubeMX after peripheral setup I get this wa...

andre-83 by Associate
  • 532 Views
  • 1 replies
  • 0 kudos

8GB Sd Card is not working

Posted on May 16, 2016 at 09:00Hi,I am using STM32L4x6 MCU in our custom board. I developed the firmware with FatFs to add support of SD card using SDMMC1 interface. I am successfully able to interface the 2GB micro SD card and able to write files o...

dhaval by Associate II
  • 1092 Views
  • 5 replies
  • 0 kudos