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

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
  • 659 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
  • 2254 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
  • 5681 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
  • 691 Views
  • 2 replies
  • 0 kudos

Resolved! Get the System Clock Frequency (SystemCoreClock)

Hi everyone,Help please,Im using CubeMX 5.0 with STM32F407 Disco board, I had activated the HSE clock to be the clock system with 168 MHz (HCLK on the clock tree of CubeMX).Im tryning then to get the CPU clock, ( to introduce it in the Basic systik m...

mmed by Associate III
  • 27894 Views
  • 6 replies
  • 3 kudos