beautypg.com

Rf01, Crystal oscillator, Low battery voltage detector – Rainbow Electronics RF01 User Manual

Page 5: Wake-up timer, Event handling, Interface and controller

background image

RF01

Tel: +86-755-86096587 Fax: +86-755-86096602 E-mail: [email protected] http://www.hoperf.com

AFC

By using an integrated Automatic Frequency Control (AFC) feature, the receiver can synchronize its

local oscillator to the received signal, allowing the use of:

z

inexpensive, low accuracy crystals

z

narrower receiver bandwidth (i.e. increased sensitivity)

z

higher data rate

Crystal Oscillator

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.

When the microcontroller turns the crystal oscillator off by clearing the appropriate bit using the

Configuration Setting Command, the chip provides a fixed number (128) of further clock pulses (“clock

tail”) for the microcontroller to let it go to idle or sleep mode.

Low Battery Voltage Detector

The low battery detector circuit monitors 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 (1.5 µA typical) and can be programmed from

1 ms to several days with an accuracy of ±5%.

It calibrates itself to the crystal oscillator at every startup, and then at every 30 seconds. 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.

Event Handling

In order to minimize current consumption, the receiver supports the sleep mode. Active mode can be

initiated by several wake-up events (wake-up timer timeout, low supply voltage detection, on-chip FIFO

filled up or receiving a request through the serial interface).

If any wake-up event occurs, the wake-up logic generates an interrupt signal which 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 16bit 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.