My collegue here has two seperate boards linked by an SPI link. He just asked me: "So... you need to connect the grounds?" After I picked myself off the floor and answered very much in the affirmative, I wondered - ok, so how bad can this get? It's a much worse case than this question which had a common PSU.
In this case, the SPI bus slave had an open-drain MISO line (with a pull up to the PIC's Vcc). The other lines were SS, MOSI, CLK. No ground. The resulting communication state was odd to say the least. Mostly as MOSI alternatively connected and disconnected the grounds together, through the open-drain, at up to 500KHz! Not to mention different things happening when probes were connected. Or fingers for that matter.
I'd never seen the SPI transceiver on a PIC go gaga before, but this seemed to do it. The CLK is, well, odd now. It looks drunk. The PIC was on a demo board connected via USB to a PC.
If I asked myself though "What caused the damage" or "What was going on", I'd be stuck to give a proper answer. I guess the ground potentials can diverge wildly, even if the end device is sitting on a desk... Is it worse or better when a probe is connected? Who knows?
It begs the question, are other comms links better protected? RS-232 for instance. I've never seen a fried RS-232 transceiver and I've seen a few links where the ground got broken. Anyone shed more light?
