X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=spi%2Fmrf24j40%2FREADME;fp=spi%2Fmrf24j40%2FREADME;h=3a2fe2d37b528c048d2e60d7bb85768e6b0d03b8;hb=06b70ce3f50f959ede7fb0dad7fd6ade5b5e5e05;hp=0000000000000000000000000000000000000000;hpb=13c49dff638334c422b17de7f7d0c2c75f8d5af7;p=sigrok-dumps.git diff --git a/spi/mrf24j40/README b/spi/mrf24j40/README new file mode 100644 index 0000000..3a2fe2d --- /dev/null +++ b/spi/mrf24j40/README @@ -0,0 +1,59 @@ +------------------------------------------------------------------------------- +Microchip MRF24J40 +------------------------------------------------------------------------------- + +This directory contains a capture of the communication between a custom sensor +mote board [1] and a Microchip MRF24J40MA IEEE 802.15.4 transceiver module. + +It is not nearly a complete sample of what types of traffic are possible, +it does not have any examples of cyclic mode, it doesn't even contain RX +packets, other than an ACK. + +[1] The board used is available here: +https://github.com/karlp/karlnet/tree/master/nodes/boxcar + + +Logic analyzer setup +-------------------- + +The logic analyzer used was a generic Saleae Logic clone (at 16MHz). + +The same configuration was used for all captures. + + Probe Pin Description + ------------------------- + 0 nRESET + 1 INT Signals the host MCU + 2 SDI Slave data IN + 3 SCK SPI clock + 4 SDO Slave data OUT + 5 nCS SPI chip select + 6 VDD + + +mrf24j40-reset-wakeup.sr +------------------------ + +Capture of power-on behaviour resetting the radio and rewriting its config +as per the datasheet recommendations. + +The sigrok command line used was: + + sigrok-cli -d fx2lafw --config samplerate=16M:captureratio=2 \ + --time 10ms -o mrf24j40-reset-wakeup.sr -t nCS=f \ + --channels 0=nRESET,1=INT,2=SDI,3=SCK,4=SDO,5=nCS,6=VDD + + +mrf24j40-wake-tx-ack.sr +----------------------- + +Captures the host MCU waking the radio, sending a packet, and checking the +interrupt flags for an ACK. The sequence is not necessarily optimal, but +functional. + +The sigrok command line used was: + + sigrok-cli -d fx2lafw --config samplerate=16M:captureratio=70 \ + --time 20ms -o mrf24j40-wake-tx-ack.sr -t INT=r \ + --channels 0=nRESET,1=INT,2=SDI,3=SCK,4=SDO,5=nCS,6=VDD +