raspINGA is a shield for raspberry pi with a AT86RF231 IEEE802.15.4 radio
If you can use ATUSB and Ubuntu IoT 18.04 instead.
- start with standard setup for Raspberry Pi 3b with Raspbian Stretch lite (kernel 4.14 2019-04-08) and update kernel
- activate driver for AT86RF231 in the device tree overlay in
/boot/config.txt
- add
dtoverlay=at86rf233, interrupt=25, reset=27, sleep=17
- add
- look with
dmesg
for "Detected at86rf231 chip version 2" - install wpan-tools via apt, the interface wpan0 should show up afterwards
sudo iwpan dev wpan0 set pan_id 0x23
to set PanIDsudo iwpan phy phy0 set channel 0 26
to set Channelsudo ip link add link wpan0 name lowpan0 type lowpan
to add 6LoWPAN interface onto wpan0sudo ip link set wpan0 up
sudo ip link set lowpan0 up
- if neighbor discovery is broken add neighbors with
ip neigh add
, see man-page