If the reply buffer size is less than the size of the buffer received by the master, the missed bytes can be filled by zeroes (the DLN_SPI_SLAVE_REPLY_SHORTAGE_SEND_ZEROES
reply type) or by repeating the reply bytes (the DLN_SPI_SLAVE_REPLY_SHORTAGE_REUSE
reply type).
You have a loaded reply: ABCD
. The master initiates a transmission of 6 words. From the slave, the master receives the following:
If the
DLN_SPI_SLAVE_REPLY_SHORTAGE_SEND_ZEROES
reply type is set, the master receivesABCD00
. The last bytes are filled with zeroes.If the
DLN_SPI_SLAVE_REPLY_SHORTAGE_REUSE
reply type is set, the master receivesABCDAB
. The last bytes are filled by repeating the first bytes of the reply.