SPI for 33 bits frame size
I am using STM32H745 MCU.
My requirement is to receive 33 bits of data on SPI in slave mode.
The master transmits 33 clocks.
It is not possible to split the data as reconfiguration of SPI in between the clocks is difficult.
Is there a way to read partially filled SPI data register?
If I know the end of 33 clocks, and if the configure the data size is 32 bits, at the end of 33 clocks I can read 32 bits from the FIFO.
The last 1 bit which will be available in the data register is to be read. The data register data doesn’t go to the FIFO for reading until 32 bits are received.
How to resolve this issue?
