To get a byte from a SPI-slave, the master needs to send a byte.
By analyzing the code created for Inputbin, I can say it does not shift anything out, so it looks it is not implemented yet.
It may work to send out one byte via Printbin and after fetch one byte via Inputbin.
Receiving larger chunks of data will be slow this way and care has to be taken to flush the UART-MSPI input buffer before.
There's no such functionality like in SPI (see Config SPIx), at least in version 2.0.7.7, so if you like to use UART-MSPI more efficiently, you need to write your own functions.
↧