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.

CC1350: Running TIDA-010032 with CC1350 Co-processor and Host Linux PC (instead of BBB) via USB

Expert 1600 points
Part Number: CC1350
Other Parts Discussed in Thread: TIDA-010032

First of all, is this setup valid?

- CC1350 running co-processor application plugged into Linux Host PC (running TIDA010032 6lowPan gateway app)

Next, if yes, the gateway app fails to identify the coprocessor and output: 

TIDA-010032 6LoWPAN Mesh Data Concentrator

Initializing Network Manager...
Initializing UART port...
Network Manager not connected!
=== Waiting for port /dev/ttyACM0
Initializing timer...
Initializing host interface layer...
Initializing 6LoWPAN/uIP/RPL...
Initialize UIP...
Network Manager not connected!
Network Manager not connected!
Network Manager not connected!
Network Manager not connected!

  • Hello Ahmed,

    I am not sure if you will be able to run it with a CC1350 without changing some configurations on the Linux gateway side of things.

    If you look at section 3.1.2.2 of the user guide it states:

    "The SimpleLink CC13x2 SDK includes the TI 15.4-Stack co-processor which is the underlying low-level
    stacks of the 6LoWPAN RF mesh network stacks running on the AM335x MPU.
    The SimpleLink CC13x2 SDK provides a pre-built TI 15.4-Stack co-processor that configured the
    maximum FH neighbor entries of 50 (based on SimpleLink CC13x2 SDK v2.30). On the other hand, the
    6LoWPAN mesh gateway application, parts of TIDA-010032 software example, configures the maximum
    neighbor entries in the TI 15.4-Stack to 200 via a FH PIB command. Thus, with the pre-built TI 15.4-Stack,
    it will return error and the gateway application cannot complete its initialization procedure. To address this,
    the TI 15.4-Stack co-processor needs to be rebuilt with change of maximum FH neighbor entries to 200."

    The CC1350 does not have enough space in flash to hold more than 50 neighbors, you will need to change the value on the linux processor from 200 to 50 if you want to keep the CC1350.

    I hope this helps,
    AB
  • Hi AB,
    Thank you for your response.
    Yes I noticed that and made sure that the number of neighbors is set to 50 on both sides: the co-processor and the gateway app.
    I also made sure of the rest of parameters in this file and the error still persist.

    Let me ask you a couple of questions:
    - Is it Ok to skip the BBB and run the app directly on the linux PC?
    - which SDK versions is the gateway app compatible with (for CC13x2, and if possible, CC13xx)?
    - Is there a documentation for the gateway application code so that I try to debug it? I can hardly tell where is the main function and what each file do.

    Thank you
  • Ahmed Ibrahim,

    Let me ask you a couple of questions:
    - Is it Ok to skip the BBB and run the app directly on the linux PC?

    Yes, keep in mind that you may have to download additional dependencies for the particular distribution you want to use it with ( I think our gateway is tested using Ubuntu 64 bit)


    - which SDK versions is the gateway app compatible with (for CC13x2, and if possible, CC13xx)?

    According to the documentation and code, it looks to be SDK v2.20


    - Is there a documentation for the gateway application code so that I try to debug it? I can hardly tell where is the main function and what each file do.

    If it is based off of our 15.4 Stack Linux gateway SDK, you can find the documentation here: http://software-dl.ti.com/lprf/ti15.4stack_linux_x64/2.01.00.10/exports/docs/ti154stack-ldg/ti154stack-ldg/index.html

    or you can download the SDK and find the most up to date inside the actual SDK (maybe it is already in the project you are using)

     

    Regards,

    AB