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

Advice for speeding up USB writes?

Hello, we are using an STM32F7 and are saving image data to USB, using mostly the BSP code (disk_write in usbh_diskio.c -> USBH_MSC_Write in usbh_msc.c and so on). However we have found it's quite slow, 6-7 seconds to save one 400x400 image. I've s...

Read/Write specific register value on I2C

Hi,I am using STM32L031K6 MCU and SW4STM32 IDE for development. I want to read/write specific register value of i2c slave device from MCU(i2c master)Below is a code I am using.#include "main.h"   #define I2C_ADDRESS 0x3c #define MASTER_BOARD #...

hbhim by Associate II
  • 3544 Views
  • 11 replies
  • 0 kudos

STM32L4 USB Host communicating with a custom class device with multiple interrupt out endpoints.

Hi all,I am using the Nucleo-L476RG dev board and am using it as a USB Host to communicate with a custom vendor device which has 4 interrupt IN endpoints and 4 interrupt OUT endpoints.My code has been generated using CubeMX and I have generated a cus...

STM32H7_HAL Ethernet has problem yet.

Dear Imen,Thanks for your replay.I modified my project file using your new library file(ethernetif.c)And I was testing during two days.But, It has a problem yet.Previously, there was stop the ethernet in minutes.But, there was stop the ethernet in ho...

0690X000006CuwEQAS.jpg 0690X000006CuwJQAS.jpg

Unable to install driver for STM Device in DFU Mode.

We have a customised PCB and would like to have the feature of being able to flash the firmware using USB. So, we have the USB DM and DP pins wired to PA11 and PA12 pins (of STM32L152), respectively. We also configured the BOOT0 to HIGH and BOOT1 to ...

0690X000006CvOrQAK.jpg
Khoo.B by Associate III
  • 8342 Views
  • 8 replies
  • 0 kudos

Code updating through USB

I am using two STM32F4 controllers and communicating both of them. For code updation iam doing it through USB almost all controllers are detecting when we connect to USB but some controllers are detecting only when there is an internet connection to ...

saiteja by Associate II
  • 384 Views
  • 0 replies
  • 0 kudos