On 19-10-2009 at 18:32, Anonymous wrote:
See exactly what the problem is. I had NSS configured as default H/W controlled with SPI_CR1 bit SSM set to 0. NSS pin (PortA Pin4) was not connected and un-configured (default, floating input). If I configure it as an input pulled-up it works OK. Or, if I configure SSM to software controlled (1) and also set SSI bit of SPI_CR1 to 1 it is OK (allowing PortA Pin4 to be used in future as a I/O pin).
Thanks for pointing me in the right direction!
Retrieving data ...