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

STM32 CDC USB - binary files and EOT indication

Hello all,2 more questions on STM32 USB CDC1) I see that it works fine for ASCII files, but when I transfer a binary file it does not. Any advice or parameter I missed?2) I get the interrupts, but how can I get an indication that the transfer has fin...

ECrom.1 by Associate III
  • 717 Views
  • 2 replies
  • 0 kudos

STM32 USB CDC

Another question:I see the the transmit and receive buffers are 2048 bytes longBut the Rx interrupts I get are after 64, 100, 164, 200, 264, 300... Bytes. Why is that ?Eli

ECrom.1 by Associate III
  • 469 Views
  • 1 replies
  • 0 kudos

UART DMA

I am using an STM32L0XX on a Nucleo-64. I am Trying to communicate with a sensor using SDI12 protocol ​(1200baud 8-bit even parity).​To communicate properly you have to implement a question and answer session. To start with a 2-byte question response...

GGill.1 by Associate II
  • 983 Views
  • 5 replies
  • 0 kudos

Trying to enumerate a STMicroelectronics Virtual COM Port (COMxx), using STM's STSW-STM32102 Virtual COM Port Driver installation package, for a STM32L082 uC. Installation on two Windows 7 Ultimate x86 PCs and a Ubuntu 18.04.3 x86 PC ... unsuccessful !

Using Ubuntu dmesg | grep usb, "device descriptor read/64, error -71" is reported. I am beginning to suspect an issue with the USB CDC for the STM32L082 device. A recent community discussion alluded to a "device triad", class, subclass and protocol, ...

Resolved! Calling SCB_DisableDCache()/SCB_EnableDCache oftenly

Hi,Is there any issue if in STM32H743ZI, ethernet driver I call:…. SCB_CleanDCache(); SCB_DisableDCache();   HAL_ETH_Transmit(&EthHandle, &TxConfig, ETH_DMA_TRANSMIT_TIMEOUT);   SCB_EnableDCache();...so far, it works perfectly until now instead ...

Dat Tran by Senior II
  • 1462 Views
  • 5 replies
  • 0 kudos

Resolved! STM32H7 Ethernet DMA Error

Hi,I never used ethernet before, please excuse my ignorance. II dont want to use lwIP or FreeRTOS. My main goal is to use Ethernet hardware for fast communication between my distanced units. created a project for my 2 piece NUCLEO-H743ZI2 board using...

e-zeki by Associate III
  • 2164 Views
  • 3 replies
  • 0 kudos