Showing results for 
Search instead for 
Did you mean: 

Sending and receiving more then 4 bytes with SPI Block

Associate II

I'm working with MAT-TARGET for several months by now and it is a great tool.

In the past few days I encountered a problem regarding the maximum amount of bytes i can send throw the SPI Block (using Simulink R2019b) , while sending & receiving 4 bytes work well, when I try to increase the amount of bytes farther ( more then 4 bytes) I cannot uncheck the receive only box, meaning the SPI works only in receiving mode and cannot send data that is more then 32bits (4 Bytes in the SPI block configuration).

I was wondering if you can help me deal with that issue.

The SPI is configured to be full duplex master , 6.75Mb of baud rate, 8 bit data length.

Thanks in advanced!