I have worked on m2560. Where I configured an UART as SPI-master-only.
I could not find any link where I could find such things for arduino.
I want to know is there any library available in Arduino to use any UART as SPI.
m2560 has this feature to configure any uart as SPI master.
This is how I worked earlier without Arduino. I got my answer.
To be clear for others:
There are no library has yet been written as such to configure UART as SPI. Developer has to do it as given in the link.
Even in playground?
Secondly:
Being aware that the following test can be useless. Just for clarification, the 2560 datasheet says all the UARTs can be converted to SPI master. Has anyone tried that ? If not I am on it.
TODO:
Configure all the UARTs except UART0 ( kept for debug ) as SPI master. And if I can I will try to modify Harware Library to accommodate the feature. Let us see.