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

FreeRTOS good practices

Hello,I don't really have a problem, but I'm asking myself questions and I didn't succeed in synthesizing them and find answers on Google.Problem 1:Several tasks want to use the same peripheral, lets say SPI bus for example. What is the best way to p...

Bootloader cannot flash hex files with shorter lines

Hi,we have a hex file coming from GCC which we cannot flash onto the MCU with our own flashing tool (F412 and L471 tested).While investigating, we found that after a shorter line all writing seems to fail silently (still receiving ACK).In the picture...

FS.1 by Associate III
  • 1282 Views
  • 5 replies
  • 0 kudos

Issues with SPI using HAL

Hi,I'm new to using HAL, and I'm having several issues with setting up the SPI.I'm using SPI 1 on an STM32F429ZGT6, and using KEIL as my IDE.I've just tried initializing SPI 1 by configuring GPIOA Pins 5, 6 and 7 for their SPI Alternate functions.I s...

EDaws.1 by Associate II
  • 2801 Views
  • 8 replies
  • 0 kudos

Resolved! Problem entering USART1 boot

We are using an STM32L151RE.We have problem entering USART1 boot on some of the boards. We set RESET low, BOOT0 high, then set RESET high. Then we send 0x7F on USART1 and get 0x79 as reply (on the working boards). The non working boards does not repl...

0693W000001sFpaQAE.png
MSipo by Senior II
  • 1056 Views
  • 7 replies
  • 0 kudos

Resolved! STM32F7xx.h: Strange USB_HS_PHYC_LDO_ENABLE definition

Hello,STM32Cube_FW_F7_V1.16.0 Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f730xx.hdefines#define USB_HS_PHYC_LDO_ENABLE_Pos              USB_HS_PHYC_LDO_DISABLE_Pos#define USB_HS_PHYC_LDO_ENABLE_Msk              USB_HS_PHYC_LDO_DISABLE_Msk#define ...