AN633
Rev. 0.7
53
10. Example Projects
The general structure of an example can be seen in Figure 34. All the tasks are separated into two groups: the
Hardware Initialization part and the Main Process part. The Host MCU related tasks initialize the physical interface
between the radio and the controller unit including the SPI lines (SCLK, SDI, SDO, NSEL) and general
I/O ports (SDN, NIRQ). After that, the internal timer module is initialized in order to provide precise timing for the
handlers. Some example projects do not use handlers due to their simplicity (e.g., the un-modulated carrier or the
pseudo random transmission projects). Handlers are for monitoring and changing the state of the WMB
peripherals. It is necessary to initialize the required handlers before using them. The radio-related tasks prepare
the radio for the communication. The shutdown state may be entered by driving the SDN pin high. When coming
out of the shutdown state a power on reset will be initiated along with the internal calibrations. After the POR and
the BOOT sections, it is required to initialize the radio with the RF settings. It is highly recommended to use the
configuration header file (radio_config.h) generated by the wireless development suite. Manual editing in the
header file can cause discrepancies and prevent the radio from working correctly. After the radio RF is initialized,
the Main Process has two major tasks to do. It continuously updates the peripheral handlers and processes the
user application code. The radio can be controlled from a high level due to the layered, customizable, user-friendly
radio driver module.
Figure 34. General Structure of an Example Project
Содержание 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...