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

Is there any solution to jump to application from the internal bootloader with BOOT0 pin connected to VDD

I'm using STSPIN32F0A witch is based on STM32F031C6 MCU and in my case BOOT0 pin is always connected to the VDD to force the board to boot on system memory, and the idea is to jump from the bootloader to the application on the main flash using the bo...

0693W000003PRyUQAW.png 0693W000003PRsMQAW.png
MBen .1 by Associate II
  • 1447 Views
  • 4 replies
  • 0 kudos

Bug in stm32f3xx_hal_i2c.c

CubeIDE version 1.4.1STM32Cube FW_F3 V1.11.0I had the problem, that my I2C communication (alternating rx/tx on slave) works on the first rx/tx cycle but fails on the second tx.The transmission skips the first byte and thus sending n-1 bytes. I found ...

fal.sch by Associate II
  • 839 Views
  • 2 replies
  • 0 kudos

Hello! I'm trying to program the STM32F401CC using a 'Black Pill' development board and my Ubuntu 20.04LTS computer (a NUC8i5BEH). The STM32CubeProgrammer does not recognize the board in DFU mode (and thus I cannot program it).

It does recognize the USB device (when connected through the USB-C). My Macbook recognizes the device in DFU mode, so I know that the board and port is working (I have successfully programmed the board with my Mac). Also, I managed to program the boa...

KJond.1 by Associate
  • 712 Views
  • 0 replies
  • 0 kudos

SDMMC1 working in 4bits mode with FatFS STM32H743

Hello, I am trying to use a µSD card with a nucleo-h743zi2card. I use SDMMC1 peripheral and FatFS middleware. When I set SDMMC1 in 1 bit mode my program works perfectly, but when I set the peripheral in 4 bits mode the card is not mounted. When I deb...

0693W000003PFFXQA4.jpg
M.CHN by Associate III
  • 895 Views
  • 3 replies
  • 1 kudos

STM32H7 lwip web server

Hello, I need to implement a web server on STM32H7 using lwip. I have managed to implement it using online tutorials from youtube. However, I do not understand how it works. I need to modify the example from internet. Does anyone have any source that...

VYoun by Associate III
  • 930 Views
  • 3 replies
  • 0 kudos

FatFS and FreeRTOS error f_write().

Good day.I am having difficulty with FatFS while working with FreeRTOS.The problem is of the following nature. Mounting the distka goes well. There is no problem to create a file either. But when trying to write to a file, the f_write () function alw...

AKuzn by Associate
  • 779 Views
  • 2 replies
  • 0 kudos

Resolved! Problem with HAL_I2S_Transmit_DMA on STM32H750

Hi!I have tried to use I2S onn STM32H750 and DMA has no success. I can transfer without problem data by standard HAL_I2S_Transmit but HAL_I2S_Transmit_DMA results in Error callback being fired although function itself completes with HAL_OK.I2S Config...

Duddie by Associate II
  • 1397 Views
  • 1 replies
  • 0 kudos

Nucleo STM32F413ZH USB code 43

HiThis is my first experience on a stm32 Nucleo F413ZHI am trying to make it a game device (USB HID), followed some tutorials and slowly getting there.There is just one thing that doesn't come clear to me.The compiler doesn't give me any error, but t...

MHovi.1 by Associate II
  • 794 Views
  • 4 replies
  • 0 kudos