2010-09-23 09:56 AM
NSS pin as GPIO when using SPI interface
2011-05-17 05:08 AM
You can indeed do what you are asking - I have it working. I had to try different coding things to make it work.
The comment from my (working) code is: // Set Software slave management amd make the SSI bit one. Then, as long as the SPI_CR1_SPE is set, the SPI interface will work.2011-05-17 05:08 AM
Thanks, Harjit. this still doesn't work though.
Edit: yes it does. You seem to have to set both the bits at the same time.2011-05-17 05:08 AM
Glad you got it working.
The documentation is very confusing on this topic. I wish they had spelled out what it took to support each way.2011-05-17 05:08 AM
The documentation on a lot of the STM32 stuff is absolutely terrible. I don't know whether a non-native English speaker wrote it or they just didn't take enough time over it. It's made me look at going back to Atmel or NXP for future products now other people have Cortex devices out there.
It may be a cultural ST thing because their web site is also terrible!