]> sigrok.org Git - sigrok-dumps.git/blob - spi/mrf24j40/README
3a2fe2d37b528c048d2e60d7bb85768e6b0d03b8
[sigrok-dumps.git] / spi / mrf24j40 / README
1 -------------------------------------------------------------------------------
2 Microchip MRF24J40
3 -------------------------------------------------------------------------------
4
5 This directory contains a capture of the communication between a custom sensor
6 mote board [1] and a Microchip MRF24J40MA IEEE 802.15.4 transceiver module.
7
8 It is not nearly a complete sample of what types of traffic are possible,
9 it does not have any examples of cyclic mode, it doesn't even contain RX
10 packets, other than an ACK.
11
12 [1] The board used is available here:
13 https://github.com/karlp/karlnet/tree/master/nodes/boxcar
14
15
16 Logic analyzer setup
17 --------------------
18
19 The logic analyzer used was a generic Saleae Logic clone (at 16MHz).
20
21 The same configuration was used for all captures.
22
23   Probe  Pin    Description
24   -------------------------
25   0      nRESET
26   1      INT     Signals the host MCU
27   2      SDI     Slave data IN
28   3      SCK     SPI clock
29   4      SDO     Slave data OUT
30   5      nCS     SPI chip select
31   6      VDD
32
33
34 mrf24j40-reset-wakeup.sr
35 ------------------------
36
37 Capture of power-on behaviour resetting the radio and rewriting its config
38 as per the datasheet recommendations.
39
40 The sigrok command line used was:
41
42   sigrok-cli -d fx2lafw --config samplerate=16M:captureratio=2 \
43              --time 10ms -o mrf24j40-reset-wakeup.sr -t nCS=f \
44              --channels 0=nRESET,1=INT,2=SDI,3=SCK,4=SDO,5=nCS,6=VDD
45
46
47 mrf24j40-wake-tx-ack.sr
48 -----------------------
49
50 Captures the host MCU waking the radio, sending a packet, and checking the
51 interrupt flags for an ACK. The sequence is not necessarily optimal, but
52 functional.
53
54 The sigrok command line used was:
55
56   sigrok-cli -d fx2lafw --config samplerate=16M:captureratio=70 \
57              --time 20ms -o mrf24j40-wake-tx-ack.sr -t INT=r \
58              --channels 0=nRESET,1=INT,2=SDI,3=SCK,4=SDO,5=nCS,6=VDD
59