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/TIDA-01547: Deep software documentation needed

Part Number: TIDA-01547

Tool/software: Code Composer Studio

Hello guys,

i am a student at the HTWG Konstanz, Germany and have to implement a 6loWPAN mesh network to transport sensor data, which have to be viewed on my PC from one device (I was thinking about an UART interface). 

For that I analysed the TIDA-01547 project from TI but had some troubles with understanding the details.

I used the MSP432P401R Launchpad and the CC1310 Launchpad

As far as i understood it, the project is built up like following:

MSP432 MCU:

 - has the 6loWPAN mesh stack (implemented in tcpip_task in uip_rpl_task.c)

 - based on CONTIKI

 - has host interface to communicate with the CC1310 MCU(implemented in host_tx_task and host_rx_task)

 - has an application layer (implemented in app_task):

     - has the 4 build configs: UDP poll end node, UDP push end node, UDP poll root node, UDP push root node

CC1310 MCU:

 - has TI 15.4 stack

 - is flashed with pre build coprocessor_cc13x0_lp.hex via SmartRF™ Flash Programmer 2. won't be changed if new stuff will be implemented.

Both MCUs interact via an UART interface. MSP432 MCU acts as a master.

Configurations for the PHY layer van be done in the host_config.h

There is an mailbox implemented so host_tx_task can communicate with other tasks. (max. 10 messages)

host_tx_task initializes the TI 15.4 stack, handles stuff for the MAC layer and exceptions at transmission in general. It is only for end-nodes.

host_rx_task handles incoming UART messages with analysing the header.

The project starts with main_tirtos.c which initializes the GPIOs, the UART interface, calls init_host_task(); from host_task.c and starts the bios.

My questions:

Where do I find the main.c function which can be found on the screenshots in .../lit/ug/tidudk2a/tidudk2a.pdf on site 21? It seems to be important to understand the skeleton of the project.

Where are the data generated to be transmitted? (in the debug_root_poll I hoped to find something but there are only the .out file and several .d and .mk files that I didnt understand)

Where could I open another UART interface so I can communicate with the MSP MCU via my PC (Putty,WinSCP,TeraTerm or the CCS console)?

How could I export the implementation of the MSP MCU to another TI microcontroller (ek-tm4c129exl) so I could run it on it? I hoped to transfer some more complex sensor data.

Could someone send me a more detailed software documentation of the project than .../lit/ug/tidudk2a/tidudk2a.pdf? I think some more explanation of the code would help me a lot!

I would be very thankful if someone could answer my questions in near future or correct me in my assumptions above.

Tanks and have a good day,

Richy

  • Hello Richy,

    I am attempting to find an expert who may be able to properly address your questions, meanwhile have you considered TIDA-010003 or TIDA-010024 to avoid the need for a host MCU and split stack solution?  https://github.com/contiki-ng/contiki-ng/wiki/Platform-srf06-cc26xx 

    The main function would exist in the main.c file of the MSP432P401R project downloaded from the 6LoWPAN TI 15.4 example but you would have to port the application from this example to another MCU on your own: www.ti.com/.../tidcek1

    Regards,
    Ryan

  • Hi Richy,

    Yes, I agree with your understanding.

    Where do I find the main.c function which can be found on the screenshots in .../lit/ug/tidudk2a/tidudk2a.pdf on site 21? It seems to be important to understand the skeleton of the project.

    Main function can be found in "main_tirtos.c" instead of "main.c" as shown in Fig. 21.

    Where are the data generated to be transmitted? (in the debug_root_poll I hoped to find something but there are only the .out file and several .d and .mk files that I didnt understand)

    All the application code is located in "app_task_root.c" and "app_task_node.c".

    Where could I open another UART interface so I can communicate with the MSP MCU via my PC (Putty,WinSCP,TeraTerm or the CCS console)?

    You can open UART interface anywhere in the project folder. Ideally, it is better to have it in the application code, "app_task_root.c" and "app_task_node.c".

    How could I export the implementation of the MSP MCU to another TI microcontroller (ek-tm4c129exl) so I could run it on it? I hoped to transfer some more complex sensor data.

    Since TM4C129E is also ARM based MCU, you can easily import the code from MSP432. You may want to create a blank project in TM4C example code and try to import code from the TIDA-01547 example.

    We provide these example code on ti.com to showcase the software implementation and as a starting point for the developers. Other than the design guide (tidudk2a.pdf), we do not have any detailed software documentation for this example.

    With Regards,