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

Can't get correct values from HCSR-04 sensor

I have been trying to get values from an HCSR-04 sensor, but I only get garbage values. I debugged it and saw that my code doesn't clear the UIF flag of the TIM2 SR register. Could this be the cause of the garbage values? I tried the sensor with an A...

xode by Associate
  • 2073 Views
  • 2 replies
  • 0 kudos

stm32u575 FreeRTOS

Hi,I have started my hand-on experiments of FreeRTOS using stm32u575 uc with stm32u575zi-q nucleo board as non secure.I have created 2 task and their handler. With the help of seial viewer, printed some messages.While executing the code,it does nothi...

Kajol30 by Associate
  • 3254 Views
  • 6 replies
  • 5 kudos

Resolved! "self downloading" firmware via USB

Hellois it possible for the microcontroller with USB OTG to download the program memory from the USB stick itself?In other words, change the firmware simply by connecting a USB stick with a .bin file and perhaps by resetting the component.So far I ha...

PNova.2 by Associate II
  • 1722 Views
  • 2 replies
  • 1 kudos

STUSB1602 pins connection

Hi there,I am seeking some guidance regarding the connection of the STUSB1602 to the STM32L031G6U6 microcontroller for a low-power application with a small footprint.Currently, I have already connected the STUSB1602 to the microcontroller using the I...

USB Composite HID+CDC (VCP) with STM32F401

Hi,I would like to create a gamepad that is recognized by the computer (windows), and have the Virtual Com Port (CDC) to send en receive data with the computer. For that, I want to create an USB Composite with HID+CDC. I found an exemple on this webs...