2022-01-21 04:23 AM
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.
2022-01-24 04:52 PM
> 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.
2022-01-28 12:15 AM
i did what you said, I send 0xC130, I look pin 0x30C1, data is shift,how can i avoid data shift ?
2024-03-31 12:00 PM
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.