cancel
Showing results for 
Search instead for 
Did you mean: 

SPI DYMANIC MASTER SLAVE SWITCHING

satnam
Associate II
Posted on May 22, 2008 at 11:22

SPI DYMANIC MASTER SLAVE SWITCHING

1 REPLY 1
satnam
Associate II
Posted on May 17, 2011 at 09:53

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