RPC-UHF RADIOMETRIX [Radiometrix Ltd], RPC-UHF Datasheet - Page 20

no-image

RPC-UHF

Manufacturer Part Number
RPC-UHF
Description
Radio Packet Controller
Manufacturer
RADIOMETRIX [Radiometrix Ltd]
Datasheet
The RPC's Packet Decoder
Signal Decoding is in 4 stages :-
Search
Initially the RPC's decoder searches the radio noise on the RXD line for the 20kHz preamble signal.
The search is performed by a 16 times over-sampling detector which computes the spectral level of
20kHz in 240 samples of the RXD signal (750µs window).If the level exceeds a pre-set threshold the
decoder will attempt to decode a packet.
Lock-in
The same set of 240 samples are used to compute the phase of the incoming preamble and synchronise
the internal recovery clock to an accuracy of +/- 2µs. The recovery clock samples the mid point of each
incoming data bit and shifts the samples trough an 8 bit serial comparator. The comparator searches
the data on a bit by bit basis for the frame sync byte. While the search is in progress, the decode will
abort if the preamble fails to maintain a certain level of integrity. If the comparator finds the 'please
hold the line' code used during extended wake-up preamble a phase re-lock is triggered to ensure
accurate phase tracking until the actual packet arrives. When the frame sync is detected the decoder
attains full synchronisation and will move to the Decode state.
Decode
Data is now taken in 12 bits at a time (one symbol), decoded into the original byte and placed in the
receive buffer. The symbol decoder verifies each received symbol as valid (only 256 out of a possible
4096 are valid) and will immediately abort the decode on a symbol failure. The first byte contains the
byte count and is used to determine the end of message.
Check Sum
The last byte is the received check sum, this is verified against a locally generated sum of all the
received bytes in the packet. If it matches the packet is valid and RXR line will be pulled low to inform
the Host that a packet awaits uploading.
Notes on error handling
The RPC’s' decoder is deliberately non bit error tolerant, i.e.. no attempt is made to repair corrupt data
bits. All of the redundancy in the code is directed towards error checking. For an FM radio link using
short packet lengths, e.g. RPC + BiM , packets are either 100% or so grossly corrupt as to be
unrecoverable. By the same reasoning, the Host is not informed when the RPC decoder aborts a packet
decode since corrupt information is of little value. A packet acknowledge Time-Out and re-transmission
is the preferred strategy for error handling.
Radiometrix Ltd, RPC
page 20

Related parts for RPC-UHF