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

High Speed USB Split transaction. STM32F723.

Hello, I recently tried to use a stm32 controller as an full speed USB host to communicate with low speed devices over a full speed hub. To my regret I had to figure out that the stm32 controller have issues with the Preamble PID which makes communic...

NotSoMega by Associate III
  • 4805 Views
  • 14 replies
  • 0 kudos

STM32F427 Flash memory bank swapping

I would like to implement in-firmware firmware upgrades. E.g. I send the binary data to the running device, it checks it and saves it into flash bank not currently used. After saving the firmware itself, I save to flash a byte with info on which firm...

The USB audio middleware is not working for me on STM32F103 or F303, but working with F411 or F407. Just the generated code, 48000 sample rate, increased heap, not a single own code line.

Enumeration seems correct, I can select the audio device on the PC, but mem[] buffer is not filled if I send audio to the device. If I set the exact same settings for a F407 or 411, the mem[] buffer is filled by the incoming stream.I searched a lot w...

JVoro.2 by Associate II
  • 1102 Views
  • 2 replies
  • 0 kudos

Play Audio files from Flash ic using cs43l22

Hi,i am using stm32f411e - Discovery Boardi want to know how to play any audio files through cs43l22i am using flash ic Doubt is that how to convert audio file into binary file save into flash memory & send the same to codec ic.only 2 audio files Kin...

Ss.61 by Associate III
  • 655 Views
  • 0 replies
  • 0 kudos

STM32H750 USB fail, fail rate 1/300

The STM32H750 USB function was okay when it left the factory because FW update had been test in the factory. Total is 300 pcs. Recently we fond 1 pcs is abnormal. It shows the following information when pluggin in the USB. Is it hardware issue? Coul...

0693W00000GXEA5QAP.png
JLee.32 by Associate III
  • 835 Views
  • 1 replies
  • 0 kudos

USB communication only via control transaction (EP0)

I need to write an application which should communicate only via endpoint 0, i.e. using only control transactions. My question is whether this is possible with STM32 family (regardless of the series (F0, F1, ...)). I think that it should be possible ...

dr.look by Associate II
  • 5286 Views
  • 8 replies
  • 0 kudos

Hello, I am making a keyboard to use it myself with stm32f103 and when I follow the steps below, I cannot read the capslock and numlock leds from the computer. How can I get the status of these leds? thanks

Update the usbd_hid.c...static uint8_t USBD_HID_DataOut(USBD_HandleTypeDef *pdev, uint8_t epnum);...USBD_ClassTypeDef USBD_HID = {USBD_HID_Init,USBD_HID_DeInit,USBD_HID_Setup,NULL, /*EP0_TxSent*/ NULL, /*EP0_RxReady*/USBD_HID_DataIn, /*DataIn*/USBD_H...

AYılm.1 by Associate II
  • 560 Views
  • 0 replies
  • 0 kudos