arduino - BeagleBone Black MRF24j40 -
i trying mrf24j40 on beaglebone black talk arduino mrf24j40. have communicated arduino arduino of yet have not been able receive packets beingness sent out on bbb.
the setup: have gpio_13 going reset (pin 2), gpio_14 going wake (pin 3) , gpio_29 going interrupt (4). 3.3v going vin on 10 , ground on pin 1. using spi1 hdmi ports disabled. d0 mapping pin 7 (sdo) , d1 mapping pin 5 (sdi), p9.31 clock goes pin 6 , p9.28 goes pin 8.
i have been able log bbb via ssh. load cape mrf24j40 using echo /sys/devices/bone_capemgr.9/slots
this appears load driver properly.
i have been able do:
iz listphy iz: /lib/arm-linux-gnueabihf/libnl-genl-3.so.200: no version info available (required iz) iz: /lib/arm-linux-gnueabihf/libnl-3.so.200: no version info available (required iz) wpan-phy0 ieee 802.15.4 phy object page: 0 channel: n/a channels on page 0: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 iz add together wpan- iz: /lib/arm-linux-gnueabihf/libnl-genl-3.so.200: no version info available (required iz) iz: /lib/arm-linux-gnueabihf/libnl-3.so.200: no version info available (required iz) registered new device ('wpan0') on phy wpan-phy0
i decided set addresses simple things on arduino side in case there sort of endian problem pan id 0, address of sender 0 , sends info 1, seek set beaglebone pan id 0, address 1 destination address of 0.
root@beaglebone:~# iz set wpan0 0 1 12 iz: /lib/arm-linux-gnueabihf/libnl-genl-3.so.200: no version info available (required iz) iz: /lib/arm-linux-gnueabihf/libnl-3.so.200: no version info available (required iz) ifconfig wpan0
then run izchat 0 1 0
i nil on bbb side though other side transmitting... , when type izchat, not receive on other side.
any help here appreciated... want see info before start coding. said, has been tested arduino arduino , not have problems.
arduino debian embedded-linux beagleboneblack zigbee
No comments:
Post a Comment