Just a heads up for the Arduino Micro SPI functionality, that's been bugging me for an hour.
A program i'm working on, uses UART and SPI. It waits for received serial data and then does some SPI stuff on an external slave device. The transition is fast.
I've wired the slave's chip select pin to the SS pin of the Micro. The SPI communication would not work until i've added a significant delay (ca. 50ms) before it enters the SPI section.
I've rewired the chip select pin to a generic digital pin on the arduino and everything works great, as it should.
I suspect there's some overhead, delay or hardware conflict on that pin in conjunction with the UART functionality.
Unless some experienced member can explain what is going on, i suggest not using the SS pin if you have a similar code.
Best regards