STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32L47 Bootloader v9.x SPI bug

Recently, I have been working on a project that intends to utilize the v9.x bootloader on an STM32L471VGT6 through the SPI 2 port. When utilizing the write memory command, I would find that the STM32L4 would occasionally have 0xFFFFFFFFFFFFFFFF writt...

chaup by Associate
  • 72 Views
  • 0 replies
  • 0 kudos

SPI interface characteristics

Hi. I am selecting for chip upgrade. In the database content of STM32H743ZG, the SPI interface characteristics section says that the VOS level should be set to VOS1 as shown in the picture, but I chose rev.V to use the main frequency 480 MHz. So my V...

giwonKIM_0-1716441403001.png
giwonKIM by Associate II
  • 223 Views
  • 1 replies
  • 0 kudos

STM32F401 SPI CLK turns off with DMA

Hello Got a weird issue, to further test I created  blank project with no other code to rule out conflict. When I put in HAL_SPI_Receive_IT(&hspi3, SPI_RX_BUF, 2);,According to my logic analyzer, the clk and data pins stay high and dont move. When I ...

i-3.jpg i-2.jpg i-1.jpg i-4.jpg

Resolved! Delay issues on HAL_SPI libraries

Hello everyone,  I am using SPI to communicate two Nucleo Boards (a NUCLEO-L432KC and a NUCLEO-F411RE one), and i found out a weird behavior. The idea was to perform a transaction Master -> Slave in order to select a "register" to read. Once the Slav...

vicfer89 by Associate II
  • 411 Views
  • 5 replies
  • 0 kudos

HAL_SPI_TransmitReceive_DMA not written correctly by CubeMX

I am using SPI with DMA as shown in the screenshot. DMA is using Data Handling to truncate data from SPI's 16bit buffer into 8 bit values.The following part of the code errors out. Commenting this code out makes my application work, but every time I ...

btd5_0-1711728270877.png
btd5 by Associate II
  • 201 Views
  • 2 replies
  • 0 kudos

Resolved! CubeMX SPI data size bug?

In CubeMX when configuring a SPI peripheral I can only choose either 8 or 16 bit, but the STM32G491 reference manual says data size can be from 4 to 16 bit. Is this a bug in CubeMX?(using the newest CubeMX version)

decalvus by Associate II
  • 445 Views
  • 4 replies
  • 0 kudos