I'm playing around with a USB logic analyzer (DSLogic Plus) to look at some RS232 signals. Everything seems to be working fine, but I just noticed that the probe to ground wasn't connected properly. So only the RX and TX lines were connected to the logic analyzer.
How was I getting any kind of good data without the ground being connected?
Just to set the expectation level: I'm a software guy who knows something about programming low-level devices, but my electronics knowledge is extremely basic.
A description of the connections between the devices:
The devices communicating over the RS232 link are an iMX6-based board and a device that is based on a Nordic nRF chip. The RS232 link is not TTL level, it's level shifted to RS232 levels:
+-------+ +--------+
| iMX6 | <====== rs232 ========>| Nordic |
+-------+ ^ +--------+
|
|
+---------+
| DS Logic|
+---------+
|
usb
|
+---------+
| PC |
+---------+
The devices are powered by:
- iMX6: a 12V DC brick
- Nordic: a bench power supply at 9V
- PC: household main
- DS Logic: a powered hub connected to the PC