Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Issues with NCP device at higher data rate recieved from SED

Hello,

My product is developed on mqttsn example of nRF5 SDK for Thread. Current setup is having one SED and one NCP device connected to OTBR ( having Nordic Image). 

So issue arises when i transfer data from  SED at high data rate i.e (1 payload of size 95 bytes/100ms). And i have confirmed from Thread group discussion that a device in network can send data at this rate if there aren't any other devices in the network. So after 10-15 minutes of continuously running my SED  suddenly changes it's state to 1, which causes it to stop transmitting data.

I would like to know the reason behind this sort of behaviour:

1. Is it NCP firmware issue. Do i have to change any parameters or allocate memory blocks in NCP firmware to handle such a fast speed data reception from sleepy device ? Because i think my NCP device gets uninitialized than get initialized again as its in while loop in the NCP firmware. And when my NCP device gets de-initialized due to some issue my SED go to state 1. This could be a possible issue, but i am not sure if this is the case.

Does data rate 100ms have any imapct on NCP device connected to OTBR ? And if yes how to debug or solve ?

2. If it's not a NCP issue, than i would like to know why my SED are getting its state changed to 1 ?

Parents
  • Hi

    my SED  suddenly changes it's state to 1

    Sorry, but what do you mean by the state changing to 1? What was the state prior to this, and what exactly is "state 1"?

    1. If all the data arrives to the NCP correctly without any corruptions, I don't see why it would be an issue on the NCP side of the application, since the SED is the side that is having trouble as far as I can tell.

    2. Can you check whether this state change always happens after a set amount of time, this might be some timer trigging somewhere between 10 and 15 minutes that requires it to stop transmitting, perhaps that it needs to update its status to the network for example? Do you see any kind of error when this state change occurs. A sniffer trace of this occurring might be helpful to narrow down what happens exactly. You can use an nRF52840 DK or Dongle and the nRF Sniffer for 802.15.4 to do this.

    Best regards,

    Simon

  • What was the state prior to this, and what exactly is "state 1"?

    I meant thread device gets into  "OT_DEVICE_ROLE_DETACHED" state, previously it was in in "OT_DEVICE_ROLE_CHILD" state. 

    If all the data arrives to the NCP correctly without any corruptions, I don't see why it would be an issue on the NCP side of the application, since the SED is the side that is having trouble as far as I can tell.

    Okay.   

    Do you see any kind of error when this state change occurs.

    At the Info level i don't see any sort of error, it just changes is state and reconnect back to thread network in 2-3 seconds. 

    Can you check whether this state change always happens after a set amount of time, this might be some timer trigging somewhere between 10 and 15 minutes that requires it to stop transmitting, perhaps that it needs to update its status to the network for example

    Yes this happen every time but the time duration is not specific. Sometimes it happens after hours, sometimes after 30-40 minutes. 

    A sniffer trace of this occurring might be helpful to narrow down what happens exactly. You can use an nRF52840 DK or Dongle and the nRF Sniffer for 802.15.4 to do this.

    Below is the Sniffer trace of the issue which i am facing. In the sniffer trace, the issue arises  between  time slot of 16:43:20 (packet no: 3318)  -  16:44:00 (packet no: 39666). There is no communication after time 16:43:24.125260 (packet number: 38879).

    Here is sniffer capture:

    Parameters used Channel: 11 PAN ID: 0xABCD , masterkey: 00112233445566778899aabbccddeeff

     

    SED_State_Disabled1.pcapng

    Hopefully you can find issue out of this ?

Reply
  • What was the state prior to this, and what exactly is "state 1"?

    I meant thread device gets into  "OT_DEVICE_ROLE_DETACHED" state, previously it was in in "OT_DEVICE_ROLE_CHILD" state. 

    If all the data arrives to the NCP correctly without any corruptions, I don't see why it would be an issue on the NCP side of the application, since the SED is the side that is having trouble as far as I can tell.

    Okay.   

    Do you see any kind of error when this state change occurs.

    At the Info level i don't see any sort of error, it just changes is state and reconnect back to thread network in 2-3 seconds. 

    Can you check whether this state change always happens after a set amount of time, this might be some timer trigging somewhere between 10 and 15 minutes that requires it to stop transmitting, perhaps that it needs to update its status to the network for example

    Yes this happen every time but the time duration is not specific. Sometimes it happens after hours, sometimes after 30-40 minutes. 

    A sniffer trace of this occurring might be helpful to narrow down what happens exactly. You can use an nRF52840 DK or Dongle and the nRF Sniffer for 802.15.4 to do this.

    Below is the Sniffer trace of the issue which i am facing. In the sniffer trace, the issue arises  between  time slot of 16:43:20 (packet no: 3318)  -  16:44:00 (packet no: 39666). There is no communication after time 16:43:24.125260 (packet number: 38879).

    Here is sniffer capture:

    Parameters used Channel: 11 PAN ID: 0xABCD , masterkey: 00112233445566778899aabbccddeeff

     

    SED_State_Disabled1.pcapng

    Hopefully you can find issue out of this ?

Children
No Data
Related