-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
110 changed files
with
9,236 additions
and
975 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+33.5 KB
docs/thread-migration-guide/resources/ccs_install_select_processor_support.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
# Running OpenThread Examples on the TI SimpleLink CC2674P10 and CC2674R10 | ||
|
||
## Modification required for the CC2674P10 device | ||
1. First make a copy of the `openthread.syscfg` file and put it in the same directory. | ||
|
||
2. Rename the file to `CC2674.syscfg` | ||
|
||
3. To open the file add the following line to the top of the file: | ||
``` | ||
// @cliArgs --product <path to SDK>/.metadata/product.json --board /ti/boards/LP_EM_CC1354P10_6 or /ti/boards/LP_EM_CC1354P10_1 --rtos freertos | ||
``` | ||
4. Open the syscfg file using the standalone Sysconfig GUI. | ||
|
||
5. Click on "Show Device View" and then click "Switch". | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-switch-1.png"> | ||
</div> | ||
|
||
6. Select "Board" as "None" and "Device" as "CC2674P10RGZ", Unselect "Lock PinMux", and click "Confirm". | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-switch-2.png"> | ||
</div> | ||
|
||
To clear the errors, make the following changes: | ||
|
||
1. Clear the error in RF Design by clicking on 'accepting the current value', which should be 'LP_CC2674R10_RGZ' in the drop down menu for 'Based On RF Design' | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-error-1.png"> | ||
</div> | ||
|
||
2. Clear Global Event Mask in TI Drivers > RF by clicking on the cross and leaving the field blank | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-error-2-a.png"> | ||
</div> | ||
|
||
> Also, set the number of antenna switch control pins to 0. | ||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-error-2-b.png"> | ||
</div> | ||
|
||
3. Clear the current GPIO settings in Ti Drivers > GPIO and press remove all. | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-error-3-a.png"> | ||
</div> | ||
|
||
> Add Spinel interrupt pin. Name it CONFIG_SPINEL_INT and give the values shown: | ||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-error-3-b.png"> | ||
</div> | ||
|
||
4. Reconfigure the GPIOs: | ||
- UART2: Configure TI Drivers > UART2 > PinMux as follows (UART Peripheral = UART0, TX Pin = DIO_13/19, RX Pin = DIO_12/18) | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-error-4-a.png"> | ||
</div> | ||
|
||
- Buttons: Configure the GPIO for the buttons. Under TI DRIVER APPS > Button, select CONFIG_BTN_LEFT and under Pin Mux, select Button as DIO_15. Then select CONFIG_BTN_RIGHT and under Pin Mux, select Button as DIO_14 | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-error-4-b-1.png"> | ||
</div> | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-error-4-b-2.png"> | ||
</div> | ||
|
||
- LEDS: Configure the GPIO for the LEDs. Under TI DRIVER APPS > LED, select CONFIG_LED_RED and under Pin Mux, select LED Pin as DIO_6. Then select CONFIG_LED_RIGHT and under Pin Mux, select LED Pin as DIO_7 | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-error-4-c-1.png"> | ||
</div> | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-error-4-c-2.png"> | ||
</div> | ||
|
||
5. Finally, Uncheck XOSC Cap Array modification | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg-error-5.png"> | ||
</div> | ||
|
||
## Modifications required for the CC2674R10 | ||
|
||
After applying all items in the `Modification required for the CC2674P10 device` section in the `SysConfig GUI` | ||
section, the subsequent changes apply specifically for the CC2674R10 and | ||
should be addressed from a SysConfig Editor. | ||
|
||
1. Pins will need to be reconfigured as such: | ||
|
||
| SysConfig pin name | R10 `PinMux` | | ||
| ------------------ | ------------ | | ||
| UART_RX | `DIO_2` | | ||
| UART_TX | `DIO_3` | | ||
| CONFIG_BTN_LEFT | `DIO_13` | | ||
| CONFIG_BTN_RIGHT | `DIO_14` | | ||
| CONFIG_LED_RED | `DIO_6` | | ||
| CONFIG_LED_GREEN | `DIO_7` | | ||
|
||
2. _Custom -> IEEE 802.15.4-2006, `250 kbps`, `OQPSK`, `DSSS = 1:8` -> Code | ||
Export Configuration_, acknowledge and dismiss the PA radio setup error | ||
3. _Custom -> IEEE 802.15.4-2006, `250 kbps`, `OQPSK`, `DSSS = 1:8` -> RF | ||
Command Symbols_, change `CMD_RADIO_SETUP` from `RF_cmdRadioSetup` to | ||
`RF_cmdIeeeRadioSetup` and add the following functions from the drop-down: | ||
- a CMD_TX_TEST | ||
- b. CMD_IEEE_ED_SCAN | ||
- c. CMD_IEEE_CSMA | ||
- d. CMD_IEEE_RX_ACK | ||
|
||
After this, the example's `README.md` instructions can be followed to produce | ||
the executable needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Migration Guide | ||
|
||
Below is a collection of porting and migration guides relevant for | ||
TI-Openthread. | ||
|
||
## Migration Guides | ||
|
||
Migration guide is used to migrate major changes, e.g. from one device to another | ||
device or from one configuration to another. | ||
|
||
- CC2674 [GitHub Migration guide](./thread-cc2674-migration.md). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Get started with SysConfig | ||
|
||
System Configuration Tool (SysConfig) is a graphical interface for | ||
configuring your project. Configuration files, C source files and header | ||
files are generated based on the parameters configured in the SysConfig | ||
dashboard. | ||
|
||
SysConfig should be used as a standalone tool for script-based builds (such as for TI-OpenThread). | ||
|
||
The below documentation will help for getting started in tailoring the syscfg file to your application needs. | ||
|
||
> **_Attention:_** | ||
Files and code generated by SysConfig should be thoroughly checked and | ||
reviewed. | ||
|
||
## Using Stand-alone SysConfig | ||
|
||
You can find the standalone SysConfig tool on the [SysConfig Standalone | ||
Installer Download Page](https://www.ti.com/tool/SYSCONFIG). | ||
|
||
The location of the openthread syscfg file is located here: `/src/openthread.syscfg` | ||
For example, on the github web: https://github.com/TexasInstruments/ot-ti/blob/release/thread-1.3-certification-support/src/openthread.syscfg | ||
The local file in your cloned repository should be used. | ||
|
||
This file is used by openthread build scripts, when it invokes SysConfig CLI. | ||
In order to edit the file for your custom application configurations, you'll need to open the file with the SysConfig GUI. | ||
Before doing so, you should add the following line: | ||
|
||
``` | ||
// @cliArgs --product <path to SDK>/.metadata/product.json --board /ti/boards/LP_EM_CC1354P10_6 --rtos freertos | ||
``` | ||
|
||
As an example, after adding the necessary `<path to SDK>`, it would look like: | ||
|
||
``` | ||
// @cliArgs --product /home/Documents/repos/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/.metadata/product.json --board /ti/boards/LP_EM_CC1354P10_6 --rtos freertos | ||
``` | ||
|
||
If the file is not found, then you may need to first initialize the submodules: | ||
|
||
``` | ||
git submodule update --init | ||
``` | ||
|
||
Now you can open the file in SysConfig GUI. | ||
Once you are done, remove the `@cliArgs` line then save the file. Now the ot-ti build scripts will use the updated .syscfg file. | ||
|
||
## Viewing SysConfig Output | ||
|
||
To preview the code to be generated reference the `Generated Files` image, the button at the top of | ||
the `Configuration` pane you will find a list of Generated Files. After | ||
selecting a file you will be able, in real-time, to identify how the | ||
changes in the GUI affect the generated files. This will help you review | ||
the relationship between the GUI and the code. | ||
|
||
<div style="text-align: center;"> | ||
<img src="resources/syscfg_generated_files_ble.png" alt="Generated Files"> | ||
<div class="caption">Generated Files</div> | ||
</div> | ||
|
||
Whenever you re-build the project, SysConfig will re-generate the files. | ||
Because of this, any changes made directly in the generated files will | ||
be overwritten. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.