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

STM32H7, AZURE NetX and MII mode with KSZ8081

My processor board uses STM32H743V. The Ethernet chip is KSZ8081, MII mode. I also use AZURE RTOS and NetX. I tried using CubeMX to generate an application, but it always gives me some error when I compile the program. I tried different combinations,...

TVuck.1 by Associate II
  • 2109 Views
  • 9 replies
  • 0 kudos

Regrading STM32L452RET6 bootloader issue

Hello there,I am currently working on STM32L452RET6 microcontroller in which I am trying to flash hex file using software STMFlashloader Demonstrator via UART protocol.​When I shift BOOT0 pin to high (3.3v), program goes into bootloader mode, and nBO...

JDhaw.1 by Associate
  • 1179 Views
  • 4 replies
  • 0 kudos

HAL_SD_ERROR_TX_UNDERRUN when using FATFS

I'm trying to use FATFS on NUCLEO-F401RE to write a file into the SD Card.I generated the project into cube MX and added thi code before the while(1) loop: /* USER CODE BEGIN 2 */ temp = f_mount(&StrutturaCtrFS,"",1); if(FR_OK != temp){ while(...

ABatt.1 by Senior
  • 624 Views
  • 1 replies
  • 1 kudos

USB Device Descriptor Request Failed

Dear Customer SupportI'm using the USB CDC class (Virtual COM Port) on STM32H7.When I unplug and plug the USB cable during comport communication, occasionally, the device manager display shows "Unknown USB device (device descriptor request failed)".I...

KKado.1 by Associate II
  • 1281 Views
  • 4 replies
  • 1 kudos

Resolved! STM32H7 USB custom class

Hi,I want to use my own custom usb device class base on usb core provided by ST. Inspecting the code, I found that "DataIn" and "DataOut" callback functions provided by the class to usb core are called at the END of the data in or out stage... Callin...

Getting sleep to work when USB CDC is enabled?

My program has the option of sleeping for a period using the RTC to wake or sleeping until the wakeup pin is set high. Both these functions work perfectly if I talk to the outside world using a uart.However, I configure CDC as a serial port SLEEP doe...

PMath.4 by Senior III
  • 2501 Views
  • 13 replies
  • 0 kudos

STM32L4R5 Flash programming and dual bank switch

Hello community,I'm currently having issues or perhaps not fully understanding the procedure of writing data to the MCU bank 2 and then switching to this bank to run the program from bank 2.My setup for now is using a custom protocol for sending the ...

Ajoha.2 by Associate
  • 470 Views
  • 1 replies
  • 0 kudos