public async void Initialize() { GpioPin cePin = GpioController.GetDefault().OpenPin(26); SpiConnectionSettings settings = new SpiConnectionSettings(0) { ClockFrequency = 1000000, Mode = SpiMode.Mode0 }; string spiAqs = SpiDevice.GetDeviceSelector("SPI0"); DeviceInformationCollection devicesInfo = await DeviceInformation.FindAllAsync(spiAqs); SpiDevice spiDevice = await SpiDevice.FromIdAsync(devicesInfo[0].Id, settings); _radio = new Radio(cePin, spiDevice); _radio.Begin(); string details = _radio.GetDetails(); }