After connecting the SPIRIT1 board to the RaspberryPi it didn't take long to start reading data from the chip via SPI. This was just the first step and to be honest the following days saw me going back and forth trying to comprehend what was needed and how it should work. The result was a small Python module that spoke to the SPIRIT1 chip and allowed me to configure it to permit both receiving and transmitting data.
Once I had the reception working I started gathering data and comparing what I had captured with the output I got from the RTL-SDR captures. Following quite a lot of trial and error I ended up using this configuration for the radio
Bandwidth of 50,000
Getting the bandwidth right proved to be the final missing piece in my early attempts. Eventually the URH configuration of 20 samples/bit for a bandwidth of 1,000,000Hz proved to be the hint I needed.
The Basic Packet configuration I am using is
5 byte preamble
4 Sync Words [ 0x5a, 0x47, 0x52, 0x50 ]
Data whitening OFF (this wasn't what I expected)
Variable length with a max size of 100 bytes
This allows me to capture packets that match the length and sequences that I have observed via RTL-SDR.
Using the various filtering options the packets captured have the correct preamble and sync words. The length bits are also processed so the resulting captures are the pure payload. Suddenly processing becomes a lot simpler :-)
I'm still experimenting with how to best read from the FIFO, but what I am currently capturing looks very sensible.
Here is a dump of 32 full packets.
The following is the same packets with just the first 7 bytes displayed.
There is an obvious structure evident. I need to run some additional captures to give me more data to work with, but hopefully I can start to make some sense of it?
I need to clean up the code and figure out how to make it simpler to use before I publish it, but I do plan on putting it on github at some point.