![Silicon Laboratories EZRADIOPRO Si4060 Скачать руководство пользователя страница 29](http://html1.mh-extra.com/html/silicon-laboratories/ezradiopro-si4060/ezradiopro-si4060_programming-manual_1272031029.webp)
AN633
Rev. 0.7
29
The commented lines explain which API property/properties will be overwritten with new value(s). For example,
this definition is responsible for initializing three API properties of the radio at one time, "MODEM_MOD_TYPE",
"MODEM_MAP_CONTROL", and "MODEM_DSM_CTRL". The format of the definition is as follows:
The first byte is the command ID of the "SET_PROPERTY" API command.
The next three bytes are the requirements of the command:
MSB of the starting location of the API property
Number of the immediate adjacent API properties
LSB of the starting location of the API property
Finally, the values of the properties set by the command.
Figure 24. Structure of “SET_PROPERTY” API Command
The "Radio Setup Configuration" section is intended only for the example project. This part only has a C-like
structure, called "Radio_Setup_Configuration_Array", that contains the previously mentioned definitions with the
modification that the first element is the length of the API command. The format of the definition remains almost the
same but the length field is added. The importance of the extended structure is to build the appropriate format of
the input parameter for the 'Si446x_configuration_init(…)' function. The format of a line from the array is as follows:
Figure 25. One Element of the Radio Setup Configuration Section
The "Specific Configuration of the Example Project" section is intended for the example project. It contains some
specific definitions for the example application such as which channel is selected either for the transmission or for
the reception. The content of the custom packet is initialized in this section. It also contains WDS calculator-related
information in the commented lines.
/**
* crys_freq
xtaltol
ifmode
hipfm_Ch_Fil OSRtune
chfil_sw_AFC ant_div pm_pattern
* 30000000 20
2
1
0
0
0
0
*
* mod_type
Rsymb(sps)
Fdev(Hz)
OOK_BW(Hz) Manchester afc_en Rb_error Chip_Version
* 1
40000
83333.3
350000
0
0
0
2
*
* fc(MHz)
API_TC
fhst
hi_pfm_cp
BER_mode raw_demod dsource hi_pfm_div
* 915
27
0
0
0
0
0
1
**/
#define CUSTOM_PACKET_TX_CONTENT {SiliconLabs}
#define CUSTOM_PACKET_RX_CONTENT {SiliconLabs}
#define CUSTOM_CHANNEL_NUMBER_TX 0
#define CUSTOM_CHANNEL_NUMBER_RX 0
Command
ID
Starting Property
(MSB)
Number of
Properties
(N)
Starting
Property (LSB)
Value
1
Value
...
Value
N
Command
ID
Length of
API command
Starting
Property
(MSB)
Number of
Properties
(N)
Starting
Property
(LSB)
Value
1
Value
...
Value
N
Содержание 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...