2008-05-22 02:22 AM
2011-05-17 12:53 AM
HI THERE!
I AM HAVING AN APPLICATION IN WHICH I NEED TO CHANGE MY SPI1 CONFIGURATION FROM MASTER TO SLAVE WHILE IN RUNNING MODE. FOR THIS I HAVE DONE THIS: 1.CHANGE THE CONFIGURATION REGISTERS OF SSP1 WHEN EVER I HAVE TO CHANGE FROM MASTER TO SLAVE OR SLAVE TO MASTER. 2. I HAVE A PULL UP RESISTOR ON THE NSS PIN AS PER THE DISCUSSIONS IN THIS FORUM. WHAT ELSE NEEDS TO BE DONE? DO I HAVE TO CHANGE THE PORT PIN CONFIGURATION ALSO. KINLDY SUGGEST SOME IDEAS. THANKS, SATNAM SINGH