On Tue, Aug 14, 2012 at 8:39 PM, Harold Hallikainen wrote: >> >> I've heard of this being done, but I've always wondered how you tell=20 >> which bit is which. With CSn, the msb is clearly the first bit after=20 >> CSn goes low. If CSn is always low, how do you know which bit is which? >> >> Harold >> >-----Original Message----- >From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf O= f Chetan Bhargava >Sent: 15 August 2012 16:01 >To: Microcontroller discussion list - Public. >Subject: Re: [EE] SPI OLED CS signal > >Data and clock pair are independent of CS. You keep the data clocking=20 >routine the same irrespective of CD connected to micro or tied low. > >Chetan Bhargava You may be able to do this as long as the SPI slave device does not rely on= the rising edge of the CS pin to load any internal registers (many/most SP= I peripherals do). However, the downside is that a single glitch on the cl= ock line will irretrievably lose the synchronisation between the slave and = the master. Regards Mike =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .