AN633
Rev. 0.7
51
9.6. Patching the Radio
9.6.1. What is a Radio Patch?
A Radio patch is a piece of software provided by Silicon Labs to change the operation of the radio chip. The patch
runs on the internal MCU of the radio chip and fixes bugs or adds/improves features of the firmware in the internal
ROM. It is distributed in binary form and has to be loaded in the RAM of the radio chip by the host MCU through the
SPI interface. Since the RAM is volatile memory, the information stored in it gets lost when the power of the chip is
removed. Consequently, the content of the firmware patch has to be downloaded into the radio chip each time after
performing a power on reset.
9.6.2. Patch Usage
In paragraph 8.2 Figure 20 describes the radio wake-up process. To apply a patch, the patch content has to be
sent to the radio chip after POR but before issuing the POWER_UP command.
The patch is provided in a text file that has a .csg extension. Following several lines of comments that identify the
patch, it contains the patch data lines, eight bytes in a line. Each line has to be sent to the chip as an eight byte
long command. A CTS reply has to be read from the chip after each line.
After all lines are sent, the POWER_UP command has to be issued with the PATCH bit of the BOOT_OPTIONS
argument set to 1.
Function Name:
void
si446x_request_device_state
(void)
Description:
Requests the current state of the device and lists pending TX and RX requests
Return Value:
None
Function Name:
void
si446x_rx_hop
(U8 INTE, U8 FRAC2, U8 FRAC1, U8 FRAC0, U8 VCO_CNT1,
U8 VCO_CNT0)
Description:
While in RX state this will hop to the frequency specified by the parameters and start
searching for a preamble.
Input Parameter(s):
INTE : New INTE register value.
FRAC2 : New FRAC2 register value.
FRAC1 : New FRAC1 register value.
FRAC0 : New FRAC0 register value.
VCO_CNT1 : New VCO_CNT1 register value.
VCO_CNT0 : New VCO_CNT0 register value.
Return Value:
None
Function Name:
void
si446x_agc_override
(U8 AGC_OVERRIDE)
Description:
This command is used to allow override of the AGC.
Input Parameter(s):
AGC_OVERRIDE AGC override parameters.
Return Value:
None
Summary of Contents for EZRADIOPRO Si4060
Page 24: ...AN633 24 Rev 0 7 Figure 20 Supply Current versus Time Diagram from Shutdown to RX State...
Page 67: ...AN633 Rev 0 7 67 Figure 48 Variable Length Packet Reception Flowchart...
Page 69: ...AN633 Rev 0 7 69 Figure 50 Packet Matching Reception Flowchart...
Page 73: ...AN633 Rev 0 7 73 Figure 54 Packet Reception with Automatic RX Hopping Flowchart...
Page 75: ...AN633 Rev 0 7 75 Figure 56 Packet Reception with Manual Rx Hopping...
Page 80: ...AN633 80 Rev 0 7 Figure 62 Long Packet Transmission Workflow...
Page 81: ...AN633 Rev 0 7 81 Figure 63 Long Packet RX Flowchart...