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

Create USB-PD3 Sink Device Using PD2 Source

I am using a NUCLEO-G071RB dev board with a X-NUCLEO-SNK1M1 expansion board to create a USB PD sink application. I downloaded the project files from this GitHub repo x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD /SNK1M1_Sink/ and only change...

jvl97_0-1694644123940.png jvl97_1-1694645130683.png jvl97_2-1694645141671.png
jvl97 by Associate
  • 1241 Views
  • 2 replies
  • 0 kudos

STM32H745 USB HOST and FreeRTOS CMSIS V1 problem

I have a project created with TouchGFX for STM32CubeIDE.All in latest versions and it works. The firmware pack has a support for the WM8994 audio chip as BSP driver. I lost like a month of my work trying to figure out why the driver fails randomly to...

HTD_0-1695139862909.png
HTD by Senior III
  • 913 Views
  • 1 replies
  • 1 kudos

SBSFU Application upgrade fails

Hi,I'm working on STM32G0B0RE custom device. I have ported SBSFU through USB CDC. I'm able to program SBSFU and application. The application is working as expected but when I try to upgrade application it fails to rewrite the application header in th...

Tarun_0-1695134618462.png Tarun_0-1695135417335.png
Tarun by Associate III
  • 522 Views
  • 0 replies
  • 0 kudos

NUCLO.H753ZI, cannot get USB device running

I'd like to activate the user USB on the NUCLO.H753ZI board, as a USB device for serial emulation (CDC)I use CUBE generated code (basic demo setup for this CPU), the ST-Link USB works and I can debug. I may add, that I have USB working with Cube-code...

VKoen.1 by Associate II
  • 763 Views
  • 1 replies
  • 0 kudos

HAL_I2C_Mem_Read_DMA not working on STM32H723

Hi all,I have been trying to get I2C DMA working on an STM32H723 for a few days now. It works perfectly when using blocking mode (using HAL_I2C_Mem_Read), but when I try to use HAL_I2C_Mem_Read_DMA it returns success, but doesn't actually do the read...

Simon_0-1695019170931.png Simon_1-1695019340613.png
Simon by Associate II
  • 3152 Views
  • 7 replies
  • 2 kudos

LWIP MBEDTLS, no RTOS

I have tried to get LWIP and MBEDTLS working in RAW mode without an RTOS but have failed miserably...I think I have overlooked something - any suggestions?The failure is at -ssl_tls.c - line 2629if( ! mbedtls_pk_can_do( &ssl->session_negotiate->peer_...

Wood.Andy by Associate III
  • 1542 Views
  • 1 replies
  • 0 kudos

PNG compression

Hi,i'm using the NUCLEO U575ZI-Q board I want to compress some data I collect from analog sensors via png encoding in order to take advantage of compression, how can I do it? Are there special libraries for that?I don't need to have the .png file but...

Rturo by Associate II
  • 2261 Views
  • 8 replies
  • 0 kudos

STM32G071CB Battery voltage monitoring issue

 HI. I would like to use the battery voltage monitoring feature.I am reading the ADC by connecting a DC source and adjusting the value from 2.6V to 3.6V. We tested 10 boards and they all had different ADC values.The biggest difference was over 100.PC...

songkw by Associate II
  • 717 Views
  • 2 replies
  • 1 kudos