Download Print this page

Texas Instruments SimpleLink CC2620 Technical Reference Manual page 1507

Zigbee rf4ce wireless mcu simplelink cc13 series; simplelink cc26 series

Advertisement

www.ti.com
23.3.4.9 CMD_READ_RFREG: Read RF Core Register
Command ID number: 0x0601
CMD_READ_RFREG is an immediate command that takes the parameters listed in
Byte Index Field Name
0–1
commandNo
2–3
address
4–7
value
On reception, the radio CPU reads the RF core register with address 0x4004 0000 + address. The result
is written to value. If the address is not divisible by 4, the radio CPU returns ParError in CMDSTA.
CMD_READ_RFREG may be sent as a direct command. If so, the address is given by bits 2–15 of
CMDR, with the two LSBs of the address set to 00.
When reading has been performed, the result is returned in value. The 24 LSBs of the result are returned
in CMDSTA bits 8–31. The result returned in CMDSTA is Done.
23.3.4.10 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
Byte
Field Name
Index
0–1
commandNo
2
ratCh
3
4–7
compareTime
On reception, the radio CPU sets the RAT channel given by ratCh in compare mode, and sets the channel
compare time to compareTime, which also arms the channel. A channel event occurs at the given time,
and this can be enabled as an RF hardware interrupt to the system CPU through the RFC_DBELL
module.
The channel number must indicate a channel that is not reserved for use by the radio CPU. Otherwise, the
radio CPU returns ParError in CMDSTA. If the compare time is in the past when the command is
evaluated, the radio CPU returns ContextError in CMDSTA and disables the RAT channel. If the compare
event is successfully set up, the radio CPU returns Done in CMDSTA.
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
Table 23-40. CMD_READ_RFREG Command Format
Bits
Bit Field Name
Table 23-41. CMD_SET_RAT_CMP Command Format
Bits
Bit Field Name
Copyright © 2015, Texas Instruments Incorporated
Type
Description
W
The command ID number
The offset from the start of the RF core hardware
W
register bank (0x4004 0000)
R
Returned value of the register
Type
Description
W
The command ID number
W
The radio timer channel number
Reserved
W
The time at which the compare occurs
RF Core HAL
Table
23-40.
Table
23-41.
1507
Radio

Hide quick links:

Advertisement

loading