2022-03-30 04:29 AM
Hi,
I am working with 2 boards (stm32H743II) - one defined as SPI Master with SPI4 block and the other as SPI Slave with SPI5 block.
I am trying to understand the balance between:
# Init.DataSize configuration and Init.FifoThreshold
can someone give me some examples that explain the balance between them?
this is the first time I am trying to develop an SPI slave block.
thank you
2022-03-30 07:12 AM
They are (mostly) independent settings.
Data size sets the number of bits per transaction (word size) and FIFO threshold adjusts the FTHLV field which adjust how much data is needed/required for the TXP/RXP flags get set.