STM32 MCUs Products

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
  • 446 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
  • 2000 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

STM32U031 SPI receive data of arbitrary length

Greetings!I am using the STM32U031 with STM32CubeMX HAL as an SPI Slave and would like to receive data that has variable length (max 50 bytes). I am using software NSS and my current approach is to start a DMA Rx/Tx transfer (using HAL_SPI_TransmitRe...

FlokRo by Associate
  • 306 Views
  • 1 replies
  • 0 kudos

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
  • 1040 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
  • 2898 Views
  • 4 replies
  • 3 kudos