Texas Instruments CC2650DK ユーザーズマニュアル

ページ / 1570
RF Core HAL
23.3.4.6 CMD_GET_FW_INFO: Request Information on the Firmware Being Run
Command ID number: 0x0002
CMD_GET_FW_INFO is an immediate command that takes the parameters listed in
Table 23-38. CMD_GET_FW_INFO Command Format
Bytes
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
Bitmap of available RAT
8–9
availRatCh
R
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 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.
NOTE:
Some of this free RAM will be used for patches provided by TI.
The availRatCh field is a bitmap where bit position n indicates whether radio timer 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 non-existing.
23.3.4.7 CMD_START_RAT: Asynchronously Start Radio Timer Command
Command ID number: 0x0405
CMD_ START_RAT is a direct command.
On reception, the radio CPU starts the radio timer if it has not already been started.
If the radio timer is already running, the radio CPU returns the result ContextError in CMDSTA. Otherwise,
the radio CPU returns Done.
23.3.4.8 CMD_PING: Respond With Interrupt
Command ID number: 0x0406
CMD_PING is a direct command.
On reception, the radio CPU returns Done in CMDSTA. This command can test the communication
between the two CPUs, or to check when the radio CPU is ready after boot.
23.3.4.9 CMD_SET_RAT_CMP: Set RAT Channel to Compare Mode
Command ID number: 0x000A
CMD_SET_RAT_CMP is an immediate command that takes the parameters listed in
Table 23-39. CMD_SET_RAT_CMP Command Format
Bytes
Field Name
Bits
Bit Field Name
Type
Description
0–1
commandNo
W
The command ID number
2
ratCh
W
The radio timer channel number
3
Reserved
4–7
compareTime
W
The time at which the compare occurs
1483
SWCU117A – February 2015 – Revised March 2015
Radio
Copyright © 2015, Texas Instruments Incorporated