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

Bug of HAL_SPI_Transmit_DMA for 1 byte

Posted on June 28, 2018 at 08:30STM32L053R8T6 (Nucleo), STM32CubeMX 4.26Here so two bytes are transferred perfectlyaTxBuffSPIECG[0] = 0x75;aTxBuffSPIECG[1] = 0x55;HAL_SPI_Transmit_DMA(&hspi2,(uint8_t*)aTxBuffSPIECG, 2);But one byte is not transmitte...

USB composite cdc msc OUT io trouble

Posted on February 27, 2018 at 01:05Hey. STM32F746 device transmits constant lenght-garbage bytes from a cdc device while working in composite with MSC interface as well. While enumeration, receiving and SCSI functions work perfectly fine, device se...

Ole Ho by Associate II
  • 510 Views
  • 1 replies
  • 0 kudos

STM32F41xx USB CDC Transmit Problem

Posted on December 21, 2017 at 13:32Hello,    In STM32F41xx, we are facing the problem to send data to PC. Actually we are using CDC_Transmit_FS function to send 60 bytes data to PC. But code getting stuck in if (hcdc->TxState != 0)  return USBD_BUS...

what is string length limit for CDC_Transmit_FS

Posted on May 19, 2018 at 16:28Hi,i was using CDC_Transmit_FS api to send data serially. It is printing as well but if i give string length more than 30 approx. then CDC doesn't send data.if i gave length as 20 then it works for same string.Is there...

SS.Sagar by Associate III
  • 413 Views
  • 1 replies
  • 0 kudos

stm32f4 dfu

Posted on December 20, 2013 at 16:22I'm working on a dfu bootloader for stm32 (f4) devices (https://github.com/swinman/dfu-programmer stm32 branch).  I'm using the stm32f407vg and have gotten everything working except the read operation.  When I cal...

winman by Associate II
  • 614 Views
  • 1 replies
  • 0 kudos

HAL_ETH_Init Timeout on STM3210C-EVAL

Posted on April 19, 2018 at 17:04Hello,I'm currently using a STM3210C-EVAL board with FreeRTOS, and I wanted to communicate with it through Ethernet.However, the program stops working when this function is executed in HAL_ETH_Init :(heth->Instance)-...

HAL_Delay_Microseconds on STM32F302R8

Posted on June 19, 2018 at 19:27I'm trying to find a way to use a delay of 300microseconds in my code.  I'm currently using a F302R8.  I'd like to do this without using interrupts for the time being, if possible.  Is there a HAL_Delay_Microseconds a...

STM32L476 - USB_OTG - FatFs - FreeRTOS

Posted on July 14, 2017 at 11:59Hi everyone,I'm working with an STM32L476VGT microcontroller and I'm trying to use USB_OTG_FS in Host_Only mode for reading and writing on an USB Drive. I also have a STM32L476 Discovery board but cannot find any exam...

mattia by Associate
  • 653 Views
  • 1 replies
  • 1 kudos