A N 6 3 3
14
Rev. 0.7
The following sections describe the SPI transactions of sending commands and getting information from the chip.
7.1. Sending Command to Radio
The behavior of the radio can be changed by sending API commands to the radio (e.g., changing the power states,
start packet transmission, etc.). The radio can be configured through several so called "properties". The properties
hold radio configuration settings, such as interrupt settings, modem parameters, packet handler settings, etc. The
properties can be set and read via API commands. For most of the commands the host MCU does not expect any
response from the radio chip. Other commands are used to read back a property from the chip such as checking
the interrupt status flags, reading the transmit/receive FIFOs.
After the radio receives a command, it processes the request. During this time, the radio is not capable of receiving
a new command. The host MCU has to poll the radio and identify when the next command can be sent. The clear
IR_CAL_COMMANDS
0x17
IRCAL
Image rejection calibration.
0x19
IRCAL_MANUAL
Image rejection calibration.
TX_COMMANDS
0x31
START_TX
Switches to TX state and starts transmission of a packet.
0x37
TX_HOP
Hop to a new frequency while in TX.
0x66
WRITE_TX_FIFO
Writes data byte(s) to the TX FIFO.
RX_COMMANDS
0x16
PACKET_INFO
Returns information about the length of the variable field in the
last packet received and (optionally) overrides field length.
0x22
GET_MODEM_STATUS
Returns the interrupt status of the Modem Interrupt Group (both
STATUS and PENDING). Optionally, it may be used to clear
latched (PENDING) interrupt events.
0x32
START_RX
Switches to RX state and starts reception of a packet.
0x36
RX_HOP
Manually hop to a new frequency while in RX mode.
0x77
READ_RX_FIFO
Reads data byte(s) from the RX FIFO.
ADVANCED_COMMANDS
0x14
GET_ADC_READING
Performs conversions using the Auxiliary ADC and returns the
results of those conversions.
0x21
GET_PH_STATUS
Returns the interrupt status of the Packet Handler Interrupt
Group (both STATUS and PENDING). Optionally, it may be
used to clear latched (PENDING) interrupt events.
0x23
GET_CHIP_STATUS
Returns the interrupt status of the Chip Interrupt Group (both
STATUS and PENDING). Optionally, it may be used to clear
latched (PENDING) interrupt events.
Table 4. Command Summary (Continued)
Command ID
Name
Description
Содержание EZRADIOPRO Si4060
Страница 24: ...AN633 24 Rev 0 7 Figure 20 Supply Current versus Time Diagram from Shutdown to RX State...
Страница 67: ...AN633 Rev 0 7 67 Figure 48 Variable Length Packet Reception Flowchart...
Страница 69: ...AN633 Rev 0 7 69 Figure 50 Packet Matching Reception Flowchart...
Страница 73: ...AN633 Rev 0 7 73 Figure 54 Packet Reception with Automatic RX Hopping Flowchart...
Страница 75: ...AN633 Rev 0 7 75 Figure 56 Packet Reception with Manual Rx Hopping...
Страница 80: ...AN633 80 Rev 0 7 Figure 62 Long Packet Transmission Workflow...
Страница 81: ...AN633 Rev 0 7 81 Figure 63 Long Packet RX Flowchart...