A N 6 9 2
Rev 0.4
49
5.2.10. Empty Project
The empty project is created to help users start writing their custom firmware. The project follows the convention
for directory structure introduced in the example projects. It contains driver modules for the radio and MCU
peripherals as well as a default MCU initialization procedure. The porting of an example project to an MCU of
choice can be done easily thanks to the layered approach of the project structure. This approach reduces the effort
required to compile the code for other architecture, as only the low-level functions must be modified. The general
structure of the project can be seen in Figure 43. All the tasks are separated into two groups, such as "Hardware
Initialization" part and the "Main Process" part. 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).
The radio related tasks prepares the radio for the communication and puts the radio in ready state.
Figure 43. Structure of the Empty Project
The following drivers shall be modified:
compiler_defs.h, hardware_defs.h, platform_defs.h, application_defs.h
These header files contain definitions for the 8051 architecture and the SiLabs hardware platform. These
files can be modified according to the new architecture and hardware.
spi.c, spi.h
The SPI driver module shall be supplied to enable the communication with the radio.
radio_hal.c, radio_hal.h
The radio hardware abstraction layer may be adjusted as the GPIOs, nIRQ, and SDN pins are defined in
this file.
The above mentioned files may not cover all requirements for porting the project to other MCUs, as it depends on
what is to be ported and which other drivers are used by the project. The compiler tool chain setup, the appropriate
startup codes, and linker scripts are out of the scope of this chapter; the user is responsible for providing them as
appropriate for the given architecture.
Summary of Contents for Si4455 Series
Page 8: ...AN692 8 Rev 0 4 Figure 6 Device Configuration Options ...
Page 22: ...AN692 22 Rev 0 4 Figure 21 Supply Current versus Time Diagram from Shutdown to RX State ...
Page 23: ...AN692 Rev 0 4 23 4 4 Radio Chip Waking Up Figure 22 Radio Wake Up Process ...
Page 35: ...AN692 Rev 0 4 35 Figure 32 Transmission Flowchart ...
Page 39: ...AN692 Rev 0 4 39 Figure 33 Reception Flowchart ...
Page 41: ...AN692 Rev 0 4 41 Figure 34 Bidirectional Variable Packet Example Project Flowchart ...
Page 47: ...AN692 Rev 0 4 47 Figure 41 Long Packet Transmission Flowchart ...
Page 48: ...AN692 48 Rev 0 4 Figure 42 Long Packet RX Flowchart ...