HopeRF’s RA01 is a single chip, low power,
multi-channel OOK receiver designed for use in
applications requiring FCC or ETSI conformance for
unlicensed use in the 433, 868 and 915 MHz bands.
Used in conjunction with HopeRF’s transmitters, the
RA01 is a flexible, low cost, and highly integrated
solution that does not require production alignments.
All required RF functions are integrated. Only an
external crystal and few capacitors are needed for
operation.
The RA01 has a completely integrated PLL for easy
RF design, and its rapid settling time allows for fast
frequency hopping, bypassing multipath fading, and
interference to achieve robust wireless links. The
PLL’s high resolution allows the usage of multiple
channels in any of the bands. The baseband
bandwidth (BW) is programmable to accommodate
various deviation, data rate, and crystal tolerance
requirements. The receiver employs the low-IF
approach; therefore, no external components (except
crystal and filtering capacitors) are needed in a typical
application. The RA01 is a complete analog RF and
baseband receiver, including a multi-band PLL
synthesizer with an LNA, down converter mixers,
baseband filters and amplifiers, and demodulator.
The chip dramatically reduces the load on the
microcontroller with integrated digital data processing:
data filtering, clock recovery, data pattern recognition
and integrated FIFO. To minimize the system cost, the
chip can provide a clock signal for the microcontroller,
avoiding the need for two crystals.
BLOCK DIAGRAM
RFP
RFN
XTAL
LNA
CRYSTAL
OSC
CONTROL/STATUS
REGISTER BANK
nSEL SCK SDI SDO MODEnIRQCLK nRES
CHANNEL
FILTER
PLL
SYNTHESIZER
DIGITAL
CONTROLER
LOW BAT
DETECT
RX DATA
FIFO
GAIN
CONTROL
RSSI
WAKE UP
TIMER
DETECTOR
DATA SLICER
CLOCK
RECOVERY
POWER ON
RESET
RSSI
DATA
DCLK
RA01
Stand alone mode
RA01
FEATURES
• Fully integrated (low BOM, easy design-in)
• No alignment required in production
• Fast settling, programmable, high-resolution PLL
• Fast frequency hopping capability
• Programmable bit rate (up to 40 kbps)
• Direct differential antenna input
• Programmable baseband bandwidth (85 to 340 kHz)
• Analog and digital RSSI outputs
• Data filtering and clock recovery
• RX pattern recognition
• SPI compatible serial control interface
• Readable registers
• Clock and reset signals for microcontroller
• 64 bit RX data FIFO
• Standard 10 MHz crystal reference
• Accurate Wake-up timer
• Low battery detector
• 2.2 to 3.8 V supply voltage
• Low power consumption
• Low standby current (typ. 0.2 μA)
TYPICAL APPLICATIONS
• Remote control
• Home security and alarm
• Wireless keyboard/mouse and other PC peripherals
The RA01 OOK receiver is a counterpart to the HopeRF
transmitter (e.g. RF02). It covers the unlicensed frequency
bands at 434, 868 and 915 MHz. The device facilitates
compliance with FCC and ETSI requirements.
The programmable PLL synthesizer determines the
operating frequency while preserving accuracy based on
the on-chip crystal controlled reference oscillator. The
PLL’s high resolution allows for the use of multiple
channels in any of the bands.
The receiver employs the low-IF approach with internal
demodulation, allowing the use of a minimal number of
external components in a typical application. The RA01
consists of a fully integrated multi-band PLL synthesizer,
an LNA with switchable gain, down converter mixers,
baseband filters and amplifiers, and an demodulator
followed by a data filter.
LNA
The LNA has 250 Ohm input impedance, which works well
with the recommended antennas. (See Application Notes
available from http://www.hoperf.com.)
If the RF input of the chip is connected to 50 Ohm devices,
an external matching circuit is required to provide the
correct matching and to minimize the noise figure of the
receiver.
The LNA gain (and linearity) can be selected (0, –32 dB)
relative to the highest gain) according to RF signal
strength. This is useful in an environment with strong
interferers.
Baseband Filters
The receiver bandwidth is selectable by programming the
bandwidth (BW) of the baseband filters. This allows
setting up the receiver according to the characteristics of
the signal to be received.
An appropriate bandwidth can be selected to
accommodate various OOK deviation, data rate, and
crystal tolerance requirements. The filter structure is a 7th
order Butterworth low-pass with 40 dB suppression at
2*BW frequency. Offset cancellation is accomplished by
using a high-pass filter with a 90 kHz cut-off frequency.
Filter bandwidth is measured between the 6dB attenuation
points.
Typical Baseband Filter Characteristics
Data Filtering and Clock Recovery
The output data filtering can be completed by an
external capacitor to the final application.
Analog operation: The filter is an RC type low-pass
filter and a Schmitt-trigger (St). The resistor (10k) and
the St is integrated on the chip. An (external) capacitor
can be chosen according to the
actual bit-rate.
Data Validity Blocks / Demodulator
RSSI
A digital RSSI output is provided to monitor the input
signal level. It goes to an comparator, if the received
signal strength exceeds a given preprogrammed level
an internal -32dB attenuator is activated in the LNA.
The RSSI settling time depends on the filter capacitor
used.
Typical Analog RSSI Voltage vs. RF Input Power
Crystal Oscillator and
Microcontroller Clock Output
The chip has a single-pin crystal oscillator circuit,
which provides a 10 MHz reference signal for the PLL.
To reduce external parts and simplify design, the
crystal load capacitor is internal and programmable.
Guidelines for selecting the appropriate crystal can
be found later in this datasheet. The receiver can
supply the clock signal for the microcontroller, so
accurate timing is possible without the need for a
second crystal. In normal operation it is divided from
the reference 10 MHz. During sleep mode a low
frequency (typical 32 kHz) output clock signal can be
switched on.
When the microcontroller turns the crystal oscillator off
by clearing the appropriate bit using the
Setting Command,
number (default is 128) of further clock pulses (“clock
tail”) for the microcontroller to let it go to idle or sleep
mode.
The low battery detector circuit monitors periodically (typ.
8 ms) the supply voltage and generates an interrupt if it
falls below a programmable threshold level.
Wake-Up Timer
The wake-up timer has very low current consumption (4
μA max) and can be programmed from 1 ms to several
hours.
It calibrates itself to the crystal oscillator at every startup
and then at every 30 seconds with an accuracy of ±0.5%.
When the crystal oscillator is switched off, the calibration
circuit switches it back on only long enough for a quick
calibration (a few milliseconds) to facilitate accurate
wake-up timing. The periodic auto-calibration feature can
be turned off.
Event Handling
In order to minimize current consumption, the receiver
supports the sleep mode. Active mode can be initiated by
setting the ex or en bits (in the Configuration Setting or
Receiver Setting Command).
RA01 generates an interrupt signal on several events
(wake-up timer timeout, low supply voltage detection,
on-chip FIFO filled up). This signal can be used to wake
up the microcontroller, effectively reducing the period the
microcontroller has to be active. The cause of the interrupt
can be read out from the receiver by the microcontroller
through the SDO pin.
Interface and Controller
An SPI compatible serial interface lets the user select the
frequency band, center frequency of the synthesizer, and
the bandwidth of the baseband signal path. Division ratio
for the microcontroller clock, wake-up timer period, and
low supply voltage detector threshold are also
programmable. Any of these auxiliary functions can be
disabled when not needed. All parameters are set to
default after power-on; the programmed values are
retained during sleep mode. The interface supports the
read-out of a status register, providing detailed
information about the status of the receiver and the
received data. It is also possible to store the received data
bits into the 64 bit RX FIFO register and read them out in a
buffered mode. FIFO mode can be enabled through the
SPI compatible interface by setting the fe bit to 1 in the
Output and FIFO Mode Command. During FIFO read the
crystal oscillator must be ON.
All voltages are referenced to Vss, the potential on the ground reference pin VSS.
Absolute Maximum Ratings (non-operating)
SymbolParameterMinMaxUnits
VddPositive supply voltage-0.56.0V
VinVoltage on any pad-0.5Vdd+0.5V
IinInput current into any pad except VDD and VSS2525mA
ESDElectrostatic discharge with human body model
TstStorage temperature55125oC
TldLead temperature (soldering, max 10 s)
Note 1: See matching circuit parameters and antenna design guide for information, and Application Notes available
from http://www.hoperf.com.
Note 2: Using other than a 10 MHz crystal is not recommended because the crystal referred timing and frequency
parameters will change accordingly.
Note 3: During this period, commands are not accepted by the chip.
Note 4: Autocalibration can be turned off.
CONTROL INTERFACE
Commands to the receiver are sent serially. Data bits on pad SDI are shifted into the device upon the rising edge of the
clock on pad SCK whenever the chip select pad nSEL is low. When the nSEL signal is high, it initializes the serial interface.
The number of bits sent is an integer multiple of 8. All commands consist of a command code, followed by a varying
number of parameter or data bits. All data are sent MSB first (e.g. bit 15 for a 16-bit command). Bits having no influence
(don’t care) are indicated with X. The Power On Reset (POR) circuit sets default values in all control registers.
The receiver will generate an interrupt request (IRQ) for the microcontroller on the following events:
• Supply voltage below the preprogrammed value is detected (LBD)
• Wake-up timer timeout (WK-UP)
• FIFO received the preprogrammed amount of bits (FFIT)
• FIFO overflow (FFOV)
FFIT and FFOV are applicable only when the FIFO is enabled. To find out why the nIRQ was issued, the status bits should
be read out.
Timing Specification
SymbolParameterMinimum value [ns]
tCHClock high time25
tCLClock low time25
tSSSelect setup time (nSEL falling edge to SCK rising edge)10
tSHSelect hold time (SCK falling edge to nSEL rising edge)10
tSHISelect high time25
tDSData setup time (SDI transition to SCK rising edge)5
tDHData hold time (SCK rising edge to SDI transition)5
tODData delay time10
6. Low Battery Detector and Microcontroller Clock Divider Command
bit1514131211109876543210 POR
11000010d2d1d0elfct3t2t1t0C213h
Bit 7-5 <d2-d0>: Clock divider configuration (valid only if the crystal oscillator is on):
elfc
Bit 4 <
Bits 3-0 <t3-t0>: Determines the threshold voltage of the threshold voltage V
>: Enables low frequency (32 kHz) microcontroller output clock during sleep mode.
7. Data Filter Command
bit1514131211109876543210 POR
11000100almldsfisfewisrt10C462h
Bit 7 <al>: Clock recovery (CR) auto lock control if set. It means that the CR start in fast mode after locking it
automatically switches to slow mode.
ml
Bit 6 <
slow release
Using the slower one requires more accurate bit timing (see
Bit 5 <
Bit 4 <
Digital: this is a digital realization of an analog RC filter followed by a comparator with hysteresis. The time constant
is automatically adjusted to the bit rate defined by the
The table shows the optimal filter capacitor values for different data rates
Note: If analog RC filter is selected the internal clock recovery circuit and the FIFO can not be used.
Bit 3 <
Bit 2 <srt>: Resets the bit slicer capacitor.
>: Clock recovery lock control 1: fast mode, fast attack and fast release - 0: slow mode, slow attack and
dsfi
>: Disables autosleep on FIFO interrupt if set to 1.
sf
>: Selects the type of the data filter:
ewi
>: Enables the automatic wake-up on any interrupt event.
The expected bit rate of the received data stream is determined by the 7-bit value R (bits
BR = 10 MHz / 29 / (R+1) / (
In the receiver set R according the next function:
R= (10 MHz / 29 /(
Apart from setting custom values, the standard bit rates from 600 bps to 115.2 kbps can be approximated with small
error.
Data rate accuracy requirements:
Clock recovery in slow mode:
BR is the bit rate set in the receiver and
maximal number of consecutive ones or zeros in the data stream. It is recommended for long data packets to
include enough 1/0 and 0/1 transitions, and be careful to use the same division ratio in the receiver and in the
transmitter.
ΔBR is a theoretical limit for the clock recovery circuit. Clock recovery will not work above this limit. The clock
recovery circuit will always operate below this limit independently from process, temperature, or Vdd condition.
e.g. Supposing a maximum length of consecutive zeros or ones in the data stream is less than 5 bits, the necessary
relative accuracy is 0.68% in slow mode and 2.1% in fast mode.
1 + cs
9. Output and FIFO Mode Command
bit1514131211109876543210 POR
11001110f3f2f1f0s1s0fffeCE87h
Bit 7-4 <
Bit 3-2 <
Note: VDI (Valid Data Indicator) see further details in
mode is 2DD4h.
Bit 1 <
Bit 0 <
Note: To restart the synchron word reception, bit 1 should be cleared and set. This action will initialize the FIFO and
clear its content.
Bit 0 modifies the function of DATA pad and DCLK pad. The DATA pad will become input (nFFS) if
If the chip is used in FIFO mode, do not allow this to be a floating input.
f3 : f0
>: FIFO IT level. The FIFO generates IT when number of the received data bits reaches this level.
s1 : s0
>: Select the input of the FIFO fill start condition:
ff
>: Enables FIFO fill after synchron word reception. FIFO fill stops when this bit is cleared.
fe
>: Enables the 64 bit deep FIFO mode. To clear the counter of the FIFO, it has to be set to zero.
1 + cs
*7)
*7)/ BR) – 1
ΔBR/BR < 1/(29*Nbit) Clock recovery in fast mode: ΔBR/BR < 3/(29*Nbit)
ΔBR is bit rate difference between the transmitter and the receiver. Nbit is the
The read command starts with a zero, whereas all other control commands start with a one. Therefore, after
receiving the first bit of the control command the RA01 identifies it as a read command. So as the first bit of the
command is received, the receiver starts to clock out the status bits on the SDO output as follows:
Status Register Read Sequence
nSEL
0123456789101112131415
SCK
SDI
Interrupt bits out
SDO
FIFO IT FFOV*WK-UP* LBD*
status bits out
FFEM
RSSIH RSSIM RSSIL 00000000
Version: 1.0 Date: 10/8/2008
NOTE: *Bits marked are internally latched.
Others are only mutiplexed
Definitions of the bits in the above timing diagram:
FFITThe number of data bits in the FIFO has reached the preprogrammed limit
FFOVFIFO overflow
WK-UPWake-up timer overflow
LBDLow battery detect, the power supply voltage is below the preprogrammed limit
FFEMFIFO is empty
RSSIHInput signal above tbd. dBm
RSSIMInput signal above tbd. dBm
RSSILInput signal above tbd. dBm
FIFO Buffered Data Read
In this operating mode, incoming data are clocked into a 64 bit FIFO buffer. The receiver starts to fill up the FIFO
when the Valid Data Indicator (VDI) bit and/or the synchron word recognition circuit indicates potentially real
incoming data. This prevents the FIFO from being filled with noise and overloading the external microcontroller.
For further details see the Receiver Setting Command and the Output and FIFO Command.
Polling Mode:
The nFFS signal selects the buffer directly and its content could be clocked out through pin SDO by SCK. Set the
FIFO IT level to 1. In this case, as long as FFIT indicates received bits in the FIFO, the controller may continue to
take the bits away. When FFIT goes low, no more bits need to be taken. An SPI read command is also available.
The user can define the FIFO level (the number of received bits) which will generate the nFFIT when exceeded. The
status bits report the changed FIFO status in this case.
FIFO Read Example with FFIT Polling:
nSEL
SCK
SDI
nFFS
01234
Version: 1.0 Date: 10/8/2008
FIFO read out
SDO
FFIT
FIFO OUT
FO+1 FO+2 FO+3 FO+4
Note: During FIFO access the fSCK cannot be higher than fref /4, where fref is the crystal oscillator frequency.
Power Saving Modes
The different operating modes of the chip depend on the following control bits:
When the chip is switched into idle mode, the 10 MHz crystal oscillator starts. After oscillation ramp-up a 1 MHz
clock signal is available on the CLK pin. This (fast) clock frequency can be reprogrammed during operation with the
Low Battery and Microcontroller Clock Divider Command
(crystal oscillator disabled), the CLK output is pulled to logic low.
On the same pin a low frequency clock signal can be obtained if the
Microcontroller Clock Divider Command
oscillator of the wake-up timer. In order to use this slow clock the wake-up timer should be enabled by setting the
bit in the
Configuration Setting Command
. The clock frequency is 32 kHz which is derived from the low-power RC
(page 9) even if the wake-up timer itself is not used.
Slow clock feature can be enabled by entering into sleep mode (page 17). Driving the output will increase the sleep
mode supply current. Actual worst-case value can be determined when the exact load and min/max operating
conditions are defined. After power-on reset the chip goes into sleep mode and the slow frequency clock appears
on the CLK pin.
Switching back into fast clock mode can be done by setting the
important to leave bit
clock signal on the CLK pin.
dc
in the
Configuration Setting Command
Switching between the fast and slow clock modes is glitch-free in a sense that either state of the clock lasts for at
least a half cycle of the fast clock. During switching the clock can be logic low once for an intermediate period i.e. for
any time between the half cycle of the fast and the slow clock.
(page12). During startup and in sleep or standby mode
ex
at its default state (0) otherwise there will be no
Version: 1.0 Date: 10/8/2008
elfc
bit is set in the
or
en
bits in the appropriate commands. It is
Low Battery and
et
Tslow
slow clock
fast clock
output
Tx
0.5*Tfast<Tx<0.5*Tslow
Clock period are not to scale
Tfast
The clock switching synchronization circuit detects the falling edges of the clocks. One consequence is a latency of
slow + Tfast from the occurrence of a clock change request (entering into sleep mode or interrupt) until the
0 to T
beginning of the intermediate length (T
change to occur. Changing from fast to slow clock, it is automatically ensured by entering into the sleep mode in the
appropriate way provided that the wake-up timer is continuously enabled. As the crystal oscillator is normally
stopped while the slow clock is used, when changing back to fast clock the crystal oscillator startup time has to pass
first before the above mentioned latency period starts. The startup condition is detected internally, so no software
timing is necessary.
x) half cycle. The other is that both clocks should be up and running for the
By default the wake-up timer is calibrated each time it is enabled by setting the
Command
programmed to run for longer periods, at app. every 30 seconds it performs additional self-calibration.
This feature can be disabled to avoid sudden changes in the actual wake-up time period. A suitable software
algorithm can then compensate for the gradual shift caused by temperature change.
Bit
power-on and the automatic calibration is enabled. This is necessary to compensate for process tolerances. After
one calibration cycle further (re)calibration can be disabled by setting this bit to 1.
RX-TX ALIGNMENT PROCEDURES
RX-TX frequency offset can be caused only by the differences in the actual reference frequency. To minimize these
errors it is suggested to use the same crystal type and the same PCB layout for the crystal placement on the RX
and TX PCBs.
To verify the possible RX-TX offset it is suggested to measure the CLK output of both chips with a high level of
accuracy. Do not measure the output at the XTL pin since the measurement process itself will change the reference
frequency. Since the carrier frequencies are derived from the reference frequency, having identical reference
frequencies and nominal frequency settings at the TX and RX side there should be no offset if the CLK signals have
identical frequencies.
It is possible to monitor the actual RX-TX offset using the AFC status report included in the status byte of the
receiver. By reading out the status byte from the receiver the actual measured offset frequency will be reported. In
order to get accurate values the AFC has to be disabled during the read by clearing the "en" bit in the AFC Control
Command (bit 0).
CRYSTAL SELECTION GUIDELINES
The crystal oscillator of the RA01 requires a 10 MHz parallel mode crystal. The circuit contains an integrated load
capacitor in order to minimize the external component count. The internal load capacitance value is programmable
from 8.5 pF to 16 pF in 0.5 pF steps. With appropriate PCB layout, the total load capacitance value can be 10 pF to
20 pF so a variety of crystal types can be used.
When the total load capacitance is not more than 20 pF and a worst case 7 pF shunt capacitance (C0) value is
expected for the crystal, the oscillator is able to start up with any crystal having less than 300 ohms ESR (equivalent
series loss resistance). However, lower C
The crystal frequency is used as the reference of the PLL, which generates the local oscillator frequency (fLO).
Therefore f
temperature drift and aging can thus be determined from the maximum allowable local oscillator frequency error.
Whenever a low frequency error is essential for the application, it is possible to “pull” the crystal to the accurate
frequency by changing the load capacitor value. The widest pulling range can be achieved if the nominal required
load capacitance of the crystal is in the “midrange”, for example 16 pF. The “pull-ability” of the crystal is defined by
its motional capacitance and C
The on chip AFC is capable to correct TX/RX carrier offsets as much as 80% of the deviation of the received OOK
modulated signal.
Note: There may be other requirements for the TX carrier accuracy with regards to the requirements as defined by
standards and/or channel separations.
. After timeout the timer restarts automatically and can be stopped by resetting the
dcal
in the
Extended Features Command
(page 15) controls the automatic calibration feature. It is reset to 0 at
0 and ESR values guarantee faster oscillator startup.
LO is directly proportional to the crystal frequency. The accuracy requirements for production tolerance,