Running Software Examples on the CC13x4 or CC26x4

Software Examples for the CC13x4 or CC26x4

It is not currently possible to use the Hardware View tool to change the device types of projects using CC13x2x1 or CC26x2x1 to CC13x4 or CC26x4. Developers are strongly encouraged to import a project which contains the correct settings for their target device and port the stack application accordingly. Example projects can be found in the following location:

<SDK_DIR>\examples\rtos\<LaunchPad variant>\<stack>\<application>\tirtos\<ticlang/iar>

For LP-EM-CC1314R10, LP-EM-CC1354P10-1 and LP-EM-CC1354P10-6, software examples are provided in the SimpleLink CC13xx/CC26xx SDK.

If your product will use CC1354R10, CC2674R10 or CC2674P10, the recommendation is to start with a LP-EM-CC1354P10 software example.

Migrate Your CC13x2 or CC26x2 Project

This section will describe a way to migrate an existing project to the CC13x4 or CC26x4 device.

The best way to migrate is to open a new project from the new SDK and transfer your changes and application code over to the new example.

  1. Choose the CC13x4 SDK example project that contains your target project’s base functionality or corresponds to your existing project.

  2. Transfer the SysConfig settings. You can do this through the GUI, or open both the old and the new project .syscfg files in a text comparison program and copy-paste the desired settings.

  3. Transfer all modified application files from your existing project into the CC13x4 example project. If applicable: delete application files that are not used from the CC13x4 example project.

You can find instructions on how to design and configure a custom board in the Custom Hardware chapter.

Specific Software Changes from CC13x2 and CC26x2 Projects

If your project has not been updated to the latest SDK, you may run into one or more of the following limitations:

Memory

The CC13x4 or CC26x4 devices contain 1M (1024KB) internal flash and 256KB RAM.

ROM

On CC13x4 or CC26x4 devices, there is no RTOS or connectivity stack in ROM. Instead, the RTOS and stacks are stored in flash. There are no required software changes.

PIN and GPIO Drivers

Legacy PIN drivers are not supported on CC13x4 or CC26x4 devices. Instead you should use the GPIO++ driver. For more information about GPIO++ driver, refer to the migration guide GPIO++ Driver Porting Guide

UART Driver

The legacy UART driver is not supported. Instead use the new UART2 driver. More information available in the UART to UART2 Porting Guide.

RTOS

CC13x4 or CC26x4 devices will only support TI-RTOS7 and FreeRTOS, not legacy TI-RTOS (also called RTOS6 or BIOS6). More information about TI-RTOS7 is available here: TI-RTOS to TI-RTOS7 Migration.

GCC

GCC compiler is not supported with CC13x4 or CC26x4. Instead, customers should use the TI-CLANG or IAR compiler.