Anyone know of a way to force the K20's SPI Master Data output (Master SOUT) to idle in the LOW state rather than HIGH?
The SPI_SOUT line drives always and holds the state that it drove during the last bit of a transmitted word - therefore it may be at '0' or at '1' between transmissions.
In order to control the state you need to reconfigure the pin as GPIO output and set the state that you need to have, and then set the pin back to SPI mode before sending the following data.
Complete Kinetis solutions for professional needs, training and support: http://www.utasker.com/kinetis.htmlKinetis K20:- http://www.utasker.com/kinetis/FRDM-K20D50M.html- http://www.utasker.com/kinetis/TWR-K20D50M.html- http://www.utasker.com/kinetis/TWR-K20D72M.html- http://www.utasker.com/kinetis/TEENSY_3.1.html- http://www.utasker.com/kinetis/tinyK20.htmluTasker: supporting >1'000 registered Kinetis users get products faster and cheaper to marketRequest Free emergency remote desk-top consulting at http://www.utasker.com/services.html
Open Source version at https://github.com/uTasker/uTasker-Kinetis
Thanks for the reply, but both the datasheet and my measurements clearly show the Master SOUT line always being driven HIGH between SPI Frames:
Retrieving data ...