SDI,SDO,SCk 3 pin mode. Is the SS pin the free to use as normal I/O?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Oct 13, 2009 2:01 pm
It should be available for normal i/o.
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Wed Oct 14, 2009 1:03 am
As an additional note:
The Slave Select pin is only active when the SPI hardware is used as a slave. In a master this pin is never used and free for normal I/O operations.
Don't place the SS_DISABLED define in your spi_setup call for a SPI master or it will create an invalid setup.
Torello
Joined: 29 Sep 2006 Posts: 120
Posted: Thu Oct 15, 2009 11:39 am
Hi Guest,
Beware when you want to use this pin as an input!!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum