SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
Command ID number: 0x0002
CMD_GET_FW_INFO is an immediate command that takes the parameters listed in Table 26-40.
Byte Index | Field Name | Bits | Bit Field Name | Type | Description |
---|---|---|---|---|---|
0–1 | commandNo | W | The command ID number | ||
2–3 | versionNo | R | Firmware version number | ||
4–5 | startOffset | R | The start of free RAM | ||
6–7 | freeRamSz | R | The size of free RAM | ||
8–9 | availRatCh | R | Bitmap of available RAT channels |
On reception, the radio CPU reports information on the running radio firmware. A version number is returned in versionNo. The startOffset and freeRamSz fields contain information on the area in the nonretention part of the radio RAM that is not used by the radio CPU for data (including stack and heap). This area is free to use by the system CPU for data exchange, radio CPU patching, or other purposes. The start and end address of the free RAM is given as offset from the start of the radio RAM. The RF core retention RAM is free to use except for the first 36 bytes.
Some of this free RAM is used for patches provided by TI.
The availRatCh field is a bitmap where bit position n indicates whether RAT channel n may be used by the system CPU. A bit value of 1 indicates that the corresponding channel may be used by the system CPU, while a bit value of 0 means that the channel is reserved for the radio CPU or is nonexistent.