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

Resolved! Computation error occurs sporadically

Hi!I am performing a calculation in an interrupt as this:L1L2_filteredTimeNegFlank = ((TIM_GetCounter(TIM16)*50) + 206*L1L2_filteredTimeNegFlank)>>8;But it seems like that it sporadically computes the wrong value and it disappears when I reformulate ...

TBerg by Associate II
  • 851 Views
  • 4 replies
  • 3 kudos

[Tutorial] Restart STM32F in DFU mode

There are some older posts on the net about how to achieve a reboot in DFU mode but none of them worked for me. So I want to share my solution on how to add this functionality to your embedded firmware. First off all, I am using CUBEIDE with a STM32F...

Screenshot_2024-02-15_11-14-31.png
EKoec by Associate II
  • 3525 Views
  • 4 replies
  • 2 kudos

STM32 MODBUS TCP With W5500

Hello all. I have another problem related with Modbus TCP communication. I use STM32VG board and W5500 ethernet IC. My problem is about after i establish connection, communication is broken one time in five seconds, another time in one minute. So, co...

TCP_INIT.png TCP VERİ ALMA.png TCP_VERİ GONDERME.png

Resolved! Conflict from UART and STLINK

Hi there!i start to work at one project with STM32G031J. Soo my i have this problem one of the pin is use for reset when i download the program at the same time is configurate a single wire half duplex , and - i can't simulate- and it's look like eve...

Immagine 2024-08-20 200549.png
SGian.1 by Senior
  • 1095 Views
  • 4 replies
  • 1 kudos

STM32H755 with Precision Time Protocol.

Hello all,I am learning to implement a bare-minimal code that let PTP(OC, slave mode) works with STM32H755(Nucleo-H755ZI-Q with FreeRTOS). I have read RM0399, UM2217 as well as stm32h7xx_hal_eth.c with corresponding chapters. And here is the first dr...

Leon_MS by Associate III
  • 3424 Views
  • 11 replies
  • 1 kudos