Other Parts Discussed in Thread: TIDA-010032, , , LAUNCHXL-CC1312R1
Hello,
1- Can TIDA-010032 6lowPan work on CC13x0?
2- Can the 6lowPan gateway app run on the host machine (linux) instead BB, assuming that the launchpad is connected via USB?
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.
Hello,
1- Can TIDA-010032 6lowPan work on CC13x0?
2- Can the 6lowPan gateway app run on the host machine (linux) instead BB, assuming that the launchpad is connected via USB?
Thanks Chen !
1- I flashed the coprocessor example for CC1350 and plugged it into the Host Machine,
2- In the host machine:
- I downloaded the TIDA-010032 software example
- Since I'm using USB, so I changed //UINT8 uartName[32] = "/dev/ttyS1"; to UINT8 uartName[32] = "/dev/ttyACM0"; in comm.c
- In cd <TID_install_directory>/6lowpan_mesh/Projects/gateway/proj/, I cleaned the previous make and re-make'ed it again using "make local=y"
- when I launched the gateway app (./gwapp.exe) It says network manager is not connected , any Idea what is wrong?
Hi Ahmed,
We haven't verified the software on the linux host PC. I guess it's related mostly on the complie option and peripherals (UART to the MCU running TI 15.4-stack). The local=y option is supposed to use when you compile the software on the BBB. Please, review the design guide and makefile that comes with the software example.
Regards,
Wonsoo
Hi Ahmed,
I can answer the questions based on the BBB platform since this is the platform we've verified.
1) The /dev/ttyACM0 is a valid interface and there is nothing else you need to change to use the interface.
2) BBB USB. This is for activating a UART on the header pins on the BBB. If you are using the USB interface on the BBB, you don't need to configure the dts file since the USB has been activated with the Linux SDK. It might not be the same for your host PC configuration.
Regards,
Wonsoo
Hi Ahmed,
Yes, it should work. But, it's not recommended since the number of device table entries for CC1350 is smaller than that for CC1312 (has more memory room). This causes a huge gap on # of supporting nodes between network stacks (in BBB) and MAC (in CC13xx), which might result in instability issue when you run over a large network. If you run a small size network, not an issue.
One thing you need to modify is the MAX_DEVICE_TABLE_ENTRIES in the gateway example. Please, tune the value in the gateway software based on the maximum # defined in CC1350. Please, read the last paragraph in section 3.1.2.2. in the TIDA-010032 design guide.
Regards,
Wonsoo