AnsweredAssumed Answered

STM8S SPI Master Hardware CS/SS Controll

Question asked by Arron.Chapman on Mar 24, 2013
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?

Outcomes