Hello, I encounter some issues with the mrf24j40 module. I am currently trying to sniff 802.15.4 packets. I have a mrf24j40ma ( http://www.microchip.com/wwwproducts/en/MRF24J40 ) module which is wired to a raspberry pi 2 (raspbian-jessie with linux kernel 4.1.19) I wired the module as follow : http://pinout.xyz/pinout/pin1_3v3_power MRF24J40 RASPBERRY PI 2 INT BCM 22 RST BCM 25 CS BCM 8 (CE0) SCK BCM 11 (SCLK) SDO BCM 9 (MISO) SDI BCM 10 (MOSI) 3.3V 3.3 power (physical 1) GND ground (physical 6) I have modified the /boot/config.txt in which I have appended 'dtoverlay=mrf24j40'. I also have uncommented the line 'dtparam=spi=on'. Here is my code for the overlay : //----------------------------------------------------------------------------------------------------------------------------------------------------- /dts-v1/; /*required header*/ /plugin/; /*signal to the compiler that it needs to generate linkage information (allows unresolved symbols to be patched later)*/ /*node root*/ / { /*list the compatible device drivers and load the first one*/ compatible ="bcrm, bcm2835", "bcrm, bcm2836", "bcrm, bcm2708", "bcrm, bcm2709"; /* a fragment apply modifications to a node (defined in the compatible file.dtX loaded) it is composed by a target (the node to modify) and an overlay (the modifications) */ /*modification of the SPI part*/ fragment@0 { target = <&spi0>; /* the mrf24j40 module is linked with the spi0 (defined in bcm2XXX.dtX) branch (white wire) */ __overlay__ { #address-cells = <1>; #size-cells = <0>; status = "okay"; mrf24j40@0 { compatible = "mrf24j40"; /*load the driver*/ reg = <0>; /*because it is the spi0 ce0 which is linked with the CS (otherwise spi0 ce1 <-> CS and reg = <1>)*/ interrupts = <22 0x1>; interrupt-parent = <&gpio>; spi-max-frequency = <5000000>; /*or 1000000*/ }; spidev@0 { status = "disabled"; }; spidev@1 { status = "disabled"; }; }; }; }; //----------------------------------------------------------------------------------------------------------------------------------------------------- When I boot the raspberry pi 2, the modules spi_bcm2835 and mrf24j40 are loaded which is okay (from the overlay). Moreover, both the physical (phy0 with 'iz listphy') and dev (wpan0 with 'iz list') interfaces are present. So I can set up my 802.15.4 network. I use lowpan-tools with 'iz set' to give an address, a pan_id and and a channel to the wpan0 interface. Then I put the interface up ('ifconfig wpan0 up'). I launch wireshark and a device that send 802.15.4 frames (that are detected by other devices with similar configuration in term of address, pan_id and channel, so the issue does not seem to come from here). Wireshark do not display any frame. Do you have any clues about what may be wrong ? I thank you in advance for your support. Best regards, Cyrille Piatte -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html