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

STM32H743 USB device transmits zeros to the Host

Everything else is working fine.Setup packet with SET_ADDRESS received and processed.Next GET_DESCRIPTOR for DEVICE which is sent back ok I've verified the data written to the Tx FIFO is correct.Correct number of bytes it transmitted but the bytes ar...

usb-view-cap1.png
lw23 by Associate
  • 133 Views
  • 3 replies
  • 0 kudos

Resolved! FDCAN: Retransmissions Configuration

Good afternoonI am working on the STM32H755 and am dealing with the retransmissions from my CAN FD periphery. According to the ISO-11898-1:2024 standard, the number of retransmissions should be configurable:"- from 0 (no retransmission),- to at least...

MFrie.7 by Associate III
  • 433 Views
  • 9 replies
  • 2 kudos

Resolved! HAL_ADC_ConvCpltCallback only gets called once

I'm setting up the ADC in "manual continuous" mode where hadc1.Init.ContinuousConvMode = DISABLE and then I call HAL_ADC_Start_IT() inside of HAL_ADC_ConvCpltCallback().  I get the first call to HAL_ADC_ConvCpltCallback and calling HAL_ADC_Start_IT()...

cbcooper by Associate II
  • 135 Views
  • 3 replies
  • 0 kudos

HAL I2C abort DMA on I2C error

On an STM32G4, if an I2C error occurs (e.g. a bus error) during a DMA driven I2C transaction, is the intention that the HAL I2C driver abort the DMA transfer?Starting at line 6599 in stm32g4xx_hal_i2c.c (v1.2.5), I see code in the I2C_ITError functio...

mjones37 by Associate
  • 126 Views
  • 3 replies
  • 0 kudos

Help with simple gamepad USB HID

Hello, for my first project with a microcontroller I'm doing a 16 button gamepad USB HID with the aid of ChatGPT. I have no idea of what I'm doing really. I'm Using a STM32f103C8T6 and  STLink V2. I made a polling version that constantly read pins an...

Masfeo by Associate II
  • 252 Views
  • 6 replies
  • 0 kudos

Resolved! STM32H7_PTP Connection through Ethernet

Hello,I have managed to generate a IP through the LWIP in the STM32 IDE and establish a connection via Ethernet, although now when I upload the files from hasseb/stm32h7_atsame70_ptpd: IEEE 1588 PTP daemon for STM32H7 and ATSAME70 (github.com) I seem...