User's Manual

A85xxE24A91 – Users Manual Page 25 of 28
Release Date: Dec 1
st
2010
Alternatively the power calibration can be done immediately after programming of each module
using the SPI host controller interface, using the
CAL_SET_DATA function. This option is useful if
the same image will be used in multiple equipment, of which some have the power turned down
further than 0 to save current consumption, however it requires a host processor.
5.2. Programming
The desired application image can be programmed into the module either using the PurePath
TM
software and the included CC-Debugger. Or the PurePath
TM
software can be used to create the
desired image, which is saved and the integrator can use an in-house developed production
programmer to upload the image.
If developing an in-house programmer there are a few things to consider to successfully
program the CC8520 chip. Programming procedure:
// Enter the bootloader
BOOT_RESET();
BL_UNLOCK_SPI();
Check SWR Proceed only if SWR matches required value (Reset device and Restart
programming again)
// Erase the flash
BL_FLASH_MASS_ERASE();
Target power, set to
0 or lower
Master
Radio
Page
Slave
Radio
Page