Here are some steps you can follow to build an EZSP-SPI host application on a Raspberry Pi to interact with an EFR32MG1 or EFR32MG12 device (on our dev kit) running a pre-built NCP-SPI image (or an xNCP image built with SPI signal assignment compatible with our dev kit) of the latest EmberZNet stack, which is v5.9.1 at the time of this article. If you have custom hardware or a custom-built NCP image with non-default SPI pins, make adjustments accordingly.
1. Create a new Silicon Labs AppBuilder Project in Simplicity Studio v4 of type "ZCL Application Framework V2", and choose the host (as apposed to SoC) flavor of the latest EmberZNet stack.
2. Choose a sample application, such as Z3Gateway, or start with a blank application and configure it appropriately.
3. Under "HAL configuration" tab of your project, choose EFR32-EZSP and Unix host under Platform configuration. Leave the "Api" field blank. Under the "Plugins" tab, select "EZSP SPI" and deselect EZSP UART.
4. Generate the host app, and build it on your Raspberry Pi.
5. Program your EFR32 device with the EZSP-SPI image. For example, you may use a pre-built NCP image for the BRD4153A radio module from: