User Activity

Hi All,What is the best way to switch an SPI from Slave to Master during run time and later to bring it back to Slave mode (an example will be well come :-))Thanks,Yoav