Skip to main content
A.Caliskan
Associate III
January 21, 2022
Question

spi tser,tsize value ?

  • January 21, 2022
  • 1 reply
  • 2196 views

hello ,I use stm32h750vbt6

I'm trying to send data with spi 16 bit data constantly, I checked the reference manually

But there were some parts that I didn't understand. To send 16-bit data at intervals of a certain time, tser,tsize and what should my FIFOThreshold value be.

This topic has been closed for replies.

1 reply

TDK
January 25, 2022

> To send 16-bit data at intervals of a certain time, tser,tsize and what should my FIFOThreshold value be.

TSER = 0 (probably don't care)

TSIZE = 0

FTHLV = don't care

In this configuration, the SPI will send out data as you feed it. Write 16 bits at once to ensure it's sent out without a break in between bytes if using 8-bit word size.

"If you feel a post has answered your question, please click ""Accept as Solution""."
A.Caliskan
Associate III
January 28, 2022

i did what you said, I send 0xC130, I look pin 0x30C1, data is shift,how can i avoid data shift ?

Associate
March 31, 2024

Your code seems configured to send the LSB first, or the software/tool you're using to look at the data being sent is assuming the MSB is sent first.