STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

transform the function HAL_GetTick() in a 64bit

Hello Everybody, I would like transform the HAL_GetTick() function more than 49 days.I don't find a NVIC overflow on this function to increment a second variable. In my while I have do this with  uint32_t Mem_GetTick; uint64_t Tick64;   while (1) ...

JJoao.1 by Associate III
  • 1339 Views
  • 5 replies
  • 5 kudos

WFI only works during debugging

Hi everyone!I have this code where the mcu goes into STOP3 mode, and is waked up by a button triggering a wake-up pin.But it only works in debug. Without the debugger, the mcu immediately exits WFI.In debug, when I execute che code, the user led turn...

Resolved! I2C & DMA how to configure correctly?

I am a beginner and learning I2C DMA, could you tell me what I'm doing wrong?I connected the LCD to Blue Pill and it works fine with function "HAL_I2C_Master_Transmit" i.e. without DMA!But, when DMA is configured, it is dosn't works!Very simple code,...

0693W00000DnNeYQAV.png
DK.7 by Senior
  • 4770 Views
  • 5 replies
  • 1 kudos

stm32f103 reading integrated imu sensor

Hi, I am a beginner user of the stm32 board. I am working with an ICM20607 IMU sensor, and I want to read the accelerometer data (x, y, z axes) using the Cube IDE. I ve read a lot of sources for one week but couldn't find a way to fix it. I can't see...

Screenshot 2024-10-11 at 1.39.56 PM.png

RS485 non standard data word

Hi,uc: stm32f446 I have a question regarding non standard word length over RS485.I need to receive next frame over RS4851 start bit, 16-bit data word, 2 stop bits, in total 19 bits.UART implementation allows to receive 8 or 9-bit data words.Could you...

tasifacij_0-1728024568708.png
tasifacij by Associate III
  • 2487 Views
  • 15 replies
  • 4 kudos

Resolved! Error:Flash Download failed - "cortex-M4"

         Issue Description:  My code is divided into two parts, namely the APP area and the TRIM area. When I merge the code of these two areas together, there is no problem with programming through Keil. However, when I separate the code for these t...

LuckyDog_0-1706585535131.png LuckyDog_1-1706585576869.png LuckyDog_2-1706585576871.png
Lucky Dog by Associate III
  • 6242 Views
  • 4 replies
  • 3 kudos

Resolved! STM32H523RET6: FDCAN ID FilterConfig

I'm applying ID masking for filtering in the FDCAN protocol, but it's not working. The sensor I'm using has an ID of 315. In the code, I've set it to only receive messages with an ID of 320, but it's also receiving messages with an ID of 315, which i...

CANZTFD_0-1728911277544.png CANZTFD_1-1728911290312.png
CANZT-FD by Associate III
  • 726 Views
  • 2 replies
  • 0 kudos