]> sigrok.org Git - sigrok-dumps.git/blame - pjon/pjdl/README
pjon/pjdl: add capture of minimal PJON frames over PJDL link layer
[sigrok-dumps.git] / pjon / pjdl / README
CommitLineData
55a8021a
GS
1-------------------------------------------------------------------------------
2PJON over PJDL
3-------------------------------------------------------------------------------
4
5This is a collection of example PJON communication which uses the PJDL
6link layer. Which does serial communication on a single wire, and the
7reference library happens to implement it by means of software bitbang
8(which affects the timing of signals on the wire).
9
10
11Logic analyzer setup
12--------------------
13
14The capture was taken with a logic analyzer at a samplerate of 4MSa/s.
15Communication is done on a single channel.
16
17 Probe PJDL
18 ----------------
19 1 data
20
21
22pjon-pjdl-glitch-and-ack-and-failed-ack.sr
23------------------------------------------
24
25Two STM32F103 (Blue Pill boards) run the example code which resides in
26the examples/ARDUINO/Local/SoftwareBitBang/SendAndReceive/Device1/ and
27Device2/ directories. Communication mode 1 translates to 44us and 116us
28for data and pad bits. Device addresses are 44 and 45. The letter 'B' is
29sent as the payload data in both directions. Synchronous responses get
30requested, but one device won't respond. The capture also contains a few
31glitches which as a byproduct exercise the decoder's robustness, and
32recovery after synchronization loss.
33
34
35pjon-pjdl-incomplete-frame-missing-ack-repetitive.sr
36----------------------------------------------------
37
38This is a longer capture taken from the above setup. Some of the glitches
39happen to fall into a PJON frame's period and can prevent or can disturb
40the accumulation of the frame's content.