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

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
  • 583 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
  • 2028 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
  • 5020 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 II
  • 597 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
  • 26345 Views
  • 6 replies
  • 3 kudos

Resolved! Odd observation on STM32G071 device

Hi allSTM32CubeIDE v1.16.1firmware package: cube FW_C0 V1.2.0I use the IDE to start a new project with STM32G071 on its discovery board.Just simply configure PD0, 1, 2, and 3 as inputs with pull-ups.  All other aspects are using IDE defaults.code gen...