I could have walked to Hong Kong in the time it took to get this |
Purdy |
One thing that was quite nice with the logic analyzer client is the built in protocol analyzers. You tell it what pins map to what signal lines for a given protocol (SPI in this case), and it comes up with a table much like my first post on the topic. It shows the time offset from the trigger for the start of each byte and the decoded value. You can then export the data to a CSV file. Nice.
The problem I had was that the analyzer's buffer is nowhere near long enough to capture the data across 51 frequency hops. About the most I was able to capture at this rate was a half second, and the station takes 51 * 2.5 seconds = 127.5 seconds to go through them all. The answer was to use the console's display of what frequency index it was on (Hold Temp and then press Humidity, then 2nd Chill). I'd just hit the trigger button on the analzyer between a transmission, analyze and save the data, rinse and repeat. The console goes faster than I can do this, so it took many passes through the sequence before I had all 51 entries. And here they are.
Here are what the columns mean:
- Chan is the channel number as displayed on the console
- FREQ_2A, FREQ_1A, and FREQ_0A are the three registers that need to be configured in the CC1021 RF chip to set its frequency
- Index is the value in the range of 0 - 50, where 0 represents the lowest frequency of 902.5 MHz and 50 represents 927.5 MHz. The channels are spaced 500 kHz apart.
- RF Frequency is the nominal RF frequency the station receives on.
The other thing I need to do is figure out how to capture the initial configuration of the radio as the chip comes out of reset. My half second capture length on the analyzer makes this kind of tricky. You can specify a trigger delay in the analyzer client, but it doesn't give the units for the delay and the documentation isn't great. There is also a serial trigger that is supposed to sort-of work that I'm going to give a try. I know the bit pattern of the registers I'm interested in, so I should be able to set a trigger based on that bit pattern and see the subsequent value written to that register.
One more thing: now that I know the register configurations and the frequency hopping sequence, I thought it would be trivial to find the spot in the ROM where this stuff is stored. No luck. I tried searching based on the register sequence, the frequency index, etc. If anyone wants to try their luck in poking around FLASH.BIN, give it a shot and let me know in the comments if you have any luck. This console is still managing to hang on to some of its secrets, at least for now.
Anyway, it is early days and there is more to come. It's gotta get done to have any chance of success at building an alternative ISS receiver from a Pretty Pink Pager.
Hello,
ReplyDeleteI write from Spain.
I have a Davis Vantage Pro2.
Do you think is possible receive this with a Arduino?
I think if we can read the frequency of Davis with Arduino we can make a data logger with no console and with no PC.
Best Regards.
David.