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

When i disconnect and connect USB cable, while using USB-CDC i get 16 bytes previously loaded to the driver, how can i remove them?

Every period of time i send ~33bytes through USB CDC, if suddenly USB cable disconnected and reconnect i get 16 bytes of the last message loaded, and then continue to get new messages.How can i detect disconnection and were these 16 bytes located?

DVars.1 by Associate II
  • 841 Views
  • 3 replies
  • 0 kudos

Resolved! Are there plans for CAN support in open bootloader?

As I have seen, an open bootloader middleware is offered for the STM32G4. An FDCAN implementation can be found here. Are there any plans to also offer a pure CAN implementation?I am also interested in whether it is possible to program directly via CA...

ben5en by Associate II
  • 845 Views
  • 1 replies
  • 0 kudos

I'm having problems with an LWIP TCP client on STM327508DK. The communications fail after a few messages.

Hi all,I am working with a stm32f7508dk. My code is running XIP on 1-bank QSPI.Here is the MEMORY definitions in my linker file:   MEMORY   {     RAM   (xrw)   : ORIGIN = 0x20000000,  LENGTH = 320K     /* FLASH   (rx)   : ORIGIN = 0x8000000,  LENGTH ...

JColl.2 by Associate
  • 1810 Views
  • 1 replies
  • 0 kudos

Resolved! Using the Cube: with Visual Studio and Nano lib supporting printing of floats. sprintf crashes if the CDC USB output is not plugged into the PC

unplug my CDC USB output cable and sprintf( string, "%.2f ",myFloat); will crash plug it back in to the PC and without any comms, it works.could it be a memory leak if the CDC driver is not handshook ?anyhow the CUBE didn't allocate enough Stack ...

T J by Lead
  • 720 Views
  • 3 replies
  • 0 kudos

Can I use ADC5 in standalone mode when ADC34 are in Dual Mode ? Code fail to start ADC5 . Documentation missing data.

Hello ST community,I use ADC3, 4 and 5 of STM32G474 and configure them to ADC3/4 dual mode, ADC5 standalone (no other option in CubeMx). HAL function HAL_ADC_Start_DMA fail for ADC5 , because it check if it is in correct mode of ADC3 master. So ther...

MMatj.1 by Associate II
  • 913 Views
  • 2 replies
  • 1 kudos

Virtual Com Port Not Recognize STM32G0B1KCT6

I am using STM32G0B1KCT6Clock Configurations as like thatAnd pin configurations are like that I generated code and run to debug. When i connected the MCU to USB port at PC, There is a error message "USB not recognized". I changed the usb_cdc.c at 516...

0693W00000BdQcSQAV.png 0693W00000BdQeOQAV.png
EKahr.1 by Associate
  • 2544 Views
  • 3 replies
  • 2 kudos

STM32L476RG perform a DFU via UART from another board

 Hello all, I'm pretty stuck and could use a pointer in the right direction. I have a nucleo communicating with another board via UART. I would like to be able to update the application on the nucleo board via UART from the other board. Is there any ...

0693W00000D0OTJQA3.png
devtty by Associate III
  • 3044 Views
  • 15 replies
  • 0 kudos