cancel
Showing results for 
Search instead for 
Did you mean: 

STM8S SPI Master Hardware CS/SS Controll

arron
Associate
Posted on March 24, 2013 at 07:16

I've working with the STM8S103K3T6C (LQFP package) and getting SPI Master working, without the Standard Peripheral libraries.  I am able to send data correctly, however I havn't been able to get the hardware SPI peripheral to manage the CS/SS line for me.  No combination of the SPI_CR2_SSM and SPI_CR2_SSI registers seems to work.  I've tried both the default NSS pin (PE5) and the optional NSS pin (PA3) with the correct AFR bit set.  What do I need to do to enable hardware management of CS/SS?

#spi-nss
0 REPLIES 0