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

USB HOST on stm32f469 and Composite Device

I have custom board on stm32f469. And I try add to HAL HID library my USB device. But I have some problem.Device have 2 interfaces. 1 endpoint in first and 2 endpoins in second (interface). In this case USBH_HID_GetHIDDescriptor give me descriptor, b...

USB Mass Storage bridge to monitor USB traffic

HiI have stm32f446re nucleo. Is it possible to make one USB traffic monitoring bridge using it?(USB Storage or SDCard) <-----STM32-----> ComputerI am trying to do is to make one monitor to see what content is getting accessed from the computer from t...

SSune.1 by Associate II
  • 2450 Views
  • 13 replies
  • 0 kudos

Hello everybody! I've got a development board NUCLEO-H743ZI2. I try to study USB using STM32CUBEMX. I always get an error 43 in my windows PC after reconnecting. Can anybody say to me what I've do wrong?

 I configured clock configuration and USB CDC with default settings without using VBUS. In main() i try to sent a message to PC using function CDC_Transmit_FS which was generated CUBEMX. First connection to PC is successful and i got my messages. Aft...

AAA.1 by Associate
  • 352 Views
  • 0 replies
  • 1 kudos

STM32G071 - Problem with rand() and random() functions always returning 0 in a FreeRTOS thread but OK in main().

I have an STM32G071 running FreeRTOS CMSIS v2 compiled with STM32CubeIDE. In one of the threads I want to generate a pseudo-random number. (I don't need anything sophisticated and the STM32G071 doesn't have an RNG anyway; pseudo random is absolutely ...

SSton.1 by Associate III
  • 4988 Views
  • 6 replies
  • 3 kudos

'F446 OTG_HS hangs on Core Soft Reset

On a 'F446 running out of FLASH at 168MHz, an already field-proven code using OTG_HS with FS PHY started to fail intermettently after being compiled by a newer version of gcc (due to more aggressive optimization of course).The code hangs on        wh...

Resolved! How to properly use HAL I2C functions

 Hey,I'm working with TMP175AQDGKRQ1 (temperature sensor) which communicates over I2C.I've managed to read the temperature register by doing this static void Read_Temperature(unsigned char *buffer[2]) { HAL_I2C_Master_Transmit(&hi2c1, /*0x4B<<1*/TE...

0693W000001sAIqQAM.png
RLosc.1 by Associate II
  • 4751 Views
  • 3 replies
  • 0 kudos

USB Audio Class losing 50% of my data

Hi, I am trying to get a robust isochronous transfer of audio from my STM32F072CB using the audio device class. My code is based on the code generated by STM32CubeMX for a speaker but I have changed the descriptor in order to make it an audio input. ...

0693W000001sASMQA2.png