A N 6 3 3
30
Rev. 0.7
9. Example Projects and Software Layers
9.1. Software Layers
In all of the sample projects, the layered software approach is followed. There is a distinct scope for each software
module, and all modules can communicate through each other's API functions. The software modules are
separated and focused to cover one specific task. Figure 26 shows the software layers and its relations.
Figure 26. Software Layers of the Example Codes
9.2. Radio Initialization in the Software Layers Perspective
Using the software layer approach, the example project can be understood easily. Each and every layer has its
own responsibility. If the upper layer, e.g. the “Application”, wants to configure the hardware platform including the
host microcontroller and also the radio chip, it simply calls the hardware initial routine. The radio chip initialization is
started with a power on reset. The radio module sends a request to the si446x radio driver to reset the chip.
Thereafter, the driver forwards the request to the hardware abstraction layer that pulls down the SDN pin to
perform the power on reset. After the POR, the host MCU needs to send all the API properties to the radio via SPI
interface that means the “radio setup configuration” of the radio_config.h header file needs to be processed line by
line. The whole process of sending one API property and checking whether the radio is ready to receive the next
property is a repetitive task is represented by a configuration loop. Finally, host MCU clears all the pending
interrupts of the radio that is initialized to ready in RF perspective.
Содержание 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...