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