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

STM32F407 USART2 do not receive

Posted on June 08, 2016 at 15:51Hello, I have configured USART2 to communicate as RS422. Rx is connected to PA.3, Tx to PD.5. I need baudrate 921.600 Baud. There is no problem send anything one or more bytes. I can not receive anything from Rx (PA.3...

Why are HAL Lookup tables located in RAM?

Posted on June 14, 2016 at 11:10I notice that the HAL locates some lookup tables in RAM. For example, in stm32f1xx_hal_rcc.c:uint32_t HAL_RCC_GetSysClockFreq(void) { &sharpif   defined(RCC_CFGR2_PREDIV1SRC)   const uint8_t aPLLMULFactorTable[14] = {...

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
  • 1180 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
  • 1250 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
  • 1183 Views
  • 5 replies
  • 0 kudos