This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CC1310: Concentrator - Node payload increase issue

Part Number: CC1310

Tool/software: Code Composer Studio

Hi,

I am using the concentrator-node example. In this example the DualModeSensorPacket structure is being used to send and receive data.Currently this structure has 22 bytes.

I want to send 10 more bytes, but as soon as I add 10 mores bytes the node side starts resetting . The EasyLink transmit and receive structure can carry a payload of 128 bytes, which is where DualModeSensorPacket structure is copied into,  and when I debug I see the packet being created  but after that the program starts resetting. 

My issue is similar to the one discussed in https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/156/t/673782 , but no solution has been provided for this.

Can you suggest why this is happening?

Thank you.

  • Hi,

    I have been trying to debug this scenario and have not had success. I have found some addition information,

    If I increase the number of bytes only in the concentrator code in DualModeSensorPacket then the code works fine. But when I increase the number of bytes(still increasing the number of bytes from 22 to 32 in this structure) in the node code in DualModeSensorPacket it goes into 

    else if ( EasyLink_cmdPropRxAdv.status == PROP_DONE_RXTIMEOUT)
    {
    status = EasyLink_Status_Rx_Timeout;
    }

    After this the node side just gets stuck. 

    I am not sure why this is happening. Could you help me with this?

    Thank you.

  • Hi,

    Sorry for the delay. I will look into it.

    When you say resetting do you mean the device restarts?

    Have you tried  the suggestions in the above link? 

    Thanks,

  • Hi,

    I tried the suggestions in the above link and made some changes on my own and made some progress.

    Now I am able to receive 1-3 packets before the code gets stuck. I debugged the code and found out the issue but have not been able to find a solution for that. I am using  AES-CCM encryption/decryption, in this when the code enters CryptoCC26XX_transact while decrypting it looses the program handle. If I put break points inside CryptoCC26XX_transact and then run the program I receive packets without any issues, but without breakpoints the code gets stuck after receiving 1-3 packets.This happens when I increase the packet size for the payload from 22 bytes to 32 bytes . Can you suggest some way to solve this issue? I would like to stop receiving while the Crypto is working is there a way to do this?

    Thank you.

  • Hi, 

    Just wanted to check if there is any update on this issue.

    Thank you.

  • Hi, 

    Just wanted to check if there is any update on this issue.

    Thank you.

  • Hi, 

    Just wanted to check if there is any update on this issue.

    Thank you.

  • Hi,

    I have not seen any activity on this thread for sometime so I will go ahead and close it. If you are still seeing an issue, feel free to re-open the thread or create a new one referencing this one if it is locked.

    Thanks,

    Riz

  • I have employed a workaround for it, but I would like to know if there is any solution for it. No one has replied to it and I have been waiting for an answer. Can someone at least take some time to look at it? Alexis Crandall20 replied to my other post on Aug 8 and said someone would take a look at this but there has been no progress.  

  • Hi Ashish,

    Sorry for not looking into this in timely manner. Can you share the work around you employed?

    Thanks,

  • Hi,

    I am breaking up the data into 2 packets and then sending them over. I dont have a workaround for sending more bytes in single transmission. 

    If you can help me with a solution or a workaround which allows me to send more bytes in a single packet that would be helpful.

    Thank you,

    Ashish