In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: Your shiftIn code must act as slave, that is it must receive the clock, not generate the clock. The clock is generated by the shiftOut. The SX/B shiftIn is only master. You probably need a VP written in assembly, but perhaps someone has a SX/B version of a SPI slave. Go to [url=http://www.sxlist.com/techref/ubicom/virtperf.htm]http://www.sxlist.com/techref/ubicom/virtperf.htm[/url] and scroll down to SX to SX spi interface regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=170891#m170892 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)