CC2340R5 to CC2340R21 Porting Guide

This section will describe, in general terms, how to migrate a project developed for the CC2340R5 device to a CC2340R21 device running the SimpleLink Low Power F3 SDK. However, it is important to first assess the differences between both devices to make sure that the project migration is possible.

Migration Guide

The recommended migration path is to start with a CC2340R5 based example project from the SimpleLink Low Power F3 SDK and follow the next steps:

Warning

The current SDK version only supports Bluetooth LE PHYs. Therefore, successful migration of Proprietary RF projects has not been fully tested and will be addressed in future SDK releases.

  1. Import the project into Code Composer Studio.

  2. Open SysConfig, go to Device View and click on SWITCH.

../_images/DeviceView_Switch.png

Figure 61. SysConfig - Switch Device.

  1. Once the Switch Board or Device window is opened, select the CC2340R21 board, or CC2340R21 device and click on CONFIRM. Make sure to save the project changes so that the migration takes place.

../_images/Select_R2device.png

Figure 62. SysConfig - Select CC2340R21 device.

  1. Right click on the imported project folder and select Properties. Validate that the CC2340R21 name shows up at the Variant and core field.

../_images/check_project_prop.png

Figure 63. Project Properties - Check migration to CC2340R21 device.

Warning

If a new linker command file is generated after migration (named cc23x0r2.cmd in the project files) please make sure to exclude it from build (or eliminated it from the project files) so that the original lpf3_app_freertos.cmd file is used during build time.

  1. Build the project.