]> sigrok.org Git - sigrok-dumps.git/blame - spi/mrf24j40/sensormote/README
mrf24j40: Move files to sensormote/ subdir.
[sigrok-dumps.git] / spi / mrf24j40 / sensormote / README
CommitLineData
06b70ce3
KP
1-------------------------------------------------------------------------------
2Microchip MRF24J40
3-------------------------------------------------------------------------------
4
5This directory contains a capture of the communication between a custom sensor
6mote board [1] and a Microchip MRF24J40MA IEEE 802.15.4 transceiver module.
7
8It is not nearly a complete sample of what types of traffic are possible,
9it does not have any examples of cyclic mode, it doesn't even contain RX
10packets, other than an ACK.
11
12[1] The board used is available here:
13https://github.com/karlp/karlnet/tree/master/nodes/boxcar
14
15
16Logic analyzer setup
17--------------------
18
19The logic analyzer used was a generic Saleae Logic clone (at 16MHz).
20
21The 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
34mrf24j40-reset-wakeup.sr
35------------------------
36
37Capture of power-on behaviour resetting the radio and rewriting its config
38as per the datasheet recommendations.
39
40The 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
47mrf24j40-wake-tx-ack.sr
48-----------------------
49
50Captures the host MCU waking the radio, sending a packet, and checking the
51interrupt flags for an ACK. The sequence is not necessarily optimal, but
52functional.
53
54The 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