This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52840 ipv6 communication with Raspberry Pi3 not working

Hello,

I am trying a IOT SDK example to connect a NRF52840 to a Raspberry Pi 3 via ipv6: infocenter.nordicsemi.com/index.jsp

I don't use a low energy dongle because the Raspberry Pi 3 is already BLE enabled. I have already used it for other BLE applications.

On the NRF52840, I first programmed the SoftDevice s1xx-iot-prototype3_nrf52_softdevice.hex which is located at /components/softdevice/s1xx_iot/s1xx-iot-prototype3_nrf52_softdevice.hex in the SDK, followed by the IOT ICMP example located at \examples\iot\icmp\boards\pca10040\ in the SDK.

Although the documentation mentions using the S140 soft device, using it gave the following error when programming the actual ICMP example:

programming failed. This hex file has data in SoftDevice region. Try programming using "Program SoftDevice", or erase all before programming.

Also, even though the NRF52840 uses PCA10056, there were no examples available for that, so I used PCA10040.

After following the steps listed under infocenter.nordicsemi.com/index.jsp, under Getting Started --> Connecting devices to the router, I could see and connect to a "ICMPv6" BLE device and after performing the connection steps, the bt0 interfaces shows up.

However, when I try to ping the NRF52840 with ping6 and its local link ipv6 address (computed according to the Getting Started --> creating link local ipv6 addresses section, there is no response from the NRF52. ifconfig for bt0 shows the following traffic:

RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:29 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:0 (0.0 B)  TX bytes:927 (927.0 B)

Could anyone help me out about what I might be doing wrong, and why I am not getting any response to ping6? Am I using the wrong program or the wrong SoftDevice? Is there something else I need to do for establishing communication?

Thanks in advance!

Regards

Andy

Related