4. Application Programming Interface
The programming interface allows the user to do the following:
• Send commands to the radio.
• Read status information.
• Set and read radio parameters.
• Handle the transmit and receive FIFOs.
The API commands are listed in the table below. The following sections describe the SPI transactions of sending commands and get-
ting information from the chip.
Table 4.1. EZRadio/Pro API Commands
Command ID Name Description
BOOT_COMMANDS
0x02 POWER_UP
Command to power-up the device and se-
lect the operational mode and functionality.
COMMON_COMMANDS
0x00 NOP No operation command.
0x01 PART_INFO Reports basic information about the device.
0x10 FUNC_INFO
Returns the Function revision information
of the device.
0x11 SET_PROPERTY Sets the value of one or more properties.
0x12 GET_PROPERTY
Retrieves the value of one or more proper-
ties.
0x13 GPIO_PIN_CFG Configures the GPIO pins.
0x15 FIFO_INFO
Access the current byte counts in the TX
and RX FIFOs and pro- vide for resetting
the FIFOs.
0x20 GET_INT_STATUS
Returns the interrupt status of ALL the pos-
sible interrupt events (both STATUS and
PENDING). Optionally, it may be used to
clear latched (PENDING) interrupt events.
0x33 REQUEST_DEVICE_STATE Request current device state and channel.
0x34 CHANGE_STATE
Manually switch the chip to a desired oper-
ating state.
0x38 OFFLINE_RECAL Recalibrates due to temperature change.
0x44 READ_CMD_BUFF
Used to read CTS and the command re-
sponse.
0x50 FRR_A_READ
Reads the fast response registers (FRR)
starting with FRR_A.
0x51 FRR_B_READ
Reads the fast response registers (FRR)
starting with FRR_B.
0x53 FRR_C_READ
Reads the fast response registers (FRR)
starting with FRR_C.
0x57 FRR_D_READ
Reads the fast response registers (FRR)
starting with FRR_D.
IR_CAL_COMMANDS
0x17 IRCAL Image rejection calibration.
AN954: Programming Guide for EFM8 and EZRadio ®
Application Programming Interface
silabs.com | Smart. Connected. Energy-friendly. Rev. 0.1 | 14