![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
? 2010 microchip technology inc. preliminary ds70622b mrf89xa data sheet ultra-low power, integrated ism band sub-ghz transceiver
ds70622b-page 2 preliminary ? 2010 microchip technology inc. information contained in this publication regarding device applications and the like is prov ided only for your convenience and may be superseded by updates. it is your responsibility to ensure that your application me ets with your specifications. microchip makes no representations or warranties of any kind whether express or implied, written or oral, statutory or otherwise, related to the information, including but not limited to its condition, quality, performance, merchantability or fitness for purpose . microchip disclaims all liability arising from this information and its use. use of microchip devices in life support and/or safe ty applications is entirely at the buyer?s risk, and the buyer agrees to defend, indemnify and hold harmless microchip from any and all damages, claims, suits, or expenses resulting fr om such use. no licenses are conveyed, implicitly or ot herwise, under any microchip intellectual property rights. trademarks the microchip name and logo, th e microchip logo, dspic, k ee l oq , k ee l oq logo, mplab, pic, picmicro, picstart, pic 32 logo, rfpic and uni/o are registered trademarks of microchip technology incorporated in the u.s.a. and other countries. filterlab, hampshire, hi-tech c, linear active thermistor, mxdev, mxlab, seeval and the embedded control solutions company are register ed trademarks of microchip technology incorporated in the u.s.a. analog-for-the-digital age, a pplication maestro, codeguard, dspicdem, dspicdem.net, dspicworks, dsspeak, ecan, economonitor, fansense, hi-tide, in-circuit serial programming, icsp, mindi, mi wi, mpasm, mplab certified logo, mplib, mplink, mtouch, octopus, omniscient code generation, picc, picc-18, picdem, picdem.net, pickit, pictail, real ice, rflab, select mode, total endurance, tsharc, uniwindriver, wiperlock and zena are trademarks of microchip te chnology incorporated in the u.s.a. and other countries. sqtp is a service mark of mi crochip technology incorporated in the u.s.a. all other trademarks mentioned herein are property of their respective companies. ? 2010, microchip technology incorporated, printed in the u.s.a., all rights reserved. printed on recycled paper. isbn: 978-1-60932-269-4 note the following details of the code protection feature on microchip devices: ? microchip products meet the specification cont ained in their particular microchip data sheet. ? microchip believes that its family of products is one of the mo st secure families of its kind on the market today, when used i n the intended manner and under normal conditions. ? there are dishonest and possibly illegal me thods used to breach the code protection feature. all of these methods, to our knowledge, require using the microchip products in a manner outsi de the operating specifications contained in microchip?s data sheets. most likely, the person doing so is engaged in theft of intellectual property. ? microchip is willing to work with the customer who is concerned about the integrity of their code. ? neither microchip nor any other semico nductor manufacturer can guarantee the security of their code. code protection does not mean that we are guaranteeing the product as ?unbreakable.? code protection is constantly evolving. we at microchip are committed to continuously improving the code protection features of our products. attempts to break microchip?s code protection featur e may be a violation of the digi tal millennium copyright act. if such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that act. microchip received iso/ts-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in chandler and tempe, arizona; gresham, oregon and design centers in california and india. the company?s quality system processes and procedures are for its pic ? mcus and dspic ? dscs, k ee l oq ? code hopping devices, serial eeproms, microper ipherals, nonvolatile memory and analog products. in addition, microchip?s quality system for the design and manufacture of development systems is iso 9001:2000 certified. ? 2010 microchip technology inc. preliminary ds70622b-page 3 mrf89xa features ? fully integrated ultra low- power, sub-ghz transceiver ? wide-band half-duplex transceiver ? supports proprietary sub-ghz wireless protocols ? simple 4-wire spi-compatible interface ? cmos/ttl-compatible i/os ? on-chip oscillator circuit ? dedicated clock output ? supports power-saving modes ? operating voltage: 2.1v-3.6v ? low-current consumption, typically: - 3 ma in rx mode - 25 ma @ +10 dbm in tx mode -0.1 a (typical) and 2 a (maximum) in sleep mode ? supports industrial temperature ? complies with etsi en 300 220 and fcc part 15 ? small, 32-pin tqfn package rf/analog features ? supports ism band sub-ghz frequency ranges: 863-870, 902-928 and 950-960 mhz ? modulation technique: supports fsk and ook ? supports high data rates: up to 200 kbps, nrz coding ? reception sensitivity: down to -107 dbm at 25 kbps in fsk, -113 dbm at 2 kbps in ook ? rf output power: +12.5 dbm programmable in eight steps ? wide received signal strength indicator (rssi), dynamic range: 70 db from rx noise floor ? signal-ended rf input/output ? on-chip frequency synthesizer ? supports pll loop filter with lock detect ? integrated power amplifier (pa) and low noise amplifiers (lna) ? channel filters ? on-chip if gain and mixers ? integrated low-phase noise vco baseband features ? packet handling feature with data whitening and automatic crc generation ? incoming sync word (pattern) recognition ? built-in bit synchronize r for incoming data, and clock synchronization and recovery ? 64-byte transmit/recei ve fifo with preload in stand-by mode ? supports manchester encoding/decoding techniques typical applications ? home/industrial/building automation ? remote wireless control ? wireless pc peripherals ? remote keyless entry ? wireless sensor networks ? vehicle sensor monitoring ? telemetry ? data logging systems ? wireless alarm ? remote automatic meter reading ? security systems for home/industrial environments ? automobile immobilizers ? sports and performance monitoring ? wireless toy controls ? medical applications general description the mrf89xa is a single chip, multi-channel fsk/ook transceiver capable of operating in the 863-870 mhz and 902-928 mhz license-free ism frequency bands, as well as the 950-960 mhz frequency band. the low-cost mrf89xa is optimized for very low power consumption (3 ma in receiver mode). it incorporates a baseband modem with data rates up to 200 kbps. data handling features include a 64-byte fifo, packet handling, automatic crc generation and data whitening. its highly integrated architecture allows for minimum external component count while still maintaining design flexibility. ultra low-power, integrated ism band sub-ghz transceiver mrf89xa ds70622b-page 4 preliminary ? 2010 microchip technology inc. all critical rf and baseband functions are integrated in the mrf89xa, minimizing the external component count and reducing design time. the rf communication parameters are made programmable and most of them may be dynamically set. a microcontroller, rf saw filter, 12.8 mhz crystal, and a few passive components are all that are needed to create a complete, reliable radio function. the mrf89xa uses several low-power mechanisms to reduce overall current cons umption and extend battery life. its small size and low power consumption makes the mrf89xa ideal for a wide variety of short range radio applications. the mrf89xa complies with european (etsi en 300-220 v2.3.1) and united states (fcc part 15.247 and 15.249) regulatory standards. pin diagram figure 1 illustrates the top vi ew pin arrangement of the 32-pin qfn package. figure 1: mrf89xa 32-pin qfn pin diagram 32-pin qfn note 1: pin 33 (gnd) is located on the underside of the ic package. 2: it is recommended to connect pin 32 (nc) to gnd. 1 2 3 4 5 6 7 8 17 18 23 24 21 22 19 20 910111213141516 32 31 30 29 28 27 26 25 test5 test1 vcors plln pllp test6 test2 plock irq1 irq0 data clkout sck sdi nc (2) rfio test4 pars dvrs v dd test3 test7 osc1 osc2 test0 test8 cscon sdo 33 gnd (1) vcotn vcotp csdat avrs mrf89xa ? 2010 microchip technology inc. preliminary ds70622b-page 5 mrf89xa table of contents 1.0 overview ...................................................................................................................................................................................... 7 2.0 hardware description................................................................................................................................................................. 11 3.0 functional description...................................................................................................... .......................................................... 59 4.0 application details......................................................................................................... ............................................................. 97 5.0 electrical characteristics .......................................................................................................................................................... 107 6.0 packaging information.............................................................................................................................................................. 133 appendix a: fsk and ook rx filters vs. bit rates ............................................................................... ............................................ 135 appendix b: revision history............................................................................................................................................................. 136 the microchip web site ......................................................................................................... ............................................................ 137 customer change notification service .............................................................................................................................................. 137 customer support .............................................................................................................................................................................. 137 reader response ................................................................................................................ .............................................................. 138 index ................................................................................................................................................................................................. 139 product identification system .................................................................................................. .......................................................... 141 to our valued customers it is our intention to provide our valued customers with the best documentation possible to ensure successful use of your micro chip products. to this end, we will continue to improve our publicat ions to better suit your needs. our publications will be refined and enhanced as new volumes and updates are introduced. if you have any questions or comments regard ing this publication, please contact the marketing communications department via e-mail at docerrors@microchip.com or fax the reader response form in the back of this data sheet to (480) 792-4150. we welcome your feedback. most current data sheet to obtain the most up-to-date version of this data s heet, please register at our worldwide web site at: http://www.microchip.com you can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page . the last character of the literature number is the vers ion number, (e.g., ds30000a is version a of document ds30000). errata an errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for curren t devices. as device/documen tation issues become known to us, we will publish an errata sheet. the errata will specify the revisi on of silicon and revision of document to which it applies. to determine if an errata sheet exists for a partic ular device, please check with one of the following: ? microchip?s worldwide web site; http://www.microchip.com ? your local microchip sales office (see last page) when contacting a sales office, please spec ify which device, revision of silicon and dat a sheet (include literature number) you are using. customer notification system register on our web site at www.microchip.com to receive the most current information on all of our products. mrf89xa ds70622b-page 6 preliminary ? 2010 microchip technology inc. notes: ? 2010 microchip technology inc. preliminary ds70622b-page 7 mrf89xa 1.0 overview microchip technology's mrf89xa is a fully integrated, half-duplex, sub-ghz transceiver. this low-power, single chip fsk and ook baseband transceiver supports: ? superheterodyne architecture ? multi-channel, multi-band synthesizer with phase lock loop (pll) for easy rf design ? power amplifier (pa) ? low noise amplifier (lna) ? i/q two stage down converter mixers ? i/q demodulator, fsk/ook ? baseband filters and amplifiers the simplified block diagram of the mrf89xa is illustrated in figure 1-1. the mrf89xa is a good choice for low-cost, high-volume, low data rate ( 200 kbps), two-way short range wireless applications. this device is a single chip fsk and ook transceiver capable of operation in the 863-870 mhz and 902-928 mhz license-free ism frequency bands, and the 950-960 mhz frequency band. the low-cost mrf89xa is optimized for very low-power consumption (3 ma in receiv e mode). it incorporates a baseband modem with data rates up to 200 kbps in fsk and 32 kbps in ook. data handling features include a 64-byte fifo, packet handling, automatic crc generation and data whitening. the device also supports manchester codi ng techniques. its highly integrated architecture allows for minimum external component count while still maintaining design flexibility. all major rf communication parameters are programmable and most of them may be dynamically set. the mrf89xa supports a stable sensitivity and linearity characteristics for a wide supply range and is internally regulated. the frequency synthesizer of the mrf89xa is a fully integrated integer-n type pll. the oscillator circuit provided on the mrf89xa device provides the reference clock for the pll. the frequency synthesizer requires only five external components which includes pll loop filter and the vco tank circuit. low phase noise provides for excellent adjacent channel reje ction capability, bit error rate (ber) and longer communication range. the high-resolution pll allows: ? usage of multiple channels in any of the bands ? rapid settling time, which allows for faster frequency hopping a communication link in most applications can be created using a low-cost 12. 8 mhz crystal, a saw filter and a low-cost microcontroller. the mrf89xa provides a clock signal for the microcontroller. the transceiver can be interfaced with many popular microchip pic ? microcontrollers through a 4-wire serial peripheral interface (spi), interrupts (irq0 and irq1), pll lock and clock out. the interface between the microcontroller and mrf89xa (a typical mrf89xa rf node) is illustrated in figure 1-2. the mrf89xa supports the following digital data processing features: ? received signal strength indicator (rssi) ? sync word recognition ? packet handling ? interrupt and flags ? different operating modes (continuous, buffer and packet) ? data filtering/whitening/encoding ? baseband power amplifier ? 64-byte tx/rx fifo the role of the digital processing unit is to interface the data to/from the modulat or/demodulator and the microcontroller access points (spi, irq and data pins). it also controls all of the configuration registers. the receiver's baseband b andwidth (bbbw) can be programmed to accommodate various deviations and data rates requirements. an optional bit synchronizer (bitsync) is provided, to supply a synchronous clock and data stream to a companion microcontroller in continuous mode, or to fill the fifo with glitch-free data in buffered mode. the transceiver is integrated with different power-saving modes and a software wake-up time through the host microcontroller to keep track of the activities, which reduces the overall current consumption and extends the battery life. the sm all size and low-power consumption of the mrf89xa makes it ideal for various short range radio applications. the mrf89xa complies with european (etsi en 300-220 v2.3.1) and united states (fcc part 15.247 and 15.249) regulatory standards. mrf89xa ds70622b-page 8 preliminary ? 2010 microchip technology inc. figure 1-1: mrf89xa simplified block diagram x second stage mixers stage mixers modulation (dds, dacs, interpolation filters) first stage mixers second stage mixers rssi digital demodulator control interface pll block (comparator, vco, filter, dividers) lna if gain pa filtering/ amplification ook demodulator fsk demodulator post-demodulator sync word fifo supply block x x x x x x lo1 tx lo1 tx lo1 rx lo2 tx lo2 rx lo1 rx lo2 tx lo2 rx x x x x spi data clkout plock rfio transmission block reception block frequency i q i q i q phase shift to frequency shift supply crystal loop filter first conversion (fsk mode) pars vcors avrs dvrs for general biasing synthesis block x x irq1 irq0 ? 2010 microchip technology inc. preliminary ds70622b-page 9 mrf89xa figure 1-2: mrf89xa to microcontro ller interface (node) block diagram antenna saw filter matching circuitry block pars rfio loop filter block rf block rf baseband amplifier/ filter/ limiter power management memory crystal frequency = 12.8 mhz processing unit mrf89xa control interface data tank circuit block pic ? mcu csdat cscon sdi sdo sck irq0 irq1 data plock clkout i/o i/o sdo sdi sck int0 int1 i/o i/o osc1 note: the interface between the mrf89xa and the mcu depends on th e data mode of operation. for more information refer to section 3.8 ?data processing? . circuits mrf89xa ds70622b-page 10 preliminary ? 2010 microchip technology inc. notes: ? 2010 microchip technology inc. preliminary ds70622b-page 11 mrf89xa 2.0 hardware description the mrf89xa is an integrated, single chip, low-power ism band sub-ghz transceiver. a detailed block diagram of the mrf89xa is illustrated in figure 2-1. the frequency synthesizer is clocked by an external 12.8 mhz crystal, and frequen cy ranges from 863-870 mhz, 902-928 mhz and 950-960 mhz are possible. the mrf89xa receiver em ploys a superheterodyne architecture. the first if is one-ninth of the rf frequency (approximately 100 mhz). the second down conversion down converts the i and q signals to baseband in the case of the fsk receiver (zero-if) and to a low-if (if2) for the oo k receiver. after the second down-conversion stage, the received signal is channel select filtered and amplified to a level adequate for demodulation. both fsk and ook demodulation are available. image rejection is achieved by using a saw filter. the baseband i and q signals at the transmitter side are digitally generated by a direct digital synthesis (dds) whose digital-to-analog converters (dac) followed by two anti-aliasing low-pass filters transform the digital signal into analog in-phase (i) and quadrature (q) components with frequency as the selected frequency deviation ( f dev ). the transmitter supports both fsk and ook modes of operation. the transmitter has a typical output power of +12.5 dbm. an internal transmit/receive switch combines the transmitter and receiver circuits into a single-ended rfio pin (pin 31). the rfio pin is connected through the impedance matching circuitry to an external antenna. the device operates in the low-voltage range of 2.1v to 3.6v, and in sleep mode, it operates at a very low-curr ent state, typically 0.1 a. the frequency synthesizer is based on an integer-n pll having pll bandwidth of 15k hz. two programmable frequency dividers in the feedback loop of the pll and one programmable divider on the reference oscillator allow the lo frequency to be adjusted. the reference frequency is generated by a crystal oscillator running at 12.8 mhz. the mrf89xa is controlled by a digital block that includes registers to store th e configuration settings of the radio. these registers are accessed by a host microcontroller through a serial peripheral interface (spi). the quality of the data is validated using the rssi and bit synchronizer blocks built into the transceiver. data is buffered in a 64-byte transmitter or receiver fifo. the transceiver is controlled through a 4-wire spi, interrupts (irq0 and irq1), plock, data and chip select pins for spi are illustrated in figure 2-1. on-chip regulators provide stable supply voltages to sensitive blocks and allow the mrf89xa to be used with supply voltages from 2.1 to 3.6v. most blocks are supplied with a voltage below 1.4v. the mrf89xa supports the following feature blocks: ? data filtering and whitening ? bit synchronization ? 64-byte transmit/receive fifo buffer ? general configuration registers these features reduce th e processing load, which allows the use of simple, lo w-cost 8-bit microcontrollers for data processing. mrf89xa ds70622b-page 12 preliminary ? 2010 microchip technology inc. figure 2-1: detailed block diagram of the mrf89xa waveform generator fsk demod bitsync ook demod control xo rssi lo1 rx lo2 rx i i q q lo1 tx i q lo2 tx lo1 rx lo2 rx lo1 tx lo2 tx lo2 tx rfio osc1 osc2 vcors pars irq0 irq1 sdi sdo sck cscon clkout data csdat test<8:0> vcotp vcotn pllp plln dvrs plock pa lna i q q i i q lo generator frequency synthesizer avrs ? 2010 microchip technology inc. preliminary ds70622b-page 13 mrf89xa table 2-1: pin descriptions pin number pin name pin ty pe description 1 test5 digital i/o test pin. connected to ground during normal operation. 2 test1 digital i/o test pin. connected to ground during normal operation. 3 vcors analog output regulated voltage supply of the vco (0.85v). 4 vcotn analog i/o vco tank. 5 vcotp analog i/o vco tank. 6 plln analog i/o pll loop filter. 7 pllp analog i/o pll loop filter. 8 test6 digital i/o test pin. connected to ground during normal operation. 9 test7 digital i/o test pin. connected to ground during normal operation. 10 osc1 analog input crystal connection. 11 osc2 analog input crystal connection. 12 test0 digital input test pin. connected to ground during normal operation. 13 test8 digital i/o test pin. allow pin to float; do not connect signal during normal operation. 14 cscon digital input spi configure chip select. 15 csdat digital input spi data chip select. 16 sdo digital output serial data output interface from mrf89xa. 17 sdi digital input serial data input interface to mrf89xa. 18 sck digital input serial clock interface. 19 clkout digital output clock output. output cl ock at reference frequency divided by a pro- grammable factor. refer to the clock output control register (register 2-28) for details. 20 data digital i/o nrz data input and output (continuous mode). 21 irq0 digital output interrupt request output. 22 irq1 digital output interrupt request output. 23 plock digital output pll lock detection output. refer to the fifo transmit pll and rssi interrupt request configuration register (register 2-15) for more information. 24 test2 digital i/o test pin. connected to ground during normal operation. 25 test3 digital i/o test pin. connected to ground during normal operation. 26 v dd power supply voltage. 27 avrs analog output regulated supply of the analog circuitry (1.0v). 28 dvrs analog output regulated supply of the digital circuitry (1.0v). 29 pars analog output regulated supply of the pa (1.8v). 30 test4 digital i/o test pin. connected to ground during normal operation. 31 rfio analog i/o rf input/output (for more information, see section 2.3 ?rfio pin? ). 32 nc ? no connection. connected to ground during normal operation. 33 vss ground exposed pad. connect ed to ground during normal operation. mrf89xa ds70622b-page 14 preliminary ? 2010 microchip technology inc. 2.1 power supply and ground block pins to provide stable sens itivity and linearity characteristics over a wide supply range, the mrf89xa is internally voltage regulated. this internal regulated power supply block structure is illustrated in figure 2-2. the power supply bypassing is essential for better handling of signal surges and noise in the power line. to ensure correct operation of the regulator circuit, the decoupling capacitor connection (shown in figure 2-2) is recommended. these decoupling components are recommended for any design. the power supply block generates four regulated supplies for the analog, digital, vco and the pll bl ocks to reduce the voltages for their specific requirements. however, power-on reset (por), configuration registers and the spi use the v dd supply given to the mrf89xa. the large value decoupling capacitors should be placed at the pcb power input. the smaller value decoupling capacitors should be placed at every power point of the device and at bias points for the rf port. poor bypassing can lead to conducted interference, which can cause noise and spurious signals to couple into the rf sections, thereby significantly reducing the performance. it is recommended that the v dd pin have two bypass capacitors to ensure sufficient bypass and decoupling. however, based on the selected carrier frequency, the bypass capacitor values vary. the trace length (v dd pin to bypass capacitors) should be made as short as possible. figure 2-2: power supply block diagram table 2-2: power supply pin details blocks biasing thro ugh associated pins regulated voltage (in volts) por, spi and configuration registers v dd v dd 2.1-3.6 regulated supply (v ints )v dd v dd 1.4 analog v ints avrs 1.0 digital v ints dvrs 1.0 vco v ints vcors 0.85 pa v dd pars 1.8 v dd ? pin 26 2.1 ? 3.6v external supply internal regulator 1.4 v digital regulator 1.0 v vco regulator 0.85 v pa regulator 1.80 v vcors pin 3 pars pin 29 biasing: - pa driver - ext. pa choke biasing: - vco circuit - ext. vco tank biasing digital blocks dvrs pin 28 biasing analog blocks avrs pin 27 analog regulator 1.0 v biasing: - spi - config. registers - por 1 f y5v 1 f y5v 0.22 f x7r 0.1 f x7r 0.047 f x7r v bat v ints ? 2010 microchip technology inc. preliminary ds70622b-page 15 mrf89xa 2.2 reset pin the device enters the reset mode if any of the following events take place: ? power-on reset (por) ? manual reset the por happens when the mrf89xa is switched on using v dd . the por cycle takes at least 10 ms to execute any communication operations on the spi bus. an external hardware or manual reset of the mrf89xa can be performed by asserting the test8 pin (pin 13) to high for 100 s and then releasing the pin. after releasing the pin, it takes more than 5 ms for the transceiver to be ready for any operations. the pin is driven with an open-dr ain output, and therefore, is pulled high while the device is in por. the device will not accept commands during the reset period. for more information, refer to section 3.1.2 ?manual reset? . 2.3 rfio pin the receiver and the transmitter share the same rfio pin (pin 31). figure 2-3 illustrates the configuration of the common rf front-end. ? in transmit mode, the pa and the pa regulator are on, with voltage on the pars pin (pin 29) equal to the nominal voltage of the regulator (about 1.8v). the external rf choke inductance is used to bias the pa. ? in receive mode, the pa and pa regulator are off and pars is tied to ground. the external rf choke inductor is then used for biasing and matching the lna (this is basically implemented as a common gate amplifier). figure 2-3: common rf input and output pin diagram the pa and the lna front-ends in the mrf89xa, which share the same input/output pin, are internally matched to approximately 50 . 2.4 filters and amplifiers block 2.4.1 interpolation filter after digital-to-analog conversion during transmission, both i and q signals are smoothed by interpolation filters. these low-pass filters the digitally generated signal, and prevents the alias signals from entering the modulators. 2.4.2 power amplifier the power amplifier (pa) integrated in the mrf89xa operates under a regulated voltage supply of 1.8v. the external rf choke inductor is biased by an internal regulator output made available on the pars pin (pin 29). therefore, the pa outp ut power is consistent over the power supply range. this is important for applications which allows both predictable rf performance and battery life. an open collector output requires biasing using an inductor as an rf choke. for the recommended pa bias and matching circuit details see section 4.4.2 ?suggested pa biasing and matching? . the matching of the saw filter depends on the saw filter selected. many modern saw filters have 50 input and output, which simplifies matching for the mrf89xa. this is demonstrated in the application circuit. if the choice of saw filter is different than 50 , the required impedance match on the input and output of the saw filter will be needed. 2.4.3 low noise amplifier (with first mixer) in receive mode, the rfio pin (pin 31) is connected to a fixed gain, common-gate, low noise amplifier (lna). the performance of this amplif ier is such that the noise figure (nf) of the receiver is estimated to be approximately 7 db. the lna has approximately 50 impedance, which functions well with the proposed antenna (pcb/monopole) during signal transmission. the lna is followed by an internal rf band-pass filter. rfio pars pa pa regulator rx on lna to antenna (1.8v) note: for applications, it is recommended that an appropriate saw filter needs to be implemented. mrf89xa ds70622b-page 16 preliminary ? 2010 microchip technology inc. 2.4.4 if gain and second i/q mixer following the lna and first down-conversion, there is an if amplifier whose gain can be programmed from -13.5 db to 0 db in 4.5 db steps, through the register dmodreg section 2.14.2 ?data and modulation config uration register details? .the default setting corresponds to 0 db gain, but lower values can be used to increase the rssi dynamic range. 2.4.5 channel filters the second mixer stages are followed by the channel select filters. the channel select filters have a strong influence on the noise bandwidth and selectivity of the receiver and therefore, its sensitivity. each channel select filter features a passive second-order rc filter, with a programmable bandwidth and the ?fine? channel selection is performed by an active, third-order, butterworth filter, which acts as a low-pass filter for the zero-if configuration (fsk), or a complex polyphase filter for the low-if (ook ) configuration. for more information on configuring passive and active filters see section 3.4.4 ?channel filters? . 2.5 frequency synthesizer block the frequency synthesizer of the mrf89xa is a fully integrated integer-n type p ll. the crystal oscillator provides the reference frequency for the pll. the pll circuit requires only a minimum of five external components for the pll loop filter and the vco tank circuit. figure 2-4 illustrates a block schematic of the mrf89xa pll. here the crystal reference frequency and the software controlled dividers r, p and s blocks determine the output frequency of the pll. the vco tank inductors are connected on an external differential input. similarly, the loop filter is also located externally. figure 2-4: frequency synthesizer block diagram 2.5.1 reference os cillator pins (osc1/osc2) the mrf89xa has an internal, integrated oscillator circuit and the osc1 and osc2 pins are used to connect to an external crystal resonator. the crystal oscillator provides the re ference frequency for the pll. the crystal oscillator circuit, with the required loading capacitors, provides a 12.8 mhz reference signal for the pll. the pll then gener ates the local oscillator frequency. it is possible to ?pull? the crystal to the accurate frequency by changing the load capacitor value. the crystal oscillator load capacitance is typically 15 pf, which allows the crystal oscillator circuit to accept a wide range of crystals. an external reference input, such as an oscillator, can be connected as a reference source. the oscillator can be connected through a 0.01 f capacitor if required. choosing a higher tolerance crystal results in a lower tx to rx frequency offset and the ability to select a smaller deviation in baseband bandwidth. therefore, the recommended crystal accuracy should be 40 ppm. the guidelines for selecting the appropriate crystal with specifications are explained in section 4.6 ?crystal specification and selection guidelines? . pfd xo (ri + 1) vcors osc1 osc2 pllp plln vcotn vcotp lo vtune f comp 75 * (pi + 1) + si mrf89xa note: crystal frequency error will directly trans- late to carrier frequency (f rf ), bit rate and frequency deviation error. ? 2010 microchip technology inc. preliminary ds70622b-page 17 mrf89xa 2.5.2 clkout output pin (clkout) the transceiver can provide a clock signal through the clkout pin (pin 19) to the microcontroller for accurate timing, thereby eliminating the need for a second crystal. this results in reducing the component count. the clkout is a sub-multiple of the reference frequency and is programmable. the two main functions of the clkout output are: ? to provide a clock output for a host microcontroller, thus saving the cost of an additional oscillator. ? to provide an oscillator reference output. measurement of the clkout signal enables simple software trimming of the initial crystal tolerance. clkout can be made available in any operation mode, except sleep mode , and is automatically enabled at power-up. 2.5.3 phase-locked loop architecture the integer-n phase-locked loop (pll) circuitry determines the operating frequency of the device. the pll maintains accuracy by using the crystal-controlled reference oscillator and provides maximum flexibility in performance to the designers. the high resolution of the pll allows the use of multiple channels in any of the bands. the on-chip pll is capable of performing manual and automatic calibration to compensate for the changes in temperature or operating voltage. 2.5.3.1 pll lock pin (plock) the mrf89xa features a pll lock detect indicator (plock). this is useful for optimizing power consump- tion, by adjusting the synthesizer wake-up time. the lock status can also be read on the lstspll bit from the ftprireg register (register 2-15), and must be cleared by writing a ? 1 ? to this same register. the lock status is available on the plock pin (pin 23), by setting the lenpll bit in the ftprireg register. 2.5.4 voltage controlled oscillator the integrated voltage controlled oscillator (vco) requires two external tank circuit inductors. as the input is differential, the two inductors should have the same nominal value. the performance of these components are essential for both the phase noise and the power consumption of the pll. it is recommended that a pair of high q inductors is selected. these should be mounted orthogonally to other inductors in the circuit (in particular the pa choke) to reduce spurious coupling between the pa and vco. for best performance, wire wound high-q inductors with tight tolerance should be used as described in section 4.0 ?application details? . in addition, such measures may reduce radi- ated pulling effects and undesirable transient behavior, thus minimizing spectral occupancy. the output signal of the vco is used as the input to the local oscillator (lo) generator stage, as illustrated in figure 2-5.the vco frequency is subdivided and used in a series of up (down) conversions for transmission (reception). figure 2-5: lo vco output generator note: to minimize the current consumption of the mrf89xa, ensure that the clkout signal is disabled when unused. note: ensuring a symmetrical layout of the vco inductors will further improve pll spectral purity. lo vco output receiver los transmitter los lo1 rx lo2 rx 8 i q lo1 tx 90o i q lo2 tx 8 90o i q 90o mrf89xa ds70622b-page 18 preliminary ? 2010 microchip technology inc. 2.6 mrf89xa operating modes (includes power-saving mode) this section summarizes the settings for each operating mode of the mrf89xa to save power, based on the operations and available functionality. the timing requirements for switching between modes described in section 5.3 ?switching times and procedures? . 2.6.1 modes of operation table 2-3 lists the different operating modes of the mrf89xa, which can be used to save power. 2.6.2 digital pin configuration vs. chip mode table 2-4 lists the state of the digital i/os in each of the above described modes of operation, regardless of the data operating mode (continuous, buffered, or packet). table 2-3: operating modes table 2-4: pin configuration vs. chip mode mode cmod<2:0> bits (gconreg<7:5> active blocks sleep 000 spi, por. stand-by 001 spi, por, top regulator, digital regula tor, xo, clkout (if activated through clkoreg). fs 010 same as stand-by + vco regulator, all pll and lo generation blocks. receive 011 same as fs mode + lna, first mixer, if am plifier, second mixer set, channel filters, baseband amplifiers and limiters, rssi, ook or fsk demodulator, bitsync and all digital features if enabled. transmit 100 same as fs mode + dds, interpolation fi lters, all up-conversion mixers, pa driver, pa and external pars pin (pin 29) output for the pa choke. chip . mode pin sleep mode stand-by mode fs mode receive mode transmit mode comment cscon input input input input input cscon has priority over csdat . csdat input input input input input sdo input input input input input output only if cscon or csdat = 0. sdi input input input input input sck input input input input input irq0 high-z output (1) output (1) output output irq1 high-z output (1) output (1) output output data input input input output input clkout high-z output output output output plock high-z output (2) output (2) output (2) output (2) note 1: high-z if continuous mode is ac tivated; otherwise, output. 2: output if pll_lock_en = 1 ; otherwise, high-z. 3: valid logic states must be applied to inputs at all times to avoid unwanted leakage currents . ? 2010 microchip technology inc. preliminary ds70622b-page 19 mrf89xa 2.7 interrupt (irq0 and irq1) pins the interrupt requests (irq0 and irq1) pins 21 and 22, respectively provide an interrupt signal to the host microcontroller from the mrf89xa. interrupt requests are generated for the host microcontroller by pulling the irq0 (pin 21) or irq1 (pin 22) pins low or high based on the events and configuration settings of these interrupts. interrupts must be enabled and unmasked before the irq pins are active. for detailed functional description of interrupts see section 3.8 ?data processing? . 2.8 data pin after ook or fsk demodulation, the baseband signal is available to the user on the data pin (pin 20), when continuous mode is selected . therefore, in continuous mode, the nrz data to or from the modulator or demodulator respectively is directly accessed by the host microcontroller on the bidirectional data pin. the spi data, fifo and packet handler are therefore inactive. in buffered and packet modes, the data is retrieved from the fi fo through the spi. during transmission, the data pin is configured as data (data out) and with internal transmit mode disabled; this manually modulates the data from the external host microcontroller. if the transmit mode is enabled, this pin can be tied ?high? or can be left unconnected. during reception, the data pin is configured as data (data in); this pin receives the data in conjunction with dclk. data pin (unused in packed mode) should be pulled-up to vdd through a 100 kohm resistor. 2.9 transmitter the transmitter chain is based on the same double-conversion architecture and uses the same intermediate frequencies as the receiver chain. the main blocks include: a digital waveform generator that provides the i and q base-band signals. this block includes digital-to-analog converters and anti-aliasing low-pass filters. a compound image-rejection mixer to up-convert the baseband signal to the first if at one-ninth of the carrier frequency (f rf ), and a second image-rejection mixer to up-convert the if signal to the rf frequency transmitter driver and power amplifier stages to drive the antenna port. figure 2-6: transmitter arc hitecture block diagram waveform generator lo1 tx lo2 tx lo2 tx rfio pa i q q i i q dds dacs interpolation filters baseband if rf data clock first second up-conversion amplification up-conversion mrf89xa ds70622b-page 20 preliminary ? 2010 microchip technology inc. 2.9.1 transmitter architecture figure 2-6 illustrates the transmitter architecture block diagram. the baseband i and q signals are digitally generated by a dds whose digital-to-analog converters (dac) followed by two anti-aliasing low-pass filters transform the digital signal into analog in-phase (i) and quadrature (q) components whose frequency is the selected frequency deviation (set by using the fdval<7:0> bits from fdevreg<7:0>). in fsk mode, the relative phase of i and q is switched by the input data between -90 and +90 with continuous phase. the modulation is therefore performed at this initial stage, because the information contained in the phase difference will be converted into a frequency shift when the i and q signals are up-converted in the first mixer stage. this first up-conversion stage is duplicated to enhance image rejection. the fsk convention is such that: data = 1 f rf + f dev data = 0 f rf ? f dev in ook mode, the phase difference between the i and q channels is kept constant (independent of the transmitted data). thus, the first stage of up-conversion creates a fixed frequency signal at the low if = f dev (this explains why the transmitted ook spectrum is offset by f dev ). ook modulation is accomplished by switching the pa and pa regulator stages on and off. by convention: data = 1 pa o n data = 0 paoff after the interpolation filters, a set of four mixers combines the i and q signals and converts them into a pair of complex signals at the second intermediate frequency, equal to one-eighth of the lo frequency, or one-ninth of the rf frequency. these two new i and q signals are then combined and up-converted to the final rf frequency by two quadrature mixers fed by the lo signal. the signal is pre-amplified, and then the transmitter output is driven by a final power amplifier stage. the fifo is 1 byte (8 bits ) wide; therefore, it only performs byte (parallel) operations, whereas the demodulator functions serially. a shift register is employed to interface the two fifo and demodulator blocks. in transmit mode, it takes bytes from the fifo and outputs them serially (msb first) at the programmed bit rate to the modulator. similarly, in receive mode, the shift register gets bit-by-bit data from the demodulator and writes them byte-by-byte to the fifo.these details are illustrated in figure 2-7. figure 2-7: i(t), q(t) sign als overview i(t) q(t) fdev 1 ? 2010 microchip technology inc. preliminary ds70622b-page 21 mrf89xa 2.10 receiver the receiver is based on a superheterodyne architec- ture and comprises the following major blocks: ? an lna that provides low-noise rf gain followed by an rf band-pass filter. ? a first mixer, which down-converts the rf signal to an intermediate frequency equal to one-ninth of the carrier frequency (f rf 100 mhz for 915 mhz signals). ? a variable gain first-if preamplifier followed by two second mixers, which down-convert the first if signal to i and q signals at a low frequency (zero-if for fsk, low-if for ook). ? a two-stage if filter followed by an amplifier chain are available for both i and q channels. limiters at the end of each chain drive the i and q inputs to the fsk demodulator function. an rssi signal is also derived from the i and q if amplifiers to drive the ook detector. the second filter stage in each channel can be configured as either a third-order butterworth low-pass filter for fsk operation or an image reject polyphase band-pass filter for ook operation. ? an fsk arctangent type demodulator driven from the i and q limiter outputs, and an ook demodu- lator driven by the rssi signal. either detector can drive a data and clock recovery function that provides matched filter enhancement of the demodulated data. 2.10.1 receiver architecture figure 2-8 illustrates the receiver architecture block diagram. the first if is one-ninth of the rf frequency (approximately 100 mhz). the second down-conversion down-converts the i and q signals to baseband in the case of the fsk receiver (zero-if) and to a low-if (if2) for the ook receiver. after the second down-conversion stage, the received signal is channel-select filtered and amplified to a level adequate for demodulation. both fsk and ook demodulation are available. finally, an optional bit synchronizer (bitsync) is provided, to supply a synchronous clock and data stream to a companion microcontroller in continuous mode, or to fill the fifo buffers with glitch-free data in buffered mode. figure 2-8: receiver architecture block diagram note: image rejection is achieved by using a saw filter on the rf input. fsk demod bitsync ook demod control logic - pattern recognition - fifo handler - spi interface - packet handler rssi lo1 rx lo2 rx lna baseband, if2 in ook if1 rf first down-conversion second down-conversion mrf89xa ds70622b-page 22 preliminary ? 2010 microchip technology inc. figure 2-9: fsk receiver setting figure 2-10: ook receiver setting 2.11 serial peripheral interface (spi) the mrf89xa communicates with the host microcontroller through a 4-wire spi port as a slave device. an spi-compatible serial interface allows the user to select, command and monitor the status of the mrf89xa through the host microcontroller. all registers are addressed through specific addresses to control, configure and read status bytes. the spi in the mrf89xa consists of the following two sub-blocks, as illustrated in figure 2-11: ? spi config: this sub-block is used in all data operation modes to read a nd write the configuration registers which control all the parameters of the chip (operating mode, frequency and bit rate). ? spi data: this sub-block is used in buffered and packet mode to write and read data bytes to and from the fifo. (fifo interrupts can be used to manage the fifo content). figure 2-11: spi overview and host microcontroller connections channel lo1 rx image frequency if1 approx. 100 mhz first down-conversion second down-conversion 0 if2 = 0 in fsk mode frequency lo2 rx channel lo1 rx first down-conversion second down-conversion 0 if2 < 0 in fsk mode image frequency lo2 rx frequency if1 approx. equal to f o 100 mhz spi data (slave) sdi sdo sck spi config (slave) config. registers mrf89xa csdat pic ? microcontroller (master) cscon i/o sdi sdo sck i/o configuration registers fifo ? 2010 microchip technology inc. preliminary ds70622b-page 23 mrf89xa both of these spis are configured in slave mode while the host microcontroller is configured as the master. they have separate selection pins (cscon and csdat ) but share the remaining pins: ? sck (spi clock): clock signal provided by the host microcontroller ? sdi (spi input): data input signal provided by the host microcontroller ? sdo (spi output): data output signal provided by the mrf89xa as listed in table 2-5, only one interface can be selected at a time with cscon having the priority: table 2-5: config vs. data spi selection all the parameters can be programmed and set through the spi module. any of these auxiliary functions can be disabled when not required. after power-on, all param- eters are set to default values. the programmed values are retained during sleep mode. the interface supports the read out of a status register, which provides detailed information about the status of the transceiver and the received data. the mrf89xa supports spi mode 0,0, which requires the sck to remain idle in a low state. the cs pins, /cscon and /csdat based on the mode (pin 14 and 15), must be held low to enable communication between the host microcontroller and the mrf89xa. the device?s timing specification details are listed in table 5-7. the sdo pin defaults to a high impedance (hi-z) state when any of the cs pins are high (the mrf89xa is not selected). this pin has a tri-state buf- fer and uses a bus hold logic. as the device uses byte writ es, any of the chip select (cs) pins should be pulled low for 8 bits. data bits on the sdi pin (pin 17) are shifted into the device upon the rising edge of the clock on the sck pin (pin 18) when- ever the cs pins are low. the maximum clock fre- quency for the spi clock for config mode is 6 mhz. however, maximum spi clock for data mode (to read/write fifo) is 1 mhz. data is received by the transceiver through the sdi pin and is clocked on the rising edge of sck. the mrf89xa sends the data through the sdo pin and is clocked out on the falling edge of sck. the most significant bit (msb) is sent first in any data. the spi sequence diagrams are illustrated in figure 2-12 through figure 2-15. csdat cscon spi 00 config 01 data 10 config 11 none mrf89xa ds70622b-page 24 preliminary ? 2010 microchip technology inc. 2.11.1 spi config write register - to write a value into a configuration register, the timing diagram illustrated in figure 2-12 should be followed by the host microcontroller. the new value of the register is effective from the rising edge of cscon . figure 2-12: write register sequence note: when writing more than one register suc- cessively, it is not compulsory to toggle cscon back high between two write sequences. the bytes are alternatively considered as address and value. in this instance, all new values will become effec- tive on rising edge of cscon . a(4) a(3) a(2) a(1) d(7) d(6) d(5) d(4) d(3) d(2) d(1) d(0) x x x x x x x d(6) d(5) d(4) d(3) d(2) d(1) sck (in) sdi (in) sdo (out) cscon (in) a(0) * when writing the new value at address a1, the current content of a1 can be read by the c. (in)/(out) refers to mrf89xa side x hz (input) d(0) stop 1 5 4 3 2 6 9 8 7 10 11 12 13 15 16 hz (input) address = a1 current value at address a1* d(7) new value at address a1 start rw 14 ? 2010 microchip technology inc. preliminary ds70622b-page 25 mrf89xa read register - to read the value of a configuration register, the timing diagram illustrated in figure 2-13 should be followed by the host microcontroller. figure 2-13: read register sequence note: when reading more than one register suc- cessively, it is not compulsory to toggle cscon back high between two read sequences. the bytes are alternatively considered as address and value. sck (in) sdi (in) sdo (out) cscon (in) current value at address a1 hz (input) 1 5 4 3 2 6 9 8 7 10 11 12 13 14 15 16 xx xx x x x x hz (input) a(0) a(1) stop a(2) a(3) a(4) address = a1 rw start x x x x x x x x d(7) d(6) d(5) d(4) d(3) d(2) d(1) d(0) mrf89xa ds70622b-page 26 preliminary ? 2010 microchip technology inc. 2.11.2 spi data write byte (before/during tx) - to write bytes into the fifo, the timing diagram illustrated in figure 2-14 should be followed by the host microcontroller. figure 2-14: write bytes sequence (example diagram for 2 bytes) note: it is compulsory to toggle csdat back high between each byte written. the byte is pushed into the fifo on the rising edge of csdat . sck (in) sdi (in) sdo (out) x d1(6) d1(5) d1(4) d1(3) d1(2) d1(1) d2(7) d2(6) d2(5) d2(4) d2(3) d2(2) d2(1) d2(0) d1(0) d1(7) hz (input) hz (input) hz (input) csdat (in) x x x x x x x x x x x x x x x x x 1 5 4 3 2 6 8 7 15 4 3 26 8 7 1 st byte written 2 nd byte written ? 2010 microchip technology inc. preliminary ds70622b-page 27 mrf89xa read byte (after/during rx) - to read bytes from the fifo, the timing diagram illustrated in figure 2-15 should be followed by the host microcontroller . figure 2-15: read bytes sequence (example diagram for 2 bytes) note: it is recommended to toggle csdat back high between each byte read. sck (in) sdo (out) d1(6) d1(5) d1(4) d1(3) d1(2) d1(1) d2(7) d2(6) d2(5) d2(4) d2(3) d2(2) d2(1) d2(0) d1(0) d1(7) hz (input) hz (input) sdi (in) x x x x x x x x x x x x x x x x hz (input) csdat (in) 1 5 4 3 2 6 8 7 15 4 3 26 87 second byte read x first byte read mrf89xa ds70622b-page 28 preliminary ? 2010 microchip technology inc. 2.12 fifo and shift register (sr) in buffered and packet modes of operation, data to be transmitted and data that has been received are stored in a configurable first in first out (fifo) buffer. the fifo is accessed through t he spi data interface and provides several interrupts for transfer management. the fifo is 1 byte (8 bits ) wide; therefore, it only performs byte (parallel) operations, whereas the demodulator functions serially. a shift register (sr) is therefore employed to interface the demodulator and the fifo. in transmit mode it takes bytes from the fifo and outputs them seri ally (msb first) at the programmed bit rate to the modulator. similarly, in receive mode the shift register gets bit-by-bit data from the demodulator and writes them byte-by-byte to the fifo. this is illustrated in figure 2-16. figure 2-16: fifo and shift register 2.13 mrf89xaconfiguration/control/ status registers the memory in the mrf89xa transceiver is implemented as static ram and is accessible through the spi port. the memory configuration of the mrf89xa is illustrated in figure 2-17 and figure 2-18. figure 2-17: mrf89xa memory space data tx/rx 8 1 sr (8 bits) byte 0 byte 1 fifo msb lsb control registers transmit/receive fifo 0x00 0x00 0x1f 64 bytes 0x40 shift register (8 bits) 1 data tx/rx msb ? 2010 microchip technology inc. preliminary ds70622b-page 29 mrf89xa figure 2-18: mrf89xa registers memory map the mrf89xa registers functionally handles command, configuration, cont rol, status or data/fifo fields as listed in table 2-6. the registers operate on parameters common to transmit and receive modes, interrupts, sync pattern, crystal oscillator and packets. the fifo serves as a buffer for data transmission and reception. there is a shifted register (sr) to handle bit shifts for the fifo during transmission and reception. por sets default values in all configuration/control /status registers. 0x05 0x06 fifocreg r1creg s1creg p1creg ftprireg ftxrxireg pacreg s2creg r2creg p2creg gconreg dmodreg fdevreg brsreg flthreg rsthireg 0x00 0x01 0x04 0x03 0x02 0x0a 0x09 0x08 0x0e 0x0d 0x0c 0x0b 0x0f 0x1a 0x1b 0x1c 0x1d 0x1e 0x17 0x18 0x19 0x14 0x15 0x16 0x12 0x13 0x11 0x07 ploadreg clkoreg txconreg syncv07reg syncv15reg syncv23reg syncv31reg ookcreg rsvreg rstsreg pktcreg naddsreg pfcreg syncreg fcrcreg 0x1f register name register name filcreg 0x10 mrf89xa ds70622b-page 30 preliminary ? 2010 microchip technology inc. table 2-6: configuratio n/control/status re gister description general configuration registers: size ? 13 bytes, start address ? 0x00 register address register name register description related control functions 0x00 gconreg general configuration r egister transceiver mode, frequency band selection, vco trimming, pll frequency dividers selection 0x01 dmodreg data and modulation configuration register modulation type, data mode, ook threshold type, if gain 0x02 fdevreg frequency deviation control register frequency deviation in fsk transmit mode 0x03 brsreg bit rate set register operational bit rate 0x04 flthreg floor threshold control regist er floor threshold in ook receive mode 0x05 fifocreg fifo configuration register fifo size and threshold 0x06 r1creg r1 counter set register value input for r1 counter 0x07 p1creg p1 counter set register value input for p1 counter 0x08 s1creg s1 counter set register value input for s1 counter 0x09 r2creg r2 counter set register value input for r2 counter 0x0a p2creg p2 counter set register value input for p2 counter 0x0b s2creg s2 counter set register value input for s2 counter 0x0c pacreg power amplifier control register ramp control of pa regulator output voltage in ook interrupt configuration registers: size ? 3 bytes, start address ? 0x0d register address register name register description related control functions 0x0d ftxrxireg fifo, transmit and receive interrupt request configuration register interrupt request (irq0 and irq1) in receive mode, interrupt request (irq1) in transmit mode, interrupt request for fifo full, empty and overrun 0x0e ftprireg fifo transmit pll and rssi interrupt configuration register fifo fill method, fifo fill, interrupt request (irq0) for transmit start, interrupt request for rssi, pll lock enable and status 0x0f rsthireg rssi threshold interrupt request configuration register rssi threshold for interrupt receiver configuration registers: size ? 6 bytes, start address ? 0x10 register address register name register description related control functions 0x10 filcreg filter configuration register passi ve filter bandwidth selection, sets the receiver bandwidth (butterworth filter) 0x11 pfcreg polyphase filter configuration r egister selects the central frequency of the polyphase filter 0x12 syncreg sync control register enable s polyphase filter (in ook receive mode, bit synchronizer control, sync word recognition, sync word size, sync word error 0x13 resvreg reserved register reserved for future use ? 2010 microchip technology inc. preliminary ds70622b-page 31 mrf89xa receiver configuration registers: size ? 6 bytes, start address ? 0x14 register address register name register description related control functions 0x14 rstsreg rssi status read register rssi output 0x15 ookcreg ook configuration register rssi threshold size in ook demodulator, rssi threshold period in ook demodulator, cut-off frequency of the ook threshold in demodulator sync word configuration registers: size ? 4 bytes, start address ? 0x16 register address register name register description related control functions 0x16 syncv31reg sync value 1 st byte configuration register configuring first byte of the 32-bit sync word 0x17 syncv23reg sync value 2 nd byte configuration register configuring second byte of the 32-bit sync word 0x18 syncv15reg sync value 3 rd byte configuration register configuring third byte of the 32-bit sync word 0x19 syncv07reg sync value 4 th byte configuration register configuring fourth byte of the 32-bit sync word transmitter configuration registers: size ? 1 byte, start address ? 0x1a register address register name register description related control functions 0x1a txconreg transmit configuration register transmit interpolation cut-off frequency, power output oscillator configuration registers: size ? 1 byte, start address ? 0x1b register address register name register description related control functions 0x1b clkoreg clock output control register clock-out control, frequency packet handling configuration register s: size ? 4 bytes, start address ? 0x1c register address register name register description related control functions 0x1c ploadreg payload configuration register enable manchester encoding/decoding, payload length 0x1d naddsreg node address set register node?s local address for filtering of received packets 0x1e pktcreg packet configuration register packet format, size of the preamble, whitening, crc on/off, address filtering of received packets, crc status 0x1f fcrcreg fifo crc configuration regist er fifo auto-clear (if crc failed), fifo access table 2-6: configuration/control/statu s register description (continued) mrf89xa ds70622b-page 32 preliminary ? 2010 microchip technology inc. 2.14 general configuration registers 2.14.1 general configuration register details register 2-1: gconreg: gene ral configuration register (address:0x00) (por:0x28) r/w-0 r/w-0 r/w-1 r/w-0 r/w-1 r/w-0 r/w-0 r/w-0 cmod<2:0> fbs<1:0> vcot<1:0> rps bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-5 cmod<2:0>: chip mode bits these bits select the mode of operation of the transceiver. 111 = reserved; do not use 110 = reserved; do not use 101 = reserved; do not use 100 = transmit mode 011 = receive mode 010 = frequency synthesizer mode 001 = stand-by mode (default) 000 = sleep mode bit 4-3 fbs<1:0>: frequency band select bits these bits set the frequency band to be used in sub-ghz range. 11 = reserved 10 = 950-960 mhz or 863- 870 mhz (application circuit dependant) 01 = 915-928 mhz (default) 00 = 902-915 mhz bit 2-1 vcot<1:0>: tx bits for each afc cycle run, these bi ts will toggle between logic ? 1 ? and logic ? 0?. 11 = vtune + 180 mv typ 10 = vtune + 120 mv typ 01 = vtune + 60 mv typ 00 = vtune determined by tank inductors values (default) bit 0 rps: rps select bit this bit selects between the two sets of frequency divi ders of the pll, ri/pi/si. for more information, see section 3.2.7 ?frequ ency calculation? . 1 = enable r2/p2/s2 set 0 = enable r1/p1/s1 set (default) ? 2010 microchip technology inc. preliminary ds70622b-page 33 mrf89xa 2.14.2 data and modulation configuration register details register 2-2: dmodreg: data and mo dulation configuration register (address:0x01) (por:0x88) table 2-7: data operation mode settings r/w-1 r/w-0 r/w-0 r/w-0 r/w-1 r/w-0 r/w-0 r/w-0 modsel<1:0> dmode0 ooktyp<1:0> dmode1 ifgain<1:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-6 modsel<1:0>: modulation type selection bits these bits set the type of modulation to be used in sub-ghz range. 11 = reserved 10 = fsk (default) 01 = ook 00 = reserved bit 5 dmode0: data mode 0 bit (1) setting this bit selects the data operational mode as lsb. use this bit with dmode1 to select the operational mode. 0 = default bit 4-3 ooktyp<1:0>: ook demodulator threshold type bits the combination of these bits selects the demodulator threshold type for operation. 11 = reserved 10 = average mode 01 = peak mode (default) 00 = fixed threshold mode bit 2 dmode1 : data mode 1 bit (1) setting this bit selects the data operational mode as msb. use this bit with dmode0 to select the operational mode. 0 = default bit 1-0 ifgain<1:0>: if gain bits. selects gain on the if chain. 11 = -13.5 db 10 = -9 db 01 = -4.5 db 00 = 0 db (maximal gain) (default) note 1: the combination of dmode1:dmode0 selects the data operation mode. see table 2-7 for the available data operation mode settings. data operation mode dmode1 dmode0 continuous (default mode) 00 buffer 01 packet 1 x (x = 0/1) mrf89xa ds70622b-page 34 preliminary ? 2010 microchip technology inc. 2.14.3 frequency deviation control register details register 2-3: fdevreg: frequenc y deviation control register (address:0x02) (por:0x03) 2.14.4 bit rate set register details register 2-4: brsreg: bit rate set register (address:0x03) (por:0x07) r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-1 r/w-1 fdval<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 fdval<7:0>: frequency deviation value bits the bits indicate single side frequency deviation (in bit value) in fsk transmit mode. fdval = 00000011 f dev = 100 khz (default) f dev = f xtal /32 * (fdval + 1) where, fdval is the value in the register and has the range from 0 fdval 255. refer to section 3.3.3 ?fdev setting in fsk mode? and section 3.3.4 ?fdev setting in ook mode? for details on the f dev setting for fsk and ook modes. r r/w-0 r/w-0 r/w-0 r/w-0 r/w-1 r/w-1 r/w-1 ?b r v a l < 6 : 0 > bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7 reserved: reserved bit; do not use 0 = reserved (default) bit 6-0 brval<6:0>: bit rate value bits these bits set the bit rate (in bit value) of: bit rate = [ f xtal /64 * (brval + 1) ] brval<6:0> = 0000111 bit rate = 25 kbps nrz (default) where, brval is the value in the register and has the range from 0 brval 127 ? 2010 microchip technology inc. preliminary ds70622b-page 35 mrf89xa 2.14.5 floor threshold control register details register 2-5: flthreg: floor threshold control register (address:0x04) (por:0x0c) 2.14.6 fifo configuration register details register 2-6: fifocreg: fi fo configuration register (address:0x05) (por:0x0f) r/w-0 r/w-0 r/w-0 r/w-0 r/w-1 r/w-1 r/w-0 r/w-0 ftoval<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 ftoval<7:0>: floor threshold ook value bits the bits indicate floor threshold in ook receive mode. ftoval<7:0> = 00001100 6 db (default) ftoval assumes 0.5 db rssi step r/w-0 r/w-0 r/w-0 r/w-0 r/w-1 r/w-1 r/w-1 r/w-1 fsize<1:0> ftint<5:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-6 fsize<1:0>: fifo size selection bits these bits set the size/ number of fifo locations. 11 = 64 bytes 10 = 48 bytes 01 = 32 bytes 00 = 16 bytes (default) bit 5-0 ftint<5:0>: fifo threshold interrupt bits setting these bits selects the fifo threshold for interrupt source. refer to section 3.6.2 ?interrupt sources and flags? for additional information. ftint<5:0> = 001111 (default) fifo_threshold interrupt source?s behavior depends on the running mode (tx, rx or stand-by mode). mrf89xa ds70622b-page 36 preliminary ? 2010 microchip technology inc. 2.14.7 r1 counter set register details register 2-7: r1creg: r1 counter set register (address:0x06) (por:0x77) 2.14.8 p1 counter set register details register 2-8: p1creg: p1 counter set register (address:0x07) (por:0x64) r/w-0 r/w-1 r/w-1 r/w-1 r/w-0 r/w-1 r/w-1 r/w-1 r1cval<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 r1cval<7:0>: r1 value bits these bits indicate the value in r1 counte r to generate carrier frequencies in fsk mode. r1cval<7:0> = 0x77 (default) r1cval is activated if rps = 0 in gconreg. also default values r1, p1 and s1 generate 915 mhz in fsk mode. r/w-0 r/w-1 r/w-1 r/w-0 r/w-0 r/w-1 r/w-0 r/w-0 p1cval<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 p1cval<7:0>: p1 value bits these bits indicate the value in p1 counter to generate carrier frequencies in fsk mode. p1cval<7:0> = 0x64 (default) p1cval is activated if rps = 0 in gconreg. also default values r1, p1 and s1 generate 915 mhz in fsk mode. ? 2010 microchip technology inc. preliminary ds70622b-page 37 mrf89xa 2.14.9 s1 counter set register details register 2-9: s1creg: s1 counter set register (address:0x08) (por:0x32) 2.14.10 r2 counter set register details register 2-10: r2creg: r2 counter set register (address:0x09) (por:0x74) r/w-0 r/w-0 r/w-1 r/w-1 r/w-0 r/w-0 r/w-1 r/w-0 s1cval<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 s1cval<7:0>: s1 value bits these bits indicate the value in s1 counter to generate carrier frequencies in fsk mode. s1cval<7:0> = 0x32 (default) s1cval is activated if rps = 0 in gconreg. also default values r1, p1 and s1 generate 915 mhz in fsk mode. r/w-0 r/w-1 r/w-1 r/w-1 r/w-0 r/w-1 r/w-0 r/w-0 r2cval<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 r2cval<7:0>: r2 value bits these bits indicate the value in r2 counter to generate carrier frequencies in fsk mode. r2cval<7:0> = 0x74 (default) r2cval is activated if rps = 1 in gconreg. also default values r2, p2 and s2 generate 920 mhz in fsk mode. mrf89xa ds70622b-page 38 preliminary ? 2010 microchip technology inc. 2.14.11 p2 counter set register details register 2-11: p2creg: p2 counter set register (address:0x0a) (por:0x62) 2.14.12 s2 counter set register details register 2-12: s2creg: s2 counter set register (address:0x0b) (por:0x32) r/w-0 r/w-1 r/w-1 r/w-0 r/w-0 r/w-0 r/w-1 r/w-0 p2cval<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 p2cval<7:0>: p2 value bits these bits indicate the value in p2 counter to generate carrier frequencies in fsk mode. p2cval<7:0> = 0x62 (default) p2cval is activated if rps = 1 in gconreg. also default values r2, p2 and s2 generate 920 mhz in fsk mode. r/w-0 r/w-0 r/w-1 r/w-1 r/w-0 r/w-0 r/w-1 r/w-1 s2cval<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 s2cval<7:0>: s2 value bits these bits indicate the value in s2 counter to generate carrier frequencies in fsk mode. s2cval<7:0> = 0x32 (default). s2cval is activated if rps = 1 in gconreg. also default values r2, p2 and s2 generate 920 mhz in fsk mode. ? 2010 microchip technology inc. preliminary ds70622b-page 39 mrf89xa 2.14.13 power am plifier control register details register 2-13: pacreg: power amplifier control register (address:0x0c) (por:0x38) rrrr / w - 1r / w - 1rrr ? ? ? parc<1:0> ? ? ? bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-5 reserved: reserved bits; do not use 001 = reserved (default) bit 4-3 parc<1:0>: power amplifier ra mp control bits. these bits control the ramp rise and fall times of the tx pa regulator output voltage in ook mode. 11 = 23 s (default) 10 = 15 s 01 = 8.5 s 00 = 3 s bit 2-0 reserved: reserved bits; do not use 000 = reserved (default) mrf89xa ds70622b-page 40 preliminary ? 2010 microchip technology inc. 2.15 interrupt configuration registers 2.15.1 fifo transmit and receive interrupt request configuration register details register 2-14: ftxrxireg: fifo transmit and receive interrupt request configuration register (a ddress:0x0d) (por:0x00) r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 irq0rxs<1:0> irq1rxs<1:0> irq1 tx fifofull fifoempty fovrrun bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-6 irq0rxs<1:0>: irq0 receive stand-by bits these bits control the irq0 source in receive and stand-by modes: if dmode1:dmode0 = 00 ? continuous mode (default) 11 = sync 10 = sync 01 = rssi 00 = sync (default) if dmode1:dmode0 = 01 ? buffer mode 11 = sync 10 = fifo empty (1) 01 = writebyte 00 = - (default) if dmode1:dmode0 = 1x ? packet mode 11 = sync or ardsmatch (3) (if address filtering is enabled) 10 = fifoempty (1) 01 = writebyte 00 = plready (2) (default) bit 5-4 irq1rxs<1:0>: irq1 receive stand-by bits these bits control the irq1 source in receive and stand-by modes: if dmode1:dmode0 = 00 ? continuous mode (default) xx = dclk if dmode1:dmode0 = 01 ? buffer mode 11 = fifo_threshold (1) 10 = rssi 01 = fifofull (1) 00 = - (default) if dmode1:dmode0 = 1x ? packet mode 11 = fifo_threshold (1) 10 = rssi 01 = fifofull (1) 00 = crcok (default) note 1: this mode is also available in stand-by mode. 2: plready = payload ready 3: adrsmatch = address match ? 2010 microchip technology inc. preliminary ds70622b-page 41 mrf89xa bit 3 irq1tx: transmit irq1 bit this bit selects irq1 as source in transmit mode. if dmode1:dmode0 = 00 ? continuous mode (default): x = dclk if dmode1:dmode0 = 01 ? buffer mode or 1x ? packet mode: 1 = txdone 0 = fifofull (default) bit 2 fifofull: fifo full bit this bit indicates fifo full through the irq source 1 = fifo full 0 = fifo not full bit 1 fifoempty: fifo empty bit this bit indicates fifo empty through the irq source 1 = fifo not empty 0 = fifo empty bit 0 fovrrun: fifo overrun clear bit this bit indicates if fifo overrun occurred. 1 = fifo overrun occurred 0 = no fifo overrun occurred writing a ? 1 ? for this bit clears flag and fifo. register 2-14: ftxrxireg: fifo transmit and receive interrupt request configuration register (address :0x0d) (por:0x00) (continued) note 1: this mode is also available in stand-by mode. 2: plready = payload ready 3: adrsmatch = address match mrf89xa ds70622b-page 42 preliminary ? 2010 microchip technology inc. 2.15.2 fifo transmit pll and rssi interrupt request configuration register details register 2-15: ftprireg: fifo transmit pll and rssi interrupt request configuration register (address:0x0e) (por:0x01) r/w-0 r/w-0 r/w-0 r/w-0 r r/w-0 r/w-0 r/w-1 fifofm fifofsc txdone irq0txst ? rirqs lstspll lenpll bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7 fifofm: fifo filling method bits this bit decides the method of fillin g fifo (supports buffer mode only) 1 = manually controlled by fifo fill 0 = automatically starts when a sync word is detected (default) bit 6 fifofsc: fifo filling status or control bits this bit indicate the status of fifo fillin g and also controls the filling up of fifo (supports buffer mode only) status: reading (fifofm = 0 ) 1 = fifo getting filled ( ? sync word has been detected) 0 = fifo filling completed / stopped control: writ ing (fifofm = 1 ), clears the bit and waits for a new sync word (fovrclr = 0) 1 = start filling the fifo 0 = stop filling the fifo bit 5 txdone: transmit done bit this bit selects and irq source. 1 = txdone (goes high when the last bit has left the shift register). 0 = tx still in process bit 4 irq0txst: transmit start with irq0 bit this bit indicates transmit start condition with irq0 as source. if dmode1:dmode0 = 01 ? buffer mode: 1 = transmit starts if fifo is no t empty, irq0 mapped to fifoempty 0 = transmit starts if fifo is full, irq0 mapped to fifoempty (default) if dmode1:dmode0 = 1x ? packet mode: 1 = transmit starts if fifo is no t empty, irq0 mapped to fifoempty 0 = start transmission when the number of bytes in fifo is greater than or equal to threshold set by the ftint<5:0> bits (fifocreg<5:0), irq0 mapped to fifo_threshold bit 3 reserved: reserved bit 1 = set bit to ? 1 ? (required) (1) 0 = reserved (default) bit 2 rirqs: rssi irq source this bit indicates irq source as rssi 1 = detected signal is above the value determi ned by the rtival<7:0> bits (rsthireg<7:0>) 0 = detected signal is less than the value determined by the rtival<7:0> bits (rsthireg<7:0>) writing a ? 1 ? for this bit clears rirqs. note 1: setting this bit to ? 0 ? disables the rssi irq source. it can be left enabled at any time, and the user can choose to map this interrupt to irq0/irq1 or not. ? 2010 microchip technology inc. preliminary ds70622b-page 43 mrf89xa bit 1 lstspll: lock status of pll bit 1 = pll locked (lock detected) 0 = pll not locked writing a ? 1 ? for this bit clears lstspll. bit 0 lenpll: lock enable of pll bit 1 = pll lock detect enabled (default) 0 = pll lock detect disabled the pll lock detect flag is mapped to the plock pin (pin 23), and pin 23 is a high-z pin register 2-15: ftprireg: fifo transmit pll and rssi interrupt request configuration register (addr ess:0x0e) (por:0x01) (continued) note 1: setting this bit to ? 0 ? disables the rssi irq source. it can be left enabled at any time, and the user can choose to map this interrupt to irq0/irq1 or not. mrf89xa ds70622b-page 44 preliminary ? 2010 microchip technology inc. 2.15.3 rssi threshold interrupt request register details register 2-16: rsthireg: rssi thre shold interrupt request configuration register (address:0x0f) (por:0x00) r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 rtival<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 rtival<7:0>: rssi threshold for interrupt value bits these bits indicate the rssi threshold value for interrupt request rtival<7:0> = 00000000 (default) ? 2010 microchip technology inc. preliminary ds70622b-page 45 mrf89xa 2.16 receiver configuration registers 2.16.1 filter configuration register details register 2-17: filcreg: filter configur ation register (address:0x10) (por:0xa3) r/w-1 r/w-0 r/w-1 r/w-0 r/w-0 r/w-0 r/w-1 r/w-1 pasfilv<3:0> butfilv<3:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-4 pasfilv<3:0>: passive filter value bits these bits indicate the typical single sideband bandwidth of the passive low-pass filter. 1111 = 987 khz 1110 = 676 khz 1101 = 514 khz 1100 = 458 khz 1011 = 414 khz 1010 = 378 khz (default) 1001 = 321 khz 1000 = 262 khz 0111 = 234 khz 0110 = 211 khz 0101 = 184 khz 0100 = 157 khz 0011 = 137 khz 0010 = 109 khz 0001 = 82 khz 0000 = 65 khz bit 3-0 butfilv<3:0>: butterworth filter value bits these bits set the receiver bandwidth both in fsk and ook mode. butfilv<3:0> = 0011 ? f c ? f o = 100 khz (default) f c = f o + 200 khz * ( f xtal mhz/12.8 mhz) * (1 + butfilv)/8 where, butfilv is the value in the register f c is the center frequency f o is the local oscillator frequency f xtal is the crystal oscillator frequency note: f c ? f o = 100 khz only when f xtal = 12.8 mhz. mrf89xa ds70622b-page 46 preliminary ? 2010 microchip technology inc. 2.16.2 polyphase filter configuration register details register 2-18: pfcreg: polyphase filter configura tion register (address:0x11) (por:0x38) r / w - 0r / w - 0r / w - 1r / w - 1rrrr polcfv<3:0> ? ? ? ? bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-4 polcfv<3:0>: polyphase centre frequency value bits these bits indicate the center frequency of the pol yphase filter (typically recommended to 100 khz). polcfv<3:0> = 0011 ? f o = 100 khz (default) f o = 200 khz * ( f xtal mhz/12.8 mhz) * (1 + polcfv)/8 where, polcfv is the value in the register f c is the center frequency f o is the local oscillator frequency f xtal is the crystal oscillator frequency bit 3-0 reserved<3:0>: reserved bits; do not use 1000 = reserved (default) ? 2010 microchip technology inc. preliminary ds70622b-page 47 mrf89xa 2.16.3 sync control register details register 2-19: syncreg: sync control register (address:0x12) (por:0x18) r/w-0 r/w-0 r/w-0 r/w-1 r/w-1 r/w-0 r/w-0 r polfilen bsyncen syncren sy ncwsz<1:0> syncten<1:0> ? bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7 polfilen: polyphase filter enable bit this bit enables the polyphase filter in ook receive mode. 1 = polyphase filter enabled 0 = polyphase filter disabled (default) bit 6 bsyncen: bit synchronizer enable bit this bit controls the enabling and disabling of the bit synchronizer in continuous receive mode. 1 = bit synchronizer disabled 0 = bit synchronizer enabled (default) bit 5 syncren: sync word recognition enable bit 1 = on 0 = off (default) bit 4-3 syncwsz<1:0>: sync word size bit 11 = 32 bits (default) 10 = 24 bits 01 = 16 bits 00 = 8 bits bit 2-1 syncten<1:0>: sync word tolerated error numbers these bits indicate the number of errors tolerated in the sync word recognition. 11 = 3 errors 10 = 2 errors 01 = 1 errors 00 = 0 errors (default) bit 0 reserved: reserved bit; do not use 0 = reserved (default) mrf89xa ds70622b-page 48 preliminary ? 2010 microchip technology inc. 2.16.4 reserved register details register 2-20: resvreg: reserved re gister (address:0x13) (por:0x07) 2.16.5 rssi status read register details register 2-21: rstsreg: rssi status read register (1) (address:0x14) rrrrrrrr ? ? ? ? ? ? ? ? bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 reserved: reserved bits; do not use 00000111 = reserved (default) r-0 r-0 r-1 r-0 r-1 r-0 r-0 r-0 rssival<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 rssival<7:0>: rssi value bits these read-only bits indicate the rssi out put and each unit bit corresponds to 0.5 db. note 1: por is not applicable to this read-only register. ? 2010 microchip technology inc. preliminary ds70622b-page 49 mrf89xa 2.16.6 ook configuration register details register 2-22: ookcreg: ook configurat ion register (addr ess:0x15) (por:0x00) r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 ookthsv<2:0> ookth pv<2:0> ookathc<1:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-5 ookthsv<2:0>: ook threshold step value bits these bits set the size of each decrement of the rssi threshold in the ook demodulator. 111 = 6.0 db 110 = 5.0 db 101 = 4.0 db 100 = 3.0 db 011 = 2.0 db 010 = 1.5 db 001 = 1.0 db 000 = 0.5 db (default) bit 4-2 ookthpv<2:0>: ook threshold period value bits these bits set the period of decrement of the rssi thresh old in the ook demodulator. 111 = 16 times in each chip period 110 = 8 times in each chip period 101 = 4 times in each chip period 100 = twice in each chip period 011 = once in each 8 chip periods 010 = once in each 4 chip periods 001 = once in each 2 chip periods 000 = once in each chip period (default) bit 1-0 ookathc<1:0>: ook average threshold cut-off bits these bits set the cut-off frequency of the averaging for the average mode of the ook threshold in the demodulator. 11 = f c ~ br/32. (1) 10 = reserved; do not use 01 = reserved; do not use 00 = f c ~ br/8. (default) (1) mrf89xa ds70622b-page 50 preliminary ? 2010 microchip technology inc. 2.17 sync word configuration registers 2.17.1 sync value first byte set register details register 2-23: syncv31reg: sync valu e first byte configuration register (address:0x16) (por:0x00) 2.17.2 sync value second byte set register details register 2-24: syncv23reg: sync value second byte configu ration register (address:0x17) (por:0x00) r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 syncv<31:24> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 syncv<31:24>: sync first byte value bits these bits are to be set to confi gure the first byte of the sync word. syncv<31:24> = 00000000 (default) r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 syncv<23:16> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 syncv<23:16>: sync second byte value bits these bits are to be set to configure the second byte of the sync word. syncv<23:16> = 00000000 (default) ? 2010 microchip technology inc. preliminary ds70622b-page 51 mrf89xa 2.17.3 sync value third byte set register details register 2-25: syncv15reg: sync value third byte configuration register (address:0x18) (por:0x00) 2.17.4 sync value fourth byte set register details register 2-26: syncv07reg: sync value fourth byte configuration register (address:0x19) (por:0x00) r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 syncv<15:8> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 syncv<15:8>: sync third byte value bits these bits are to be set to configure the third byte of the sync word. syncv<15:8> = 00000000 (default) r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 syncv<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 syncv<7:0>: sync fourth byte value bits these bits are to be set to configur e the fourth byte of the sync word. syncv<7:0> = 00000000 (default) mrf89xa ds70622b-page 52 preliminary ? 2010 microchip technology inc. 2.18 transmitter configuration registers 2.18.1 transmit paramter configuration register details register 2-27: txconreg: transmit parameter configuration register (address:0x1a) (por:0x7c) r/w-0 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-0 r txipolfv<3:0> txopval<2:0> ? bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-4 txipolfv<3:0>: transmission interpolation filter cut off frequency value bits these bits control the cut off frequency of the interpolation filter in the transmission path. txipolfv<3:0> = 0111 ? f c = 200 khz (default) f c = 200 khz *( f xtal mhz/12.8 mhz) * (txipolfv)/8 where, txipolfv is the value in the register f c is the center frequency f o is the local oscillator frequency f xtal is the crystal oscillator frequency bit 3-1 txopval<2:0>: transmit output power value bits 111 = 13 dbm 110 = 10 dbm (default) 101 = 7 dbm 100 = 4 dbm 011 = 1 dbm 010 = -2 dbm 001 = -5 dbm 000 = -8 dbm bit 0 reserved: reserved bit; do not use 0 = reserved (default) note: br is the bit rate (refe r to brsreg (register 2-4 ) for more information). ? 2010 microchip technology inc. preliminary ds70622b-page 53 mrf89xa 2.19 oscillator configuration registers 2.19.1 clock output control register details register 2-28: clkoutreg: cl ock output control register (address:0x1b) (por:0xbc) r/w-1 r/w-0 r/w-1 r/w-1 r/w-1 r/w-1 r r clkocntrl clkofreq<4:0> ? ? bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7 clkocntrl: clock output control bit this bit enables the clock ou tput from the transceiver. 1 = enabled (default), clock frequency set by clkout_freq (default) 0 = disabled bit 6-2 clkofreq<4:0>: clock out frequency bits these bits indicate value of the frequency of the clock output. clkofreq<4:0> = 01111 ? f c = 427 khz (default) f clkout = f xtal if clkofreq<4:0> = 00000 or f clkout = f xtal / 2 * clkofreq, for clkofreq<4:0> ? 00000 where, clkofreq is the value in the register f clkout is the output frequency f o is the local oscillator frequency f xtal is the crystal oscillator frequency bit 1-0 reserved<1:0>: reserved bits; do not use 00 = reserved (default) mrf89xa ds70622b-page 54 preliminary ? 2010 microchip technology inc. 2.20 packet configuration registers 2.20.1 payload configuration register details register 2-29: ploadreg: payl oad configuration register (address:0x1c) (por:0x00) 2.20.2 node address set register details register 2-30: naddsreg: node address set register (address:0x1d) (por:0x00) r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 mchstren pldplen<6:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7 mchstren: manchester encoding/decoding enable bit 1 = enabled 0 = disabled (default) bit 6-0 pldplen<6:0>: payload packet length bits these bits indicate payload packet length. if pkt_format = 0 , payload length. if pkt_format = 1, max length in rx, not used in tx. pldplen<6:0> = 000000 (default) r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 nladdr<7:0> bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7-0 nladdr<7:0>: node local address bits these bits are to be set to configure the node local address for filtering of received packets. nladdr<7:0> = 00h (default) ? 2010 microchip technology inc. preliminary ds70622b-page 55 mrf89xa 2.20.3 packet configuration register details register 2-31: pktcreg: pack et configuration register (address:0x1e) (por:0x68) r/w-0 r/w-1 r/w-1 r/w-0 r/w-1 r/w-0 r/w-0 r/w-0 pktlenf presize<1:0> whiteon chkcrcen addfil<1:0> stscrcen bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7 pktlenf: packet length format bit 1 = variable length format 0 = fixed length format (default) bit 6-5 presize<1:0>: preamble size bits these bits indicate the size of the preamble bits to be transmitted. 11 = 4 bytes 10 = 3 bytes (default) 01 = 2 bytes 00 = 1 byte bit 4 whiteon: whitening/dewhitening process enable bit 1 = on 0 = off (default) bit 3 chkcrcen: check (or calculation) crc enable bit 1 = on (default) 0 = off bit 2-1 addfil<1:0>: address filtering bits these bits determine the mode of filter out the addresses of received packet 11 = node address & 0x00 & 0xff accepted; otherwise, rejected 10 = node address & 0x00 accepted; otherwise, rejected 01 = node address accepted; otherwise, rejected 00 = off (default) bit 0 stscrcen: status check crc enable bit this bit checks the status/result of th e crc of the current packet (read-only). 1 = ok 0 = not ok mrf89xa ds70622b-page 56 preliminary ? 2010 microchip technology inc. 2.20.4 fifo crc configuration register details register 2-32: fcrcreg: fifo crc configuration register (address:0xie) (por:0x00) r / w - 0r / w - 0rrrrrr acfcrc frwaxs ? ? ? ? ? ? bit 7 bit 0 r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown r = reserved bit 7 acfcrc: auto clear fifo crc bit this bit when enabled auto clears fifo if crc failed for the current packet. 1 = disabled 0 = enabled (default) bit 6 frwaxs: fifo read/write access bit this bit indicate the read/write access for fifo in stand-by mode. 1 = read 0 = write (default) bit 5-0 reserved<5:0>: reserved bits; do not use 00000 = reserved (default) mrf89xa ds70622b-page 57 preliminary ? 2010 microchip technology inc. table 2-8: detailed configuration/ control/status register map register function/ parameter type register address register name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 value on por general 0x00 gconreg cmod<2:0> fbs<1:0> vcot<1:0> rps 0x28 0x01 dmodreg modsel<1l0> dmode0 ooktyp<1:0> dmode1 ifgain<1:0> 0x88 0x02 fdevreg fdval<7:0> 0x03 0x03 brsreg reserved brval<6:0> 0x07 0x04 flthreg ftoval<7:0> 0x0c 0x05 fifocreg fsize<1:0> ftint<5:0> 0x0f 0x06 r1creg r1cval<7:0> 0x77 0x07 p1creg p1cval<7:0> 0x64 0x08 s1creg s1cval<7:0> 0x32 0x09 r2creg r2cval<7:0> 0x74 0x0a p2creg p2cval<7:0> 0x62 0x0b s2creg s2cval<7:0> 0x32 0x0c pacreg reserved reserved reserved parc<1:0> reserved reserved reserved 0x38 0x0d ftxrxireg irq0rxs<1:0> irq1rxs<1: 0> irq1tx fifofull fifoempty fovrrun 0x00 interrupt 0x0e ftprireg fifofm fifofsc txdone irq0txst reserved rirqs lstspll lenpll 0x01 0x0f rsthireg rtival<7:0> 0x00 0x10 filcreg pasfilv<3:0> butfilv<3:0> 0xa3 receiver 0x11 pfcreg polcfv<3:0> reserved reserved reserved reserved 0x38 0x12 syncreg polfilen bsyncen syncren syncwsz<1:0> syncten<1:0> reserved 0x18 0x13 resvreg reserved reserved reserved reserved reserved reserved reserved reserved 0x07 0x14 rstsreg rssival<7:0> read-only 0x15 ookcreg ookthsv<2:0> ook thpv<2:0> ookathc<1:0> 0x00 sync word 0x16 syncv31reg syncv<31:24> 0x00 0x17 syncv23reg syncv<23:16> 0x00 0x18 syncv15reg syncv<15:8> 0x00 0x19 syncv07reg syncv<7:0> 0x00 transmitter 0x1a txconreg txipolfv<3:0> txopval<2:0> reserved 0x7c clock-out 0x1b clkoutreg c lkocntrl clkofreq<4:0> reserved reserved 0xbc packet 0x1c ploadreg mchs tren pldplen<6:0> 0x00 0x1d naddsreg nladdr<7:0> 0x00 0x1e pktcreg pktlenf presize<1:0> whit eon chkcrcen addfil<1:0> stscrcen 0x68 0x1f fcrcreg acfcrc frwaxs reserved reserved reserved reserved reserved reserved 0x00 ? 2010 microchip technology inc. preliminary ds70622b-page 58 mrf89xa ? 2010 microchip technology inc. preliminary ds70622b-page 59 mrf89xa 3.0 functional description the functional block diagram of the mrf89xa is illustrated in figure 3-1. the functional operations of individual blocks are explained in subsequent sections. figure 3-1: mrf89xa fu nctional block diagram waveform generator fsk demod bitsync ook demod control xo rssi lo1 rx lo2 rx i i q q lo1 tx i q lo2 tx lo1 rx lo2 rx lo1 tx lo2 tx lo2 tx rfio osc1 osc2 vcors pars irq0 irq1 sdi sdo sck cscon clkout data csdat test<8:0> vcotp vcotn pllp plln dvrs plock pa lna i q q i i q lo generator frequency synthesizer avrs mrf89xa ds70622b-page 60 preliminary ? 2010 microchip technology inc. 3.1 reset of the chip a power-on reset of the mrf89xa is triggered at power up. additionally, a manual reset can be issued by controlling the test8 pin (pin 13). 3.1.1 power-on reset (por) if the application requires the disconnection of v dd from the mrf89xa, the user should wait for 10 ms from the end of the por cycle before commencing communications using spi. the test8 pin should be left floating during the por sequence. figure 3-2 illus- trates the por timing.. 3.1.2 manual reset a manual reset of the mrf89xa is possible even for applications in which v dd cannot be physically disconnected. the test8 pin should be pulled high for 100 u (micro) and then released. the user should then wait 5 ms before using the chip. the pin is driven with an open-drain output, and th erefore, is pulled high while the device is in por. figure 3-3 illustrates the manual reset timing figure 3-2: por timing diagram figure 3-3: manual r eset timing diagram note: any clkout-related activity can also be used to detect that the chip is ready. note: when the test8 pin is driven high, an current consumption of up to 10 ma can be seen on v dd . wait for 10 ms v dd pin 13 (output) chip is ready from this point forward undefined v dd > 100 s chip is ready from this point forward pin 13 (input) high-z high-z 1 wait for 5 ms ? 2010 microchip technology inc. preliminary ds70622b-page 61 mrf89xa 3.2 frequency synthesis description 3.2.1 reference oscillator the crystal oscillator (xtal) forms the reference oscillator of an integer-n pll. the crystal reference frequency and the software controlled dividers r, p, and s determine the output frequency of the pll. the guidelines for selecting the appropriate crystal with specifications are explained in section 4.6 ?crystal specification and selection guidelines? . 3.2.2 buffered clock output the buffered clock output is a signal derived from f xtal . it can be used as a reference clock (or a sub-multiple of it) for the host microcontroller and is an output on the clkout pin (pin 19). the pin is activated using the clkocntrl bit (clkoutreg<7>). the output frequency (clkout) division ratio is programmed through the clock out frequency bits (clkofreq5-clk0freq1) in the clock output control register (clkoutreg<6:2>). the two uses of the clkout output are: ? to provide a clock output for a host microcontroller, thus saving the cost of an additional oscillator. clkout can be made available in any operation mode, except sleep mode , and is automatically enabled at power-up. ? to provide an oscillator reference output. measurement of the clkout signal enables simple software trimming of the initial crystal tolerance. 3.2.3 clock registers the registers associated with the clock and its control are: ? gconreg (register 2-1) ? clkoutreg (register 2-28). 3.2.4 phase-locked loop (pll) the frequency synthesizer of the mrf89xa is a fully integrated integer-n type pll. the pll circuit requires only five external components for the pll loop filter and the vco tank circuit. 3.2.4.1 pll requirements with integer-n pll architecture, the following conditions must be met to ensure correct operation: ? the comparison frequency, f comp , of the phase frequency detector (pfd) input must remain higher than six times the pll bandwidth (pllbw) to guarantee loop stability and to reject harmonics of the comparison frequency f comp . this is expressed in the inequality: f comp 6 * pllbw ? however the pllbw must be sufficiently high to allow adequate pll lock times. ? because the divider ratio r determines f comp , it should be set close to 119, leading to f comp 100 khz, which will ensure suitable pll stability and speed. the following criteria govern the r, p, and s values for the pll block: ?64 r 169 ?p+1 > s ? pllbw = 15 khz nominal ? start-up times and reference frequency drives as specified 3.2.4.2 pll lock detection indicator the mrf89xa features a pll lock detect indicator. this is useful for optimizing power consumption, by adjusting the frequency synthesizer wake-up time (tsfs). for more inform ation on tsfs, refer table 5-4. the lock status is available by reading the lock status of pll bi t (lstspll) in the fifo transmit pll and rssi interrupt request configuration register (ftprireg<1>), and must be cleared by writing a ? 1 ? to this same register. the lock status can also be seen on the plock pin (pin 23) of the device, by setting the lenpll bit (ftprireg<0>). 3.2.5 pll registers the registers associated with the pll are: ? gconreg (register 2-1) ? ftprireg (register 2-15). 3.2.6 sw settings of the vco to guarantee the optimum operation of the vco over the mrf89xa?s frequency and temperature ranges, the settings listed in table 3-1 should be programmed into the mrf89xa. note: use the recommended values provided in the bill of materials (bom) in section 4.7 ?bill of materials? for any pll prototype design. note: clkout is disabled when the mrf89xa is in sleep mode. if sleep mode is used, the host microcontroller must have provi- sions to run from its own clock source. note: the lenpll bit latches high each time the pll locks and must be reset by writing a ? 1? to lenpll. mrf89xa ds70622b-page 62 preliminary ? 2010 microchip technology inc. table 3-1: frequency band setting 3.2.6.1 trimming the vco tank by hardware and software to ensure that the frequency band of operation may be accurately addressed by the r, p, and s dividers of the synthesizer, it is necessary to ensure that the vco is correctly centered. the mrf89xa built-in vco trimming feature makes it easy and is controlled by the spi interface. this tuning does not require any rf test equipment, and can be achieved by measuring vtune, the voltage between the plln and pllp pins (6 and 7 pins). the vco is centered if the voltage is within the range of 50 vtune(mv) 150. this measurement should be conducted when in transmit mode at the cent er frequency of the desired band (for example, approximately 867 mhz in the 863-870 mhz band), with the appropriate frequency band setting using the (fbs<1:0> bits (gconreg<4:3>). if this inequality is not sa tisfied, adjust the vcot<1:0> bits (gconreg<2:0>) from ? 00 ? by monitoring vtune. this allows the vco voltage to be trimmed in +60 mv increments. if the desired voltage range is inaccessible, the voltage may be adjusted further by changing the tank circuit inductance value. an increase in inductance results in an increase vtune. in addition, for mass production, the vco capacitance is piece-to-piece dependant. as such, the optimization proposed above should be verified on several prototypes, to ensure that the population is centered with 100 mv. the register associated with vco is: ? gconreg (register 2-1). 3.2.7 frequency calculation as illustrated in figure 2-5, the pll structure com- prises three different dividers, r, p, and s, which set the output frequency through the lo. a second set of dividers is also available to allow rapid switching between a pair of frequencies: r1/p1/s1 and r2/p2/s2. these six dividers are programmed by six independent registers (see register 2-7 through register 2-12), which are selected by gconreg. fsk mode the formula provided in equation 3-1 gives the relationship between the local oscillator, and r, p and s values, when using fsk modulation. equation 3-1: 3.2.8 fsk mode registers the registers associated with fsk mode are: ? gconreg (register 2-1) ? dmodreg (register 2-2). ook mode due to the manner in which the baseband ook symbols are generated, the signal is always offset by the fsk frequency deviation (fdval<7:0> as programmed in fdevreg<7:0>). therefore, the center of the transmitted oo k signal is represented by equation 3-2. equation 3-2: consequently, in receive mode, due to the low intermediate frequency (low-i f) architecture of the mrf89xa, the frequency should be configured so as to ensure the correct low-if receiver baseband center frequency, if2, as shown in equation 3-3. equation 3-3: as described in section 3.4.4 ?channel filters? , it is recommended that if2 be set to 100 khz. 3.2.9 ook mode registers the registers associated with ook mode are: ? gconreg (register 2-1) ? dmodreg (register 2-2) ? flthreg (register 2-5) ? ookcreg (register 2-22) target channel (mhz) fbs1 fbs0 863-870 1 0 902-915 0 0 915-928 0 1 950-960 1 0 f rf fsk , 9 8 -- - f lo = f rf fsk , 9 8 -- - f xtal r 1 + ------------ - 75 ? p 1 + () s + [] = f rf ook tx ,, 9 8 -- - f xtal r 1 + ------------ - 75 ? p 1 + () s + [] f dev ? = f rf ook tx ,, 9 8 -- - f lo f dev ?= f rf ook rx ,, 9 8 -- - f lo if 2 ?= f rf ook rx ,, 9 8 -- - f xtal r 1 + ------------ - 75 ? p 1 + () s + [] if 2 ? = ? 2010 microchip technology inc. preliminary ds70622b-page 63 mrf89xa 3.3 transmitter the mrf89xa is set to transmit mode when the cmod<2:0> bits (gconreg<7:5>) are set to ? 100? (see register 2-1). the transmitter chain in the mrf89xa is based on the same double-conversion architecture and uses the same intermediate frequencies as the receiver chain. the frequency synthesizer is based on an integer-n type pll, having bandwidth of 15k hz. two programmable frequency dividers in the feedback loop of the pll and one programmable divider on the reference oscillator allow the lo frequency to be adjusted. the reference fr equency is generated by a crystal oscillator running at 12.8 mhz. 3.3.1 bit rate setting in continuous transmit mode, setting the bit rate through the brval<6:0> bits (brsreg<6:0>) is useful to determine the frequency of dclk. as explained in section 3.9.1 ?tx processing? , dclk will trigger an interrupt on the host microcontroller each time a new bit has to be transmitted, as shown in equation 3-4. equation 3-4: 3.3.2 alternative settings bit rate, frequency deviation, and tx interpolation filter settings are a function of the crystal frequency ( f xtal ) of the reference oscillator. settings other than those programmed with a 12.8 mhz crystal can be obtained by selecting the correct reference oscillator frequency. 3.3.3 f dev setting in fsk mode the frequency deviation, f dev , of the fsk transmitter is programmed through the fdval<7:0> bits (fdevreg<7:0>), as shown in equation 3-5. equation 3-5: for correct operation, the modulation index should be equal to equation 3-6. equation 3-6: for communication between a pair of mrf89xas the f dev should be at least 33 khz to ensure a correct operation on the receiver side. 3.3.4 f dev setting in ook mode f dev has no physical meaning in ook transmit mode. however, due to the dds baseband signal generation, the ook signal is always offset by ?- f dev ? (see section 3.2.7 ?frequency calculation? ). it is suggested that f dev retains its default value of 100 khz in ook mode. 3.3.5 interpolation filter after digital-to-analog conversion, the i and q signals are smoothened by interpolation filters. low-pass filters in this block digitally generates the signal and prevent the alias signals from entering the modulators. its bandwidth can be programmed with the txipolfv<6:0> bits (txparcreg>7:1), and should be calculated as shown in equation 3-7. equation 3-7: for most of the applications a bw of around 125 khz would be acceptable, but for wideband fsk modulation, the recommended filter setting cannot be reached. however, the impact on spectral purity will be negligible due to the existing wideband channel. br f xtal 64 1 val brval<6:0> () + [] ? = f dev f xtal 32 1 val fdval<7:0> () + [] ? = f dev br -------- - ? = note: low interpolation filter bandwidth will attenuate the baseband i/q signals, thus reducing the power of the fsk signal. conversely, excessive bandwidth will degrade spectral purity. where, f dev is the programmed frequency deviation as set in fdevreg br is the physical bit rate of transmission bw 3 f dev br 2 ------- + ?? mrf89xa ds70622b-page 64 preliminary ? 2010 microchip technology inc. 3.3.6 power amplifier 3.3.6.1 rise and fall time control in ook mode, the pa ramp times can be accurately controlled through the parc<1:0> bits (paconreg<4:3>). these bits directly control the slew rate of the pars pin. table 3-2: power amplifier rise/fall times 3.3.7 transmit mode registers the registers associated with transmit mode are: ? gconreg (register 2-1) ? dmodreg (register 2-2) ? fdevreg (register 2-3) ? brsreg (register 2-4) ? r1creg (register 2-7) ? p1creg (register 2-8) ? s1creg (register 2-9) ? r2creg (register 2-10) ? p2creg (register 2-11) ? s2creg (register 2-12) ? pacreg (register 2-13) ? ftxrxireg (register 2-14) ? ftprireg (register 2-15) during the transmit mode of mrf89xa, the shift reg- ister takes bytes from the fifo and outputs them seri- ally (msb first) at the programmed bit rate to the modulator. when the transmitter is enabled, it starts sending out data from the shift register with respect to the set bit rate. after power-up and with the transmit registers enabled, the tran smitter prel oads the fifo with preambles before sending the actual data based on the mode of operation. figure 3-4 illustrates the pa control timing. figure 3-4: pa timing control parc<1:0> t pars t paout (rise / fall) 00 3 s 2.5 / 2 s 01 8.5 s 5 / 3 s 10 15 s 10 / 6 s 11 23 s 20 / 10 s data pars [v] 95% t pars t pars 95% 60 db 60 db pa output power t pa_out t pa_out ? 2010 microchip technology inc. preliminary ds70622b-page 65 mrf89xa 3.4 receiver the mrf89xa is set to receive mode when the cmod<2:0> bits (gconreg<7:5>) are set to ? 011? (see register 2-1). the receiver is based on the superheterodyne architecture. the front-end is composed of an lna and a mixer whose gains are constant. the mixer down-converts the rf signal to an intermediate frequency, which is equal to one-eighth of the lo frequency, which in turn is equal to eight-ninths of the rf frequency. behind this first mixer there is a variable gain if amplifier that can be programmed from maximum gain to 13.5 db in 4.5 db steps with the ifgain<1:0> bits (dmodreg<1:0>). after the variable gain if amplifier, the signal is down-converted into two i and q base-band signals by two quadrature mixers that are fed by reference signals at one-eighth the lo frequency. these i and q signals are then filtered and ampl ified before demodulation. the first filter is a second-order passive r-c filter whose bandwidth can be programmed to 16 values with the pasfilv<3:0> bits (filcreg<7:4>). the second filter can be configured as either a third-order butterworth active filter, which acts as a low-pass filter for the zero-if fsk configuration, or as a polyphase band-pass filter for the low-if ook configuration. to select butterworth low-pass filter operation, the polfilen bit (syncreg<7>) is set to ? 0?. the bandwidth of the bu tterworth filter can be programmed to 16 values by configuring the butfilv<3:0> bits (filcreg<3:0>). the low-if configuration must be used for ook modulation. this configuration is enabled when the polfilen bit (syncreg<7>) is set to ? 1?. the center frequency of the polyphase filter can be programmed to 16 values by setting the polcfv<3:0> bits (pfcreg<7:4>). the bandwidth of the filter can be programmed by configuring the butfilv<3:0> bits (filcreg<3:0>). in ook mode, the value of the low-if is equal to the deviation frequency defined in fdevreg. in addition to the channel filt ering, the function of the polyphase filter is to re ject the image. figure 3-5 illustrates the two configurations of the second if filter. in the butterworth configuration, f cbw is the 3 db cut-off frequency. in the polyphase band-pass configuration, f opp is the center frequency given by the polcfv<3:0> bits (pfcreg<7:4>), and f cpp is the upper 3 db bandwidth of the filter whose offset, referenced to f opp , is given by butfilv<3:0> bits (filcreg<3:0>). 3.4.1 mrf89xa second if filter details figure 3-5: if filters in fsk and ook modes after filtering, the i and q signals are each amplified by a chain of 11 amplifiers having 6 db of gain each. the outputs of these amplifiers and their intermediate 3 db nodes are used to evaluate the received signal strength (rssi). limiters are located behind the 11 amplifiers of the i and q chains and the sig nals at the output of these limiters are used by the fsk demodulator. the rssi output is used by the ook demodulator. the global bandwidth of the entire base-band chain is given by the bandwidths of the passive filter, the butterworth filter, the amplifier chain, and the limiter. the maximum achievable global bandwidth when the bandwidths of the first three blocks are programmed at their upper limit is approximately 350 khz. 3.4.2 lna and first mixer in receive mode, the rfio pin is connected to a fixed gain, common-gate, low noise amplifier (lna). the performance of this amplifie r is such that the noise figure (nf) of the receiver is estimated to be approximately 7 db. 3.4.3 if gain and second i/q mixer following the lna and first down-conversion, there is an if amplifier whose gain can be programmed from -13.5 db to 0 db in 4.5 db steps, through the ifgain<1:0> bits (dmodreg<1:0>). the default setting corresponds to 0 db gain, but lower values can be used to increase the rssi dynamic range. for more information, refer section 3.4.7 ?received signal strength (rssi)? . butterworth low-pass filter for fsk polyphase band-pass filter for ook fcbw f cpp f opp 2 * f opp ? f cpp mrf89xa ds70622b-page 66 preliminary ? 2010 microchip technology inc. 3.4.4 channel filters the second mixer stages are followed by the channel select filters. the channel select filters have a strong influence on the noise bandwidth and selectivity of the receiver and hence its sensitiv ity. each filter comprises a passive and an active section. 3.4.4.1 passive filter each channel select filt er features a passive second-order rc filter, with a bandwidth programmable through the pasfilv<3:0> bits (filcreg<7:4). as the wider of the two filters, it s effect on the sensitivity is negligible, but its bandwidth must be set up to optimize blocking immunity. the value entered into this register sets the single side bandwidth of this filter. for optimum performance it should be set to three to four times the cut-off frequency (fc) of the active butterworth (or polyphase) filter described in section 3.4.4.2 ?active filter? , and as shown in equation 3-8. equation 3-8: 3.4.4.2 active filter the ?fine? channel selection is performed by an active, third-order, butterworth filter, which acts as a low-pass filter for the zero-if config uration (fsk), or a complex polyphase filter for the low- if (ook) configuration. the polfilen bit (syncreg<7>) enables or disables the polyphase filter. figure 3-6 illustrates the required bandwidth of this filter varies between th e two demodulation modes. figure 3-6: active channe l filter description fsk mode : the 99% energy bandwidth of an fsk modulated signal is approximated, as shown in equation 3-9. equation 3-9: the butfilv<3:0> bits from filcreg set the cut-off frequency ( f c ) of the filter. in a ze ro-if configuration, the fsk lobes are centered on t he virtual ?dc? frequency. the choice of f c should be such that the modulated signal falls in the filter bandwidth, anticipating the local oscillator frequency drift over the operating temperature and aging of the device as shown in :equation 3-10 equation 3-10: figure 3-11 illustrates an accurate overview of the filter bandwidth vs. setting. 3 f c butterfilter bw passive,filter 4 f c butterfilter ? ? ? f c low-pass filter for fsk (polfilen = 0) polyphase filter for ook (polfilen = 1) -f c 0 f requency f requency 0 -f c -f o canceled side of the polyphase filter bw 99%,fsk 2 f dev br 2 ------- + ? = 2 f c bw 99%,fsk lo drifts + >? ? 2010 microchip technology inc. preliminary ds70622b-page 67 mrf89xa ook mode : the 99% energy bandwidth of an ook modulated signal is approximated, as shown in equation 3-11. equation 3-11: the polcfv<3:0> bits (pfcreg<7:4>) set f o , the center frequency of the poly phase filter when activated. f o should always be chosen to be equal to the low intermediate frequency of the receiver (if2). that is the reason for low if frequency of the ook receiver denoted by if2 can always be replaced by f o for any calculations or monitoring purposes. the following setting is recommended: f o = 100 khz polcfv<3:0> = 0011. the value stored as butfilv<3:0> bits (filcreg<3:0>) determines f c , the filter cut-off frequency. therefore, f c should be set according to equation 3-12. equation 3-12: again, f c as a function of the butfilv<3:0> bits, is described in section 3.4.6 ?channel filters setting in ook mode? . 3.4.5 channel filters setting in fsk mode f c , the 3db cut-off frequency of the butterworth filter used in fsk reception, is programmed through the butfilv<3:0> bits (filcreg<3:0>). however, the entire receiver chain influences this cut-off frequency. the channel select and resultant filter bandwidths are illustrated in figure 3-7. table 4-2 in section 4.6 ?crystal specification and selection guidelines? suggests filter settings in fsk mode along with the corresponding passive filter band- width and the accepted tolerance on the crystal reference. figure 3-7: actual bw of butterworth filter bw 99%,ook 2 t bit ------- 2 br ? == 2 f c f o ? () ? bw 99%,ook lo drifts + > butterworth filter bw, fsk 0 50 100 150 200 250 300 350 400 450 06 8 1 0 1 2 1 4 val butfilv<3:0> [d] fc (3db cut-off) [khz] 16 actual bw theoretical bw 24 mrf89xa ds70622b-page 68 preliminary ? 2010 microchip technology inc. 3.4.6 channel filters setting in ook mode the center frequency, f o , is always set to 100 khz. the chart in figure 3-8 illustrates the receiver bandwidth when the butfilv<3:0> bits (filcreg<3:0>) are changed when the polyphase filter is activated. table 4-2 in section 4.6 ?crystal specification and selection guidelines? suggests a few filter settings in ook mode along with the corresponding passive filter bandwidth and the accepted tolerance on the crystal reference. 3.4.7 received signal strength (rssi) after filtering, the in-pha se and quadrature signals are amplified by a chain of 11 amplifiers, each with 6db gain. the outputs of thes e amplifiers are used to evaluate the rssi. 3.4.7.1 resolution and accuracy when the rssi resolution is 0.5 db, the absolute accuracy is not expected to be better than 3db due to process and external component variation. higher accuracy while performing absolute rssi measurements will require additional calibration. figure 3-8: actual bw of polyphase filter 3.4.7.2 acquisition time in ook mode, the rssi evaluates the signal strength by sampling i(t) and q(t) signals 16 times in each period of the chosen if2 frequency (refer to section 2.10.1 ?receiver architecture? ). in fsk mode, the signals are sampled 16 times in each f dev period, f dev being the frequency deviation of the companion transmitter. an average is then performed over a sliding window of 16 samples. th erefore, the rssi output register rs tsreg (rssival<7:0>) is updated 16 times in each f dev or if2 period. the following settings are recommended: ? fsk mode: ensure that the f dev parameter (as described in the fdevreg register (register 2-3) through the fdval<7:0> bits) remains consistent with the actual frequency deviation of the companion transmitter. ? ook reception: ensure that the f dev parameter (as described in the fdevreg register (register 2-3) through the fdval<7:0> bits)) is equal with the fre- quency of the i(t) and q(t) signals (that is, the sec- ond intermediate frequency, if2, of the receiver). note that this equals f o , the center frequency of the polyphase filter. polyphase filter's bw, ook 0 50 100 150 200 250 300 350 400 450 048101214 val butfilv<3:0> [d] polcfv<3:0> = 0011 f c - f o with f c = 100 khz [khz] 16 actual bw theoretical bw 26 ? 2010 microchip technology inc. preliminary ds70622b-page 69 mrf89xa 3.4.7.3 dynamic range the dynamic range of the rssi is more than 70 db, extending from the nominal sensitivity level. the if gain, set by the ifgain<1:0> bits (dmodreg<1:0>), is used to achieve this dynamic range. the rssi response versus the input signal is indepen- dent of the receiver filter bandwidth. however, in the absence of any input signal, the minimum value directly reflects upon the noise floor of the receiver, which is dependant on the filter bandwidth of the receiver. figure 3-9 illustrates the rssi dynamic range response. figure 3-9: rssi dynamic range 3.4.7.4 rssi irq source the mrf89xa can be used to detect a rssi level above a preconfigured threshold. the threshold is set using rtival<7:0> bits (rsthireg<7:0>) and the irq status stored in the rirqs bit (ftprireg<2>), which is cleared by writing a ? 1?. an interrupt can be mapped to the irq0 or irq1 pins through the irq0rxs<1:0> and irq1rxs<1:0> bits (ftxrxireg<7:6> and ftxrxireg<5:4>). figure 3-10 illustrates the timing diagram of the rssi interrupt source, with the rtival<7:0> bits (rsthireg<7:0>) set to ? 11100 ?. figure 3-10: rssi irq timings rssi response 0 20 40 60 80 100 120 140 160 180 -120 -100 -80 -60 -40 -20 0 pin [dbm] rssi value (rssival<7:0>) [0.5db/bit] if_gain = 00 if_gain = 01 if_gain = 10 if_gain = 11 rirqs clear interrupt 24 26 27 30 25 20 20 20 18 22 20 22 34 33 33 rssival<7:0> mrf89xa ds70622b-page 70 preliminary ? 2010 microchip technology inc. 3.4.8 f dev setting in receive mode the effect of the f dev setting is different for fsk and ook modes: 3.4.8.1 fsk rx mode in fsk mode, the f dev setting as configured by fdval<7:0> bits (fdevreg<7:0>), sets sampling fre- quencies on the receiver. the user should program the right values to make it consistent wit h the frequency deviation of the fsk signal that is received. 3.4.8.2 ook rx mode the frequency deviation f dev , as described previously, sets the sampling rate of the rssi block. it is therefore necessary to set f dev to the recommended low-if frequency, if2, of 100 khz: f dev = if2 = 100 khz fdval<7:0> = 00000011 3.4.9 fsk demodulator the fsk demodulator provides data polarity informa- tion based on the relative phase of the input i and q sig- nals at the baseband. its outputs can be fed to the bit synchronizer to recover the timing information. the user can use the raw, unsyn chronized, output of the fsk demodulator in continuous mode. the fsk demodulator of the mrf89xa operates effec- tively for fsk signals with a modulation index greater than or equal to two, as shown in equation 3-13. equation 3-13: 3.4.10 ook demodulator the ook demodulator performs a comparison of the rssi output and a threshold value. three different threshold modes are available, which can be pro- grammed through the ooktyp<1:0> bits (dmo- dreg<4:3>). the recommended mode of operation is the ?peak? threshold mode, as illustrated in figure 3-11. in peak threshold mode, the comparison threshold level is the peak value of the rssi, reduced by 6 db. in the absence of an input signal or during the reception of a logical ? 0 ?, the acquired peak value is decremented by one based on the step value of the ookthsv<2:0> bits (ookcreg<7:5>) for every period value based on ookthpv<2:0> bits (ookcreg<4:2>). when the rssi output is null for a long time (for exam- ple, after a long string of zeros is received, or if no transmitter is present), the peak threshold level will continue falling until it reac hes the ?floor threshold? that is programmed through the ftoval<7:0> bits (flthreg<7:0>). the default settings of the ook demodulator lead to the performance stated in section 5.0 ?electrical characteristics? . figure 3-11: ook de modulator overview f dev ? brval ------------------ - 2 = period as defined in ookthpv<2:0> decay in db as defined in ookthsv<2;0> fixed 6db difference rssi (db) noise floor of receiver ''floor'' threshold defined by ftoval<7:0> time ''peak -6 db'' threshold zoom ? 2010 microchip technology inc. preliminary ds70622b-page 71 mrf89xa 3.4.10.1 optimizing the floor threshold the ftoval<7:0> bits (flthreg<7:0>) determine the sensitivity of the ook re ceiver, as it sets the com- parison threshold for weak input signals (that is, those close to the noise floor) . significant sensitivity improvements can be generated if configured correctly. the noise floor of the receiver at the demodulator input depends on the following conditions: ? the noise figure of the receiver ? the gain of the receive chain from antenna to base band ? the matching, including saw filter ? the bandwidth of the channel filters it is therefore important to note that the setting of the ftoval<7:0> bits will be application-dependant. the procedure shown in the flow chart in figure 3-12 is recommended to optimize the ftoval<7:0> bits. the new floor threshold value found during this test should be the value used for ook reception with those receiver settings. note that if the output signal on data is a logic ? 1?, the value due to the ftoval<7:0> bits is below the noise floor of the receiver chain. conversely, if the output sig- nal on data is a logic ? 1 ?, the value due to the ftoval<7:0> bits is several db above the noise floor. figure 3-12: floor threshold optimization set mrf89xa in ook rx mode adjust bit rate, channel filter bw default ookthsv<2:0> setting no input signal continuous mode optimization complete glitch activity on data ? monitor data pin (pin 20) increment ftoval<7:0> yes no mrf89xa ds70622b-page 72 preliminary ? 2010 microchip technology inc. 3.4.10.2 optimizing ook demodulator response for fast fading signals a sudden drop in signal strength can cause the bit error rate to increase. for applications, where the expected signal drop can be estimated, the ook demodulator parameters set by the ookthsv<2:0> and ook- thpv<2:0> bits (ookcreg<7:5> and ookcreg<4:2>) can be optimized. for a given number of threshold decrements per bit, specified by ookthpv<2:0>: ? 000 ? once in each chip period (default) ? 001 ? once in 2 chip periods ? 010 ? once in 4 chip periods ? 011 ? once in 8 chip periods ? 100 ? twice in each chip period ? 101 ? 4 times in each chip period ? 110 ? 8 times in each chip period ? 111 ? 16 times in each chip period for each decrement of value from ookthsv<2:0> bits: ? 000 ? 0.5 db (default) ? 001 ? 1.0 db ? 010 ? 1.5 db ? 011 ? 2.0 db ? 100 ? 3.0 db ? 101 ? 4.0 db ? 110 ? 5.0 db ? 111 ? 6.0 db 3.4.10.3 alternative ook demodulator threshold modes in addition to the peak ook threshold mode, the user can alternatively select other two types of threshold detectors: ? fixed threshold: the value is selected through the ookcreg register (for more information, refer to section 3.4.10.1 ?optimizing the floor thresh- old? ). ? average threshold: data supplied by the rssi block is averaged with the cut-off frequency. in equation 3-14, the higher cut-off frequency enables a sequence of up to eight consecutive ? 0 ?s or ? 1 ?s to be supported, while the lower cut-off frequency presented in equation 3-15 allows for the correct reception of up to 32 consecutive ? 0 ?s or ? 1 ?s. equation 3-14: equation 3-15: ookathc<1:0> 00 f cutoff brval<6:0> 8 ? --------------------------------- - = ? = ookathc<1:0> 11 f cutoff brval<6:0> 32 ? --------------------------------- - = ? = ? 2010 microchip technology inc. preliminary ds70622b-page 73 mrf89xa 3.4.11 bit synchronizer the bit synchronizer (bitsync) block provides a clean and synchronized digital output that is free of glitches. figure 3-13 illustrates the bitsync block output when a raw demodulator fsk or ook output is fed to it. figure 3-13: bitsync block output signals the bitsync can be disabled by setting the bsyncen bit (syncreg<6>) to ? 1 ? and by holding the irq1 pin (pin 22) low. however, for optimum receiver perfor- mance, it has to be used when the device is running in continuous mode. with this option a dclk signal is present on the irq1 pin. the bitsync is automatically activated in buffered and packet modes. the bit synch ronizer bit-rate is con- trolled by the brval<6:0> bits (brsreg<6:0>). for a given bit rate, this pa rameter is determined by equation 3-16. equation 3-16: for proper operation, the bit synchronizer must first receive three bytes of alternating logic value preamble, (that is, ? 0101 ? sequences). after this start-up phase, the rising edge of the dclk signal is centered on the demodulated bit. subsequent data transitions will preserve this centering. this has two implications: ? if the bit rates of transmitter and receiver are known to be the same, the mrf89xa will be able to receive an infinite unbalanced sequence (all ? 0 ?s or all ?1 ?s) with no restriction. ? if there is a difference in bit rate between tx and rx, the amount of adjacent bits at the same level that the bitsync can wit hstand. it can be esti- mated as given in equation 3-17. equation 3-17: this implies approximately six consecutive unbalanced bytes when the bit rate precision is 1%, which is easily achievable (crystal tolerance is or should be at least in the range of 50 to 100 ppm). 3.4.12 alternative settings for bitsync and active filter bit synchronizer and active channel filter settings are a function of the reference oscillator crystal frequency, f xtal . settings other than t hose programmable with a 12.8 mhz crystal can be obtained by selecting the cor- rect reference oscillator frequency. raw demodulator output (fsk or ook) dclk irq1 data bitsync output to data pin and dclk i n continuous mode br f xtal 64 1 1 brval<6:0> + [] + ? --------------------------------------------------------------------- - = numberofbits 1 2 -- - br br ----------- ? = mrf89xa ds70622b-page 74 preliminary ? 2010 microchip technology inc. 3.4.13 data output after ook or fsk demodulation, the baseband signal is made available to the user on the data pin (pin 20), when continuous mode is selected. in buffered and packet modes, the data is retrieved from the fifo through the spi. during receive mode, the received data is filled into the shift register and then transferred onto the fifo stack. the fifo is configured to generate an interrupt after receiving a defined number of bits. when the internal fifo is enabled, the fifo interrupt, which is configured through the irq0 and irq1 pins (pin 21 and 22), acts as a fifofull interrupt, indicating that the fifo has been filled to its preprogrammed limit. the receiver starts filling the fifo with data when it id entifies the synchronous pattern through the synchronous pattern recognition circuit. it is recommended to set the threshold to at least half the length of the register (8 bits) to ensure that the external host microcontroller has time to set up. the synchronous pattern recognition circuit prevents the fifo from being filled up with noise, and therefore avoids overloading the external host microcontroller. 3.4.14 receive mode registers the registers associated with receive mode are: ? gconreg (register 2-1) ? dmodreg (register 2-2) ? fdevreg (register 2-3) ? brsreg (register 2-4) ? flthreg (register 2-5) ? fifocreg (register 2-6) ? ftxrxireg (register 2-14) ? ftprireg (register 2-14) ? rsthireg (register 2-16) ? filcreg (register 2-17) ? pfcreg (register 2-18) ? syncreg (register 2-19) ? rstsreg (register 2-21) ? ookcreg (register 2-22) ? syncv31reg (register 2-23) ? syncv23reg (register 2-24) ? syncv15reg (register 2-25) ? syncv07reg (register 2-26) 3.5 control block description 3.5.1 spi interface for more information on standard spi between the mrf89xa and a microcontroller, refer to section 2.11 ?serial peripheral interface (spi)? . 3.5.2 spi registers the registers associated wi th spi communication are: ? gconreg (register 2-1) ? dmodreg (register 2-2) ? fdevreg (register 2-3) ? brsreg (register 2-4) 3.6 fifo handling the hardware description of the fifo is described in section 2.12 ?fifo and shift register (sr)? . the fifo is handled by selecting the size of the fifo, fifo interrupts, and clearing the fifo. 3.6.1 size selection the fifo width is programmable to 16, 32, 48 or 64 bytes using the fsize<1:0> bits (fifocreg<7:6>). 3.6.2 interrupt sources and flags the mrf89xa generates an interrupt request for the host microcontroller by pulling the irq0 or irq1 pins low or high based on the events and configuration set- tings of these interrupts. all interrupt sources and flags are configured through the interrupt configuration reg- isters, based on the occurrence of the following events: ? interrupt requests (irq0 and irq1) during differ- ent receive stand-by data modes (such as contin- uous, buffer and packet) for following event occurrences: sync, rssi, plready, ards- match and /fifoempty. for example, write byte. the writebyte inter- rupt source goes high for one bit period each time a new byte is transferred from the shift register to the fifo (that is, each time a new byte is received). ? interrupt requests (irq0 and irq1) during trans- mit modes (such as continuous, buffer and packet) for the following event occurrences: data clock, fifofull, transmit done, transmit start with irq0 and irq1. for example, tx done. the txdone interrupt source goes high when the fifo is empty and the shift register?s last bit has been sent to the modu- lator (that is, the last bit of the packet has been sent). one bit period delay is required after the ris- ing edge of txdone to ensure correct rf trans- mission of the last bit. in practice this may not require special care in the mcu software due to irq processing time. ? 2010 microchip technology inc. preliminary ds70622b-page 75 mrf89xa ? interrupt requests (irq0 and irq1) during fifo operations include: - fifo full: fifofull interrupt source is high when the last fifo byte (that is, the entire fifo) is full; otherwise it is low. - fifo overrun clear: fovrrun flag is set when a new byte is written by the user (in tx or stand-by modes) or the shift register (in rx mode) while the fifo is full. data is lost and the flag should be cleared by writing a ? 1? (note that the fifo will be cleared). - fifo empty: fifoempty interrupt source is low when byte 0 (that is, whole fifo) is empty; otherwise, it is high. - fifo threshold: fifo_threshold interrupt source?s behavior depends on the running mode (tx, rx or stand-by modes) and the threshold itself can be programmed through the fifocreg (b value). this behavior is illustrated in figure 3-14. figure 3-14: threshold irq source behavior all the other interrupts through rssi, sync, payload, writebyte, dclk, pll lock are handled through either of these interrupts discussed prior. 3.6.3 fifo clearing table 3-3 below summarizes the status of the fifo when switching between different modes. table 3-3: status of fifo when switching between different modes of the chip 3.6.4 fifo and interrupt registers the registers associated wit h fifo and interrupts are: ? gconreg (register 2-1) ? dmodreg (register 2-2) ? fdevreg (register 2-3) ? brsreg (register 2-4) ? flthreg (register 2-5) ? fifocreg (register 2-6) ? ftxrxireg (register 2-14) ? ftprireg (register 2-15) ? rsthireg (register 2-16) ? filcreg (register 2-17) ? pfcreg (register 2-18) ? syncreg (register 2-19) ? rstsreg (register 2-21) ? ookcreg (register 2-22) ? fcrcreg (register 2-32) note: when retrieving data from the fifo, fifoempty is updated on csdat falling edge (that is, when fifoempty is updated to low state the currently started read operation must be completed). in other words, the fifoempty state must be checked after each read operation for a decision on the next one (fifoempty = 1 : more byte(s) to read; fifoempty = 0: no more bytes to read). number of irq source 0 1 b b+1 b+2 tx rx and stand-by bytes in fifo from to fifo status comments stand-by tx cleared in buffered mode, fifo cannot be written in stand-by before tx not cleared in packet mode, fifo can be written in stand-by before tx stand-by rx cleared rx tx cleared rx stand-by not cleared in packet and buffered modes, fifo can be read in stand-by after rx tx rx cleared tx stand-by not cleared any sleep cleared mrf89xa ds70622b-page 76 preliminary ? 2010 microchip technology inc. 3.7 sync word recognition sync word recognition (also called pattern recognition) is activated by setting the syncren bit (syn- creg<5>). the bit synchronizer must be activated. the block behaves like a shift register; it continuously compares the incoming data with its internally pro- grammed sync word and asserts the sync irq source on each occasion that a match is detected. this is illus- trated in figure 3-15. during the comparison of the demodulated data, the first bit received is compared with bit 7 (msb) of the byte at address 22 and the last bit received is com- pared with bit 0 (lsb) of the last byte whose address is determined by the length of the sync word. when the programmed sync word is detected the user can assume that this incoming packet is for the node and can be processed accordingly. 3.7.1 configuration size: sync word size can be set to 8, 16, 24 or 32 bits through the syncwsz<1:0> bits (syncreg<5:4>). in packet mode this field is also used for sync word generation in tx mode. error tolerance: the number of errors tolerated in the sync word recognition can be set to 0, 1, 2 or 3 through the syncten<1:0> bi ts (syncreg<2:1>). value: the sync word value is configured in the sync word parameters in the related configuration regis- ters. in packet mode this field is also used for sync word generation in tx mode. 3.7.2 packet handler the packet handler is the block used in packet mode. its functionality is described in section 3.11 ?packet mode ? . 3.7.3 control the control block configures and controls the behavior of the mrf89xa according to the settings programmed in the configuration registers. 3.7.4 sync registers the registers associated with sync are: ? gconreg (register 2-1) ? dmodreg (register 2-2) ? fdevreg (register 2-3) ? brsreg (register 2-4) ? flthreg (register 2-5) ? fifocreg (register 2-6) ? ftxrxireg (register 2-14) ? ftprireg (register 2-15) ? rsthireg (register 2-16) ? filcreg (register 2-17) ? pfcreg (register 2-18) ? syncreg (register 2-19) ? rstsreg (register 2-21) ? ookcreg (register 2-22) ? syncv31reg (register 2-23) ? syncv23reg (register 2-24) figure 3-15: sync word recognition rx data (nrz) dclk bit n-x = ssyncval ? 2010 microchip technology inc. preliminary ds70622b-page 77 mrf89xa 3.8 data processing 3.8.1 data processing block diagram the mrf89xa data processing blocks are as illustrated in the figure 3-16. its role is to interface the data to/from the modulator/demodulator and the host microcontroller access points (spi, interrupts (irq0 and irq1), data pins). it also controls all the configu- ration registers. the circuit contains severa l control blocks which are described in the following paragraphs. the mrf89xa implements several data operation modes, each with their own data path through the data processing section. depending on the data operation mode selected, some control blocks are active while others remain disabled. 3.8.2 data operation modes the mrf89xa has three different data operation modes which can be selected by the user or programmer: ? continuous mode: each bit transmitted or received is accessed in real time at the data pin. this mode may be used if adequate external sig- nal processing is available. ? buffered mode: each byte transmitted or received is stored in a fifo and accessed through the spi bus. the host microcontroller processing over- head reduced significantly compared to continu- ous mode operation. the packet length is unlimited. ? packet mode (recommended): user only pro- vides/retrieves payload bytes to/from the fifo. the packet is automatically built with preamble, sync word, and optional crc, dc free encoding and the reverse operation is performed in recep- tion. the host microcontroller processing over- head is further reduced compared to buffered mode. the maximum payload length is limited to the maximum fifo limit of 64 bytes. figure 3-16: mrf89xa dat a processing block diagram table 3-4: data operation mode selection data operation mode dmode1 dmode0 register continuous 00 ftxrxireg buffered 01 ftxrxireg packet 1x ftxrxireg control data config spi packet handler sync recognition data irq0 irq1 sdo sdi sck csdat rx tx tx/rx data mrf89xa fifo (+sr) mrf89xa ds70622b-page 78 preliminary ? 2010 microchip technology inc. 3.9 continuous mode in continuous mode, the nrz data to/from the modulator/demodulator is accessed by the host microcontroller on the bidirectional data pin (pin 20). the spi data, fifo, and packet handler are therefore inactive. figure 3-17 illustrates the continuous mode of operation. figure 3-17: continuous mode block diagram figure 3-18: tx processing in continuous mode 3.9.1 tx processing in tx mode, a synchronous data clock for a host microcontroller is provided on the irq1 pin (pin 22). its timing with respect to the data is illustrated in figure 3-18. data is internally sampled on the rising edge of dclk so the microcontroller can change the logic state anytime outside the setup/hold time zone. the setup and hold times are shown in gray in the figure 3-18. the use of dclk is compulsory in fsk and optional in ook. 3.9.2 rx processing if the bit synchronizer is disabled, the raw demodulator output is made directly available on the data pin and no dclk signal is provided. conversely, if the bit synch ronizer is enabled, synchro- nous cleaned data and clock are made available respectively on the data and irq1 pins (pin 20 and 22). data is sampled on the rising edge of dclk and updated on the falling edge as shown in figure 3-19. control config spi sync recognition data irq1 (dclk) sdo sdi sck cscon rx tx/rx irq0 datapath mrf89xa data data (nrz) dclk t_data t_data ? 2010 microchip technology inc. preliminary ds70622b-page 79 mrf89xa figure 3-19: rx processing in continuous mode 3.9.3 interrupt signals mapping the following table give the description of the interrupts available in continuous mode. table 3-5: interrupt mapping in continuous rx mode table 3-6: interrupt mapping in continuous tx mode data (nrz) dclk note: in continuous mode, it is always recom- mended to enable the bit synchronizer to clean the data signal even if the dclk signal is not used by the microcontroller (bit synchronizer is automatically enabled in buffered and packet mode). interrupt name interrupts data mode interrupt type interrupt source irq0rxs<1:0> 00 (default) irq0 continuous output sync pattern 01 irq0 continuous output rssi 10 irq0 continuous output ? 11 irq0 continuous output ? irq1rxs<1:0> 00 (default) irq1 continuous output dclk 01 irq1 continuous output dclk 10 irq1 continuous output dclk 11 irq1 continuous output dclk note 1: in continuous mode, no interrupt is available in stand-by mode. 2: see also the dmode1:dmode0 bits in the ftxrxireg and ftprireg registers. interrupt name interr upts data mode interrupt type interrupt source irq0txst 0 (default) irq0 continuous output ? 1 irq0 continuous output ? irq1tx 0 (default) irq1 continuous output dclk 1 irq1 continuous output dclk note 1: in continuous mode, no interrupt is available in stand-by mode. 2: also refer the dmode1 :dmode0 bits in the ftxrxireg an d ftprireg registers for details. mrf89xa ds70622b-page 80 preliminary ? 2010 microchip technology inc. 3.9.4 host microcontroller interface/required connections note that some connections may not be needed depending on the application: ? irq0: if sync and rssi in terrupts are not used. in this case, leave the pin floating. ? irq1: if the device is never used in tx fsk mode (dclk connection is not compulsory in rx and tx ook modes). in this case, leave the pin floating. ? sdo: if no read register access is needed. in this case, pull-up to v dd through a 100 k ? resistor. figure 3-20: host mcu connections in continuous mode 3.9.5 continuous mode example the data processing related registers are appropriately configured as listed table 3-7. in this example we assume that both bit syn chronizer and sync word recognition are on. tx mode: 1. go to tx mode (and wait for tx to be ready, see figure 5-3). 2. send all packet bits on the data pin synchronously with the dclk signal provided on irq1. 3. go to sleep mode. rx mode: 1. program rx interrupts: irq0 mapped to sync (irq0rxs<1:0> = 00 ) and irq1 mapped to dclk (bit synchronizer enabled). 2. go to rx mode (note that rx is not ready immediately, see figure 5-2). 3. wait for sync interrupt. 4. get all packet bits on the data pin synchronously with the dclk signal provided on irq1. 5. go to sleep mode. 3.9.6 continuous mode registers the registers associated with continuous mode are: ? gconreg (register 2-1) ? dmodreg (register 2-2) ? fdevreg (register 2-3) ? brsreg (register 2-4) ? flthreg (register 2-5) ? fifocreg (register 2-6) ? ftxrxireg (register 2-14) ? ftprireg (register 2-15) ? rsthireg (register 2-16) ? filcreg (register 2-17) ? pfcreg (register 2-18) ? syncreg (register 2-19) ? rstsreg (register 2-21) ? ookcreg (register 2-22) ? syncv31reg (register 2-23) ? syncv23reg (register 2-24) ? syncv15reg (register 2-25) ? syncv07reg (register 2-26) table 3-7: configuration registers rela ted to data processing (only) in continuous mode note: the csdat pin (pin15), which is unused in continuous mode, should be pulled-up to v dd through a 100 k ? resistor. table 2-4, details the mrf89xa pin con- figuration and chip mode. pic ? mrf89xa irq0 irq1 (dclk) data cscon sck sdi sdo microcontroller register name register bits tx rx description dmodreg dmode0, dmode1 x x defines data operation mode ( ? continuous) ftxrxireg irq0rxs<1:0> x defines irq0 source in rx mode syncreg syncren x enables sync word recognition syncreg syncwsz<1:0> x defines sync word size syncreg syncten<1:0> x defines the error tolerance on sync word recognition syncv31reg syncv<31:24> x defines sync word value syncv23reg syncv<23:16> x defines sync word value syncv15reg syncv<15:8> x defines sync word value syncv07reg syncv<7:0> x defines sync word value ? 2010 microchip technology inc. preliminary ds70622b-page 81 mrf89xa 3.10 buffered mode in buffered mode operation the nrz data to/from the (de)modulator is not directly accessed by the host microcontroller but is stored in the fifo and accessed via the spi data interface. this frees the host microcontroller for othe r tasks between processing data from the mrf89xa. furthermore, it simplifies software development overhead and reduces microcontroller performance requirements (i.e., speed, response). note that in this mode the packet handler stays inactive. the interface for buffer mode is shown in figure 3-21. an important feature is also the ability to empty the fifo in stand-by mode, ensuring low power consumption and adding greater software flexibility. 3.10.1 tx processing after entering tx in buffered mode, the mrf89xa expects the host microcontroller to write to the fifo, through the spi data interface, all the data bytes to be transmitted (preamble, sync word, payload). actual transmission of the first byte will start either when the fifo is not empty (that is, first byte written by the host microcontroller) or when the fifo is full depending on the irq0txst bit (ftprireg<4>) set- ting. in buffered mode the packet length is not limited, as long as there are bytes inside the fifo to be sent. when the last byte is transferred to the sr, the fifoempty irq source is issued to interrupt the host microcontroller, at that time the fifo can still be filled with additional bytes if required. when the last bit of the last byte has left the shift reg- ister (sr) (that is, eight bit periods later), the txdone interrupt source is issued and the user can exit tx mode after waiting at least one bit period from the last bit processed by the modulator. if the transmitter is switched off during transmission (for example, for entering another chip mode) , it will stop immediately, even if there is still unsent data. figure 3-21: buffered mode block diagram note: in this case bit synchronizer is automati- cally enabled in buffered mode. the sync word recognition must be enabled (syncren = 1 ) independently of the fifo filling method selected (fifofm). control fifo (+sr) data config spi sync recognition irq0 irq1 sdo sdi sck csdat cscon rx tx datapath mrf89xa data mrf89xa ds70622b-page 82 preliminary ? 2010 microchip technology inc. figure 3-22: tx processing in buffered mode (fsize = 16, txstirq0 = 0)) 3.10.2 rx processing after entering rx in buffered mode, the mrf89xa requires the host microcontroller to get received data from the fifo. the fifo will start being filled with received bytes either when a sync word has been detected (in this case only the bytes following the sync word are filled into the fi fo) or when the fifofsc bit (fpprireg<6>) is issued by the user depending on the state of bit, fifofm (ftprireg<7>). in buffered mode, the packet length is not limited that is, as long as fifofsc is set the received bytes are shifted into the fifo. the host microcontroller so ftware must therefore man- age the transfer of the fifo contents by interrupt and ensure reception of the correc t number of bytes. in this mode, even if the remote transmitter has stopped, the demodulator will output random bits due to noise. when the fifo is full, the fifofull irq (source) is issued to alert the host microcontroller that at that time, the fifo can still be unfilled without data loss. if the fifo is not unfilled, after the sr is full (that is, eight bits periods later) fovrrun is asserted and the sr?s con- tent is lost. figure 3-23 illustrates rx processing with a 16 byte fifo size and fifofsc = 0 . note that in the example of section 3.10.5 ?buffered mode example? , the host microcontroller does not retrieve any bytes from the fifo through spi data in terface, causing an over- run. figure 3-23: rx processing in buffere d mode (fsize = 16, fifofm = 0) b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b14 b15 b12 b13 b0 b1 fifo 0 15 data tx (from sr) start condition irq0txst fifoempty fifofull txdone b5 b2 b3 b4 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15 xxx xxx from spi data b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b14 b15 b12 b13 b16 sync preamble ?noisy? data b0 b1 b5 b2 b3 b4 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15 0 15 data rx (to sr) start condition (fifofm) fifoempty fifofull fovrrun writebyte fifo ? 2010 microchip technology inc. preliminary ds70622b-page 83 mrf89xa 3.10.3 interrupt signals mapping table 3-8 and table 3-9 describes the interrupts avail- able in buffered mode. table 3-8: interrupt mapping in buffered rx and stand-by mode table 3-9: interrupt mapping in buffered tx mode 3.10.4 host microcontroller connections in buffered mode depending on the application, some host microcontroller connections may not be required: ? irq0: if none of the relevant irq sources are used. in this case, leave the pin floating. ? irq1: if none of the relevant irq sources are used. in this case, leave the pin floating. ? sdo: if no read register access is needed and the device is used in tx mode only. in this case, pull up to v dd through a 100 k ? resistor. figure 3-24: host mcu connections in buffered mode 3.10.5 buffered mode example the data processing related registers are appropriately configured as listed in tabl e 3-10. in this example we assume sync word recognition is on and fifofm = 0. interrupt name interrupts d ata mode interrupt type rx interrupt source stand-by interrupt source irq0rxs<1:0> 00 (default) irq0 buffered output ? ? 01 irq0 buffered output writebyte ? 10 irq0 buffered output fif oempty fif oempty 11 irq0 buffered output sync pattern ? irq1rxs<1:0> 00 (default) irq1 buffered output ? ? 01 irq1 buffered output fifofull fifofull 10 irq1 buffered output rssi ? 11 irq1 buffered output fifo_threshold fifo_threshold note: also refer the dmode1 and dmod e0 bits in the ftxrxireg and ftprireg registers for details. interrupt name interrupts data mo de interrupt type interrupt source irq0txst 0 (default) irq0 buffered output fif oempty 1 irq0 buffered output fifoempty irq1tx 0 (default) irq1 buffered output fifofull 1 irq1 buffered output txdone note: also refer the dmode1 and dmod e0 bits in the ftxrxireg and ftprireg registers for details. note: the data pin (pin 20), which is unused in buffered mode, should be pulled-up to v dd through a 100 k ? resistor. table 2-4, provides details about the mrf89xa pin configuration and chip mode. pic ? mrf89xa irq0 irq1 cscon sck sdi sdo csdat microcontroller mrf89xa ds70622b-page 84 preliminary ? 2010 microchip technology inc. table 3-10: configuration registers rela ted to data processing (only) in buffered mode tx mode : 1. program tx start condition and irqs: start tx when fifo is not empty (irq0txst = 1) and irq1 mapped to txdone (irq1tx = 1). 2. go to tx mode (and wait for tx to be ready, see figure 5-3). 3. write packet bytes into fifo. tx starts when the first byte is written (irq0txst = 1 ). assump- tion: the fifo is being filled through the spi data faster than being unfilled by sr. 4. wait for txdone interrupt (+ 1 bit period). 5. go to sleep mode. rx mode: 1. program rx/stand-by interrupts: irq0 mapped to fif oempty (irq0rxs<1:0> = 10 ) and irq1 mapped to fifo threshold (irq1rxs<1:0> = 11 ). configure fifo thresh- old to an appropriate value (for example, to detect packet end, if its length is known). 2. go to rx mode (note that rx is not ready imme- diately, see section 5.3.1 ?optimized receive cycle? for more information). 3. wait for fifo threshold interrupt (i.e., sync word has been detected and fifo has filled up to the defined threshold). 4. if it is packet end, go to stand-by (sr?s content is lost). 5. read packet byte from fifo until fif oempty goes low (or correct number of bytes is read). 6. go to sleep mode. register name register bits tx rx description dmodreg dmode0, dmode1 x x defi nes data operation mode ( ? buffered) fifocreg fsize<1:0> x x defines fifo size fifocreg ftint<5:0> x x def ines fifo threshold ftxrxireg irq0rxs<1:0> x defines irq0 source in rx mode ftxrxireg irq1rxs<1:0> x defines irq1 source in rx mode ftxrxireg irq1tx x defines irq1 source in tx mode ftprireg irq0txst x defines irq0 source in tx mode ftprireg fifofm x defines fifo filling method ftprireg fifofsc x contro ls fifo filling status syncreg syncren x enables sync word recognition syncreg syncwsz<1:0> x defines sync word size syncreg syncten<1:0> x defines the error tolerance on sync word recognition syncv31reg syncv<31:24> x defines sync word value syncv23reg syncv<23:16> x defines sync word value syncv15reg syncv<15:8> x defines sync word value syncv07reg syncv<7:0> x defines sync word value ? 2010 microchip technology inc. preliminary ds70622b-page 85 mrf89xa 3.11 packet mode similar to buffered mode operation, in packet mode the nrz data to/from the (de)modulator is not directly accessed by the host microcontroller but is stored in the fifo and accessed through the spi data interface. the mrf89xa?s packet handler also performs several packet oriented tasks such as preamble and sync word generation, crc calculation/check, dc scram- bling (whitening/dewhit ening of data), address filtering. this simplifies the software still further and reduces microcontroller overhead by performing these repetitive tasks within the mrf89xa itself. another important feature is the ability to fill and empty the fifo in stand-by mode, ensuring optimum power consumption and adding more flexibility for the soft- ware. figure 3-25 shows the interface diagram during packet mode. figure 3-25: packet mode block diagram note: bit synchronizer and sync word recogni- tion are automatically enabled in packet mode. control data config spi packet handler sync recog. irq0 irq1 sdo sdi sck csdat rx tx datapath mrf89xa data fifo (+sr) /cscon mrf89xa ds70622b-page 86 preliminary ? 2010 microchip technology inc. 3.11.0.1 packet format two packet formats are sup ported: fixed length and variable length, which are selected by the pktlenf bit (pktcreg<7>). the maximum size of the payload is limited by the size of the fifo selected (16, 32, 48 or 64 bytes). 3.11.0.2 fixed length packet format in applications where the packet length is fixed in advance, this mode of operation may be useful to min- imize rf overhead (no length byte field is required). all nodes, whether tx only, rx only, or tx/rx will be programmed with the same packet length value. the length of the payload is set by the pldplen<6:0> bits (ploadreg<6:0) and is limited by the size of the fifo selected. the length stor ed in this register relates only to the payload, which includes the message and the optional address byte. in this mode, the payload must contain at least one byte (that is, address or message). a fixed length packet frame format is illustrated in figure 3-26, which contains the following fields: ? preamble (1010...) ? sync word (network id) ? optional address byte (node id) ? message data ? optional 2-byte s crc checksum figure 3-26: fixed length packet format message 0 to (fifo size) bytes address byte crc 2-bytes sync word 1 to 4 bytes preamble 1 to 4 bytes payload/fifo crc checksum calculation fields added by the packet handler in tx and processed and removed in rx optional user provided fields which are part of the payload message part of the payload optional dc free data coding ? 2010 microchip technology inc. preliminary ds70622b-page 87 mrf89xa 3.11.0.3 variable length packet format this mode is necessary in applications where the length of the packet is not known in advance and can vary over time. it is then necessary for the transmitter to send the length information together with each packet in order for the receiver to operate properly. in this mode the length of the payload, indicated by the length byte in figure 3-27, is given by the first byte of the fifo and is limited only by the width of the fifo selected. in this mode, the payload must contain at least 2 bytes (that is, length plus address or message byte). a variable length packet frame format is illustrated in figure 3-27, which contains the following fields: ? preamble (1010...) ? sync word (network id) ? length byte ? optional address byte (node id) ? message data ? optional 2-byte s crc checksum figure 3-27: variable length packet format note: the length byte is not included in the crc calculation. message 0 to (fifo size - 1) bytes address byte length byte crc 2-bytes sync word 1 to 4 bytes preamble 1 to 4 bytes payload/fifo crc checksum calculation fields added by the packet handler in tx and processed and removed in rx optional user provided fields which are part of the payload message part of the payload optional dc free data coding length mrf89xa ds70622b-page 88 preliminary ? 2010 microchip technology inc. 3.11.1 tx processing in tx mode, the packet handler dynamically builds the packet by performing the following operations on the payload available in the fifo: ? add a programmable number of preamble bytes ? add a programmable sync word ? optionally calculating crc over complete pay- load field (optional length byte plus optional address byte plus message) and appending the 2 bytes checksum. ? optional dc-free encoding of the data (manchester or whitening). only the payload (including optional address and length fields) is to be provided by the user in the fifo. assuming that the device is in tx mode, and then depending on the setting of the irq0txst bit (ftpri- reg<4>), packet transmission (starting with pro- grammed preamble) will start either after the first byte is written into the fifo (irq0txst = 1 ) or after the number of bytes written reaches the user defined threshold (irq0txst = 0 ). the fifo can be fully or partially filled in stand-by mode through the frwaxs bit (fcrcreg<6>). in this case, the start condition will only be checked when entering tx mode. at the end of the transmission (txdone = 1 ), the user must explicitly exit tx mo de if required (for example, back to stand-by mode). while in tx mode, before and after packet transmis- sion (not enough bytes or tx done), additional pream- ble bytes are sent to the modulator. when the start condition is met, the current additional preamble byte is completely sent before the transmission of the next packet (that is, programmed preamble) is started. 3.11.2 rx processing in rx mode the packet handler extracts the user payload to the fifo by performing the following operations: ? receiving the preamble and stripping off the preamble ? detecting the sync word and stripping off the sync word ? optional dc-free decoding of data ? optionally checking the address byte ? optionally checking crc and reflecting the result on the stscrcen bit (pktreg<0>) and crcok from irq source (for more information, refer to register 2-14). only the payload (including optional address and length fields) is made available in the fifo. plready and crcok interrupt s (the latter only if crc is enabled) can be generated to indicate the end of the packet reception (for more information, refer to register 2-14). by default, if the crc check is enabled and fails for the current packet, the fifo is automatically cleared and neither of the two interrupts is generated and new packet reception is started. this autoclear function can be disabled via the acfcrc bit (fcrcreg<7>) and, in this case, even if crc fails, the fifo is not cleared and only the plready irq source is issued. once fully received, the payload can also be fully or partially retrieved in stand-by mode from the frwaxs bit. at the end of the rece ption, although the fifo auto- matically stops being filled, it is still up to the user to explicitly exit rx mode if required (for example, go to stand-by mode to get payload). the fifo must be empty for a new packet reception to start. 3.11.3 packet filtering mrf89xa packet handler offers several mechanisms for packet filtering ensuring that only useful packets are made available to the host microcontroller, significantly reducing system power c onsumption and software complexity. 3.11.3.1 sync word-based sync word filtering or recognition is enabled in packet mode. it is used for identifying the start of the payload and also for network identific ation. as described earlier, the sync word recognition block is configured (with size, error tolerance, value) from the syncren, syn- cwsz, syncten, syncv31-0 bits in the syncreg, syncv31reg, syncv23reg, syncv15reg and syncv07reg configuration r egisters. this informa- tion is used for appending sync word in tx and filtering packets in rx. every received packet that does not start with this locally configured sync word is automatically discarded and no interrupt is generated. when the sync word is detected, payload reception automatically starts and the sync irq source is issued. 3.11.3.2 length based in variable length packe t mode, the pldplen<6:0> bits (ploadreg<6:0>) must be programmed with the maximum length permitted. if the received length byte is smaller than this maximum, the packet is accepted and processed; otherwi se, it is discarded. to disable this function the user should set the value of the pldplen<6:0> bits to the value of the fifo size selected. note: the received length byte, as part of the payload, is not stripped off the packet and is made available in the fifo. ? 2010 microchip technology inc. preliminary ds70622b-page 89 mrf89xa 3.11.3.3 address based address filtering can be enabled through the addfil<1:0> bits (pktcreg<2:1>). it adds another level of filtering above sync word, which is typically useful in multi-node netw orks where a network id is shared between all nodes (sync word) and each node has its own id (address). three address based filterin g options are available: ? addfil = 01 : received address field is com- pared with the internal register, naddsreg. if they match, the packet is accepted and processed; otherwise, it is discarded. ? addfil = 10 : received address field is com- pared with the internal register, naddsreg, and the constant 0x00. if ei ther is a match, the received packet is accepted and processed; oth- erwise, it is discarded. this additional check with a constant is useful for implementing broadcast in multi-node networks. ? addfil = 11 : received address field is com- pared with the internal register, naddsreg, and the constants 0x00 and 0xff. if any of the three matches, the received packet is accepted and processed, otherwise it is discarded. these addi- tional checks with constants are useful for implementing broadcast commands of all nodes. here the received address byte, as part of the pay- load, is not stripped off the packet and is made available in the fifo. in addition, naddsreg and addfil<1:0> bits from pktcreg only apply to rx. on tx side, if a ddress filtering is expected, the address byte should be put into the fifo like any other byte of the payload. 3.11.3.4 crc-based the crc check is enabled by setting the chkcrcen bit (pktcreg<3>). this bit is used for checking the integrity of the message. a 16-bit crc checksum is calculated on the payload part of the packet and is appended to the end of the transmitted message. the crc checksum is calculated on the received payload and compared to the transmi tted crc. the result of the comparison is stored in the stscrcen bit (pktcreg<0> and an interrupt can also be generated on irq1. ? on the tx side a two byte crc checksum is cal- culated on the payload part of the packet and appended to the end of the message. ? on the rx side the che cksum is calculated on the received payload and compared with the two checksum bytes received. the result of the com- parison is stored in the stscrcen bit from and the crcok irq source (refer to register 2-14 for details). by default, if the crc check fails, the fifo is automat- ically cleared and no interrupt is generated. this filter- ing function can be disabled through the acfcrc bit (fcrcreg<7>) and in this case, even if crc fails, the fifo is not cleared and only the plready (for more information, refer to register 2-14) interrupt goes high. in both the cases, the two crc checksum bytes are stripped off by the packet handler and only the payload is made available in the fifo. the crc is based on the ccitt polynomial as illus- trated in figure 3-28. this implementation also detects errors due to leading and trailing zeros. figure 3-28: crc poly nomial implementation x 14 x 13 x 12 x 11 x 5 x 0 x 15 crc polynomial =x 16 + x 12 + x 5 + 1 * * * x 4 * * * data input mrf89xa ds70622b-page 90 preliminary ? 2010 microchip technology inc. 3.11.4 dc-free data mechanisms the payload to be transmitted may contain long sequences of ? 1 ?s and ? 0 ?s, which introduces a dc bias in the transmitted signal, causing a non-uniform power distribution spectrum. the radio signal produced has a non-uniform power distribution over the occupied chan- nel bandwidth. these sequences would also degrade the performance of the demodulation and data and clock recovery functions in the receiver, which basically introduces data dependencies in the normal operation of the demodulator. system performance can be enhanced if the payload bits are randomized to reduce dc biases and increase the nu mber of bit transitions. therefore, it is useful if the transmitted data is random and dc-free. to handle such instances, two techniques are available in the packet handler: manchester encoding and data whitening. however, only one of the two methods should be enabled at a time. 3.11.4.1 manchester encoding manchester encoding/decodin g is enabled by setting the mchstren bit (ploadreg<7>) and can be used in packet mode only. the nrz data is converted to manchester code by coding ? 1 ? as ?10 ? and ? 0 ? as ?01 ?. figure 3-29 illustrates manchester encoding. nrz data is converted to manchester by encoding 1 bits as 10 chip sequences, and 0 bits as 01 chip sequences. manchester encoding guarantees dc-balance and frequent data transitions in the encoded data. the maximum manchester chip rate corresponds to the maximum bit rate given in the transmitter electrical specifications in table 5-6. in this case, the maximum ch ip rate is the maximum bit rate given in the specificat ions section and the actual bit rate is half the chip rate. manchester encoding and decoding is only applied to the payload and crc checksum while preamble and sync word are kept nrz. however, the chip rate from preamble to crc is the same and defined by the brval<6:0> bits (brsreg<6:0>) (chip rate = bit rate nrz = 2 x bit rate manchester). manchester encoding/decoding is thus made transpar- ent for the user, who still provides/retrieves nrz data to/from the fifo. see the manchester encoding/decoding bit pattern in figure 3-30. 3.11.4.2 data whitening another technique called data whitening or scrambling is widely used for randomizing the user data before radio transmission. the data is whitened using a random sequence on the tx side and dewhitened on the rx side using the same sequence. compared to manchester technique it has the advantage of retaining the nrz data rate (that is, actual bit rate is not halved). the whitening/dewhitening process is enabled by setting the whiten1 bit (pktcreg<4>). a 9-bit linear feedback shift register (lfsr) is used to generate a random sequence. the payload and 2-byte crc checksum is then xo red with this random sequence as illustrated in figure 3-31. the data is dewhitened on the receiver side by xoring with the same random sequence. payload whitening/dewhitening is made transparent for the user, who still provides/retrieves nrz data to/from the fifo. figure 3-29: manchester data encoding figure 3-30: manchester encoding/decoding ...sync payload... rf chips @ br ... 1 1 1 0 1 0 0 1 0 0 1 0 1 1 0 1 0 ... user/nrz bits manchester off ... 1 1 1 0 1 0 0 1 0 0 1 0 1 1 0 1 0 ... user/nrz bits manchester on ... 1 1 1 0 1 0 0 1 0 0 1 1 ... t 1/br 1/ br ? 2010 microchip technology inc. preliminary ds70622b-page 91 mrf89xa figure 3-31: data whitening 3.11.5 interrupt signal mapping table 3-11 and table 3-12 provides the descriptions of the interrupts available in packet mode. table 3-11: interrupt mapping in rx and stand-by in packet mode table 3-12: interrupt mapping in tx packet mode x 7 x 6 x 5 x 4 x 3 x 2 x 1 x 0 x 8 lfsr polynomial = x 9 + x 5 + 1 transmit data whitened data interrupt name interrupts data mode interrupt type rx interrupt source stand-by interrupt source irq0rxs<1:0> 00 (default) irq0 packet output plready ? 01 irq0 packet output writebyte ? 10 irq0 packet output fif oempty fif oempty 11 irq0 packet output sync/address match (2) ? irq1rxs<1:0> 00 (default) irq1 packet output crcok ? 01 irq1 packet output fifofull fifofull 10 irq1 packet output rssi ? 11 irq1 packet output fifo_t hreshold fifo_threshold note 1: address match valid only if address filtering is enabled. 2: also refer the dmode1 and dmod e0 bits in the ftxrxireg and ftprireg registers for details. interrupt name interrupts data mode interrupt type interrupt source irq0txst 0 (default) irq0 packet output fifo_threshold 1 irq0 packet output fif oempty irq1tx 0 (default) irq1 packet output fifofull 1 irq1 packet output txdone note: also refer the dmode1 and dmod e0 bits in the ftxrxireg and ftprireg registers for details. mrf89xa ds70622b-page 92 preliminary ? 2010 microchip technology inc. 3.11.6 host microcontroller interface connections in packet mode depending on the application, some of the host microcontroller connections may not be needed: ? irq0: if none of the relevant irq sources are used. in this case, leave the pin floating. ? irq1: if none of the relevant irq sources are used. in this case, leave the pin floating. ? sdo: if no read register access is needed and the device is used in tx mode only. in this case, pull up to v dd through a 100 k ? resistor. figure 3-32: host mcu connections in packet mode 3.11.7 packet mode example the data processing related registers are appropriately configured as shown in table 3-13. in this example we assume crc is enabled with autoclear on. table 3-13: configuration registers rela ted to data processing (only) in packet mode note: the data pin (pin 20), which is unused in packet mode, should be pulled-up to v dd through a 100 k ? resistor. table 2-4, pro- vides details about mrf89xa pin configu- ration and chip mode. pic ? mrf89xa irq0 irq1 cscon sck sdi sdo csdat microcontroller register name register bits tx rx description dmodreg dmode0, dmode1 x x defines data operation mode ( ? packet) fifocreg fsize<1:0> x x defines fifo size fifocreg ftint<5:0> x x defines fifo threshold ftxrxireg irq0rxs<1:0> ? x defines irq0 source in rx & stand-by modes ftxrxireg irq1rxs<1:0> ? x defines irq1 source in rx & stand-by modes ftxrxireg irq1tx x ? defines irq1 source in tx mode ftprireg irq0txst x ? defines irq0 source in tx mode syncreg syncren ? x enables sync word recognition syncreg syncwsz<1:0> ? x defines sync word size syncreg syncten<1:0> ? x defines the error tolerance on sync word recognition syncv31reg syncv<31:24> ? x defines sync word value syncv23reg syncv<23:16> ? x defines sync word value syncv15reg syncv<15:8> ? x defines sync word value syncv07reg syncv<7:0> ? x defines sync word value ploadreg mchstren x x enables manchester encoding/decoding ploadreg pldplen<6:0> x (1) x length in fixed format, max rx length in variable format naddsreg nladdr<7:0> ? x defines node ad dress for rx address filtering pktcreg pktlenf x x defines packet format (fixed or variable length) pktcreg presize<1:0> x ? defines the size of preamble to be transmitted pktcreg whiteon x x enables whit ening/de-whitening process pktcreg crcen x x enables crc calculation/check pktcreg addfil<1:0> ? x enables and defines address filtering pktcreg crcstsen x x enables crc status check fcrcerg acfcrc ? x enables fifo autoclear if crc failed fcrcerg frwaxs x x defines fifo access in stand-by mode note 1: fixed format only. ? 2010 microchip technology inc. preliminary ds70622b-page 93 mrf89xa tx mode: 1. program tx start condition and irqs: start tx when fifo is not empty (irq0txst = 1) and irq1 mapped to txdone (irq1tx = 1) 2. set cmod = stand-by mode and enable fifo access in stand-by mode. 3. write all payload bytes into fifo (frwaxs = 0, stand-by interrupts can be used if needed). 4. go to tx mode. when tx is ready (automati- cally handled) tx starts (irq0txst = 1 ). 5. wait for txdone interrupt (plus one bit period). 6. go to sleep mode. rx mode: 1. program rx/stand-by interrupts: irq0 mapped to fif oempty (irq0rxs = 10 ) and irq1 mapped to fifo threshold (irq1rxs = 00 ). configure fifo threshold to an appropriate value (for example, to det ect packet end, if its length is known). 2. go to rx mode by setting the cmod register. fifo threshold interrupt, when the fifo is full with received contents. so you have to enable irq1 to ?crcok? interrupt. 3. wait for crcok interrupt. 4. go to stand-by mode. 5. read payload byte from fifo until fif oempty goes low. (frwaxs = 1). 6. go to sleep mode. 3.11.8 additional information to handle packet mode if the number of bytes fille d for transmission is greater than the actual length of the packet to be transmitted and irq0txst = 1 , the fifo is cleared after the packet has been transmitted. therefore, the extra bytes in the fifo are lost. otherwise, if irq0txst = 0, the extra bytes are kept in the fifo. this opens up the possibility of transmitting more than one packet by fill- ing the fifo with multiple packet messages. it is not possible to receive multiple packets. after a packet has been received and filled in the fifo all its contents needs to be read (that is, the fifo must be empty for a new packet reception to be initiated). the plready interrupt goes high when the last pay- load byte is available in the fifo and remains high until all its data are read. similar behavior is applicable to ardsmatch and crcok interrupts. the crc result is available in the stscrcen bit immediately as the crcok and plready interrupt sources are triggered. in rx mode, the stscrcen bit is cleared when the complete payload has been read from the fifo. if the payload is read in stand-by mode, the stscrcen bit is cleared when the user goes back to rx mode and a new sync word is detected. the fifofm and fifofsc bits have no meaning in packet mode and should be set to their default values only. 3.11.9 packet mode registers the registers associated with packet mode are: ? gconreg (register 2-1) ? dmodreg (register 2-2) ? fdevreg (register 2-3) ? brsreg (register 2-4) ? flthreg (register 2-5) ? fifocreg (register 2-6) ? ftxrxireg (register 2-14) ? ftprireg (register 2-15) ? rsthireg (register 2-16) ? filcreg (register 2-17) ? pfcreg (register 2-18) ? syncreg (register 2-19) ? rstsreg (register 2-21) ? ookcreg (register 2-22) ? syncv31reg (register 2-23) ? syncv23reg (register 2-24) ? syncv15reg (register 2-25) ? syncv07reg (register 2-26) ? ploadreg (register 2-29) ? naddsreg (register 2-30) ? pktcreg (register 2-31) ? fcrcreg (register 2-32) mrf89xa ds70622b-page 94 preliminary ? 2010 microchip technology inc. 3.12 initialization certain control register values must be initialized for basic operations of the mrf89xa. these values differ from the por values and provide improved operational parameters. these settings are normally made once after a reset. after initialization, the other features of the mrf89xa device can be configured based on the application. accessing a register is implied as a com- mand to the mrf89xa device through the spi port. the steps to initialize the mrf89xa using the control registers are as follows: 1. in the gconreg register: a) set the chip mode (cmod<2:0>), fre- quency band (fbs<1:0>) and vco trim (vcot<1:0>) bits. b) program the frequency band. c) set the trim bits to appropriately tune in the vco. 2. in the dmodreg register: a) select the modulatio n type using the mod- sel<1:0> bits. b) enable data mode for transmission using the dmode0 and dmode1 bits. c) select gain for if chain using the ifgain<1:0> bits. d) in the fdevreg register, program the fre- quency deviation bits (fdval<7:0>). 3. in the brsreg register, program the bit rate using the brval<6:0> bits. 4. in the flthreg register, set the floor thresh- old for ook using the ftoval<7:0> bits. 5. in the fifocreg regist er, configure the fifo size and fifo threshold using the fsize<1:0> and ftint<5:0> bits. 6. in the pacreg register, configure the power amplifier ramp control using the parc<1:0> bits. 7. in the ftxrxireg register: a) configure the rx interrupts for irq0 and irq1 using the irq0rxs<1:0> and irq1rxs<1:0> bits. b) configure the tx interrupts for irq1 using the irq1tx bit. 8. in the ftprireg register: a) configure the tx interrupts for irq0 using the irq0txst bit. b) enable pll lock for interrupt on irq1 using the lenpll bit. 9. in the rsthireg, program the rssi threshold value for interrupt request using the rtival<7:0> bits. 10. in the filcreg register, enable the passive filter using the pasfilv<3:0> bits. 11. configure rx parameters: a) enable passive filter with value as set in step 11. b) set f c and f o . c) enable sync and set sync word, size, length and tolerance. d) set configuration bytes for ook threshold from ookcreg 12. in the syncreg register, set syncwsz<1:0> = 11 for 32-bit sync word. 13. configure tx parameters: a) change or reset f c . b) in the txconreg register, enable tx and its transmit power using the txipolfv<3:0> and txopval<2:0> bits. 14. in the clkoutreg register, configure the clock settings using the clkocntrl and clkofreq<4:0> bits. 15. configure the packet frame parameters in the ploadreg, naddsreg, pktcreg and fcrcreg registers: a) enable manchester encoding b) set packet format and length of the packet c) set node local address d) program preamble variables e) configure crc parameters f) enable address filtering 16. in the fcrcreg register, enable fifo write access using the frwaxs bit. note 1: program registers 0x00 - 0x1f with appropriate settings . (general configura- tion parameters, irq parameters, packet parameters). 2: clear the pll lock flag by setting the lstspll bit (ftprireg 0x0e<1>) to ? 1?. 3: program cmod bits (gconreg 0x00 <7:5>) to ?0b010 frequency synthesizer mode. 4: verify the pll lock flag through the lst- spll bit (ftprireg 0x0e<1>). if lst- spll = 1 , it implies that the mrf89xa is ready to operate at the frequency indi- cated by the ri/pi/si register set. 5: program the cmod bits (gconreg 0x00 <7:5>) to ?0b001 standby mode. ? 2010 microchip technology inc. preliminary ds70622b-page 95 mrf89xa 3.13 battery power management configuration values battery life can be greatly extended in mrf89xa appli- cations where transmissions from field nodes are infre- quent, or network communications can be concentrated in periodic time slots. for example, field nodes in many wireless alarm systems report opera- tional status a few times a day, and can otherwise sleep unless an alarm condition occurs. sensor networks that monitor parameters that change relatively slowly, such as air and soil temperature in agricultural settings, switching lights on/off, only need to transmit updates a few times per an hour. at room temperature, the mrf89xa draws a maximum of 1 a in sleep mode, with a typical value of 100 na. to achieve minimum sleep mode current, the cscon pin (pin 14), sdi pin (pin 17) and sck pin (pin 18) must be held logic low, while the csdat pin (pin 15) and sdo pin (pin 16) must be held logic high. the mrf89xa can go from sleep mode through stand-by mode and synthesizer mode to transmit (or receive) mode in less than 6 ms. for configuring and driving the device different operating modes refer to table 2-3. at a data rate of 33.33 kbps, a 32-byte packet with a 4-byte preamble and a 4-byte start pat- tern takes about 10 ms to transmit. assume that the mrf89xa then switches to receive mode for one sec- ond to listen for a response and returns to sleep mode. on the basis of reporting every six hours, the on to sleep duty cycle is about 1:21,259, great ly extending battery life over continuous transmit-receive or even stand-by operation. the required timing accuracy for the microcontrollers in a sleep-cycled application depends on several factors: ? the required ?time-stamp? accuracy of data reported by sleeping field nodes. r-c sleep mode timers built into many microcontrollers have a tol- erance of 20% or more. for applications that require more accurate time-stamping, many microcontrollers can run on a watch crystal during sleep mode and achieve time-stamp accuracies better than one second per 24 hours. ? if the base station and any routing nodes present in a network must sleep cycle in addition to the field nodes. watch crystal control will usually be needed to keep all nodes accurately synchronized to the active time slots. ? if the base station and any routing nodes present in a network can operate continuously (ac pow- ered, solar charged batteries), and a loose time stamp accuracy is ok, the microcontrollers in sleeping field nodes can usually operate from internal low-accuracy r-c timers . therefore, as previously me ntioned, sleep mode is the lowest power consumption mode in which the clock and all functi onal blocks of the device are disabled. in case of an interrupt, the de vice wakes up, switches to active mode and an interrupt signal generated on the irq pin indicates the change in state to the host micro- controller. the source of the interrupt can be determined by reading the status word of the device. to reduce current consumption, the mrf89xa should be placed in the low-power consuming sleep mode. in sleep mode, the 12.8 mhz main oscillator is turned off, disabling the rf and baseband cir- cuitry. data is retained in the control and fifo regis- ters and the transceiver is accessible through the spi port. the mrf89xa will not enter sleep mode if any interrupt remains active, regardless of the state of the clkocntrl bit (clkoutreg<7>). this way, the microcontroller can always have a clock sig- nal to process the interrupt. to prevent high-current consumption, which results in shorter battery life, it is highly recommended to process and clear interrupts before entering sleep mode. the functions which are not necessary should be turned off to avoid unwanted interrupts. to mi nimize current consump- tion, the mrf89xa supports different power-saving modes, along with an integrated wake-up timer. when switching from sleep mode to stand-by, the crys- tal oscillator will be active for no more than 5 ms. switching from stand-by to synthesizer mode, the pll will lock in less than 0.5 ms. pll lock can be monitored on the plock pin (pin 23) of the mrf89xa. the radio can then be switched to ei ther transmit or receive mode. when switching from any other mode back to sleep mode, the device will drop to its sleep mode current in less than 1 ms. note: many host microcontrollers cannot be operated from the mrf89xa buffered clock output if sleep cycling is planned. in sleep mode, the mrf89xa buffered clock output is disabled, which will disable the microcontroller unless it is capable of automatically switching to an internal clock source when external clocking is lost. mrf89xa ds70622b-page 96 preliminary ? 2010 microchip technology inc. to make the mrf89xa device enter into sleep mode, certain control register val ues must be initialized. the sequence to program the cont rol registers for entering into sleep and wake-up modes is as follows: for sleep mode: 1. check the irq bit status 2. handle interrupts 3. configure the gconreg register 4. set/reset clkout in the clkoutreg register example 3-1: to put the mrf89xa into sleep mode the mrf89xa device can wake up from any interrupt activity. for wake-up mode perform any one the following task: ? enter in tx/rx mode ? enable clkout ? set the int pin example 3-2: to wake the mrf89xa from sleep mode 3.13.1 power-saving mode registers the registers associated with power-saving modes are: ? gconreg (register 2-1) ? dmodreg (register 2-2) ? fdevreg (register 2-3) ? brsreg (register 2-4) ? ftxrxireg (register 2-14) ? ftprireg (register 2-15) ? clkoutreg (register 2-28) set cmod<2:0> (gconreg<2:0>) = 0 set cmod<2:0> (gconreg<2:0>) = 1 ? 2010 microchip technology inc. preliminary ds70622b-page 97 mrf89xa 4.0 application details 4.1 application schematic an application circuit schematic of the mrf89xa with a matching circuit of the sa w filter and antenna is illus- trated in figure 4-1. this application design (that is, schematics and bom) can be replicated in the final application board for optimum performance. figure 4-1: application circuit schematic c1 0.047 f c2 0.22 f c3 1 f c4 see table c5 see c7 33 pf c8 0.1 f c9 680 pf c10 0.01 f c11 see table fl1 in gnd gnd gnd out gnd 2 34 5 1 6 c12 l1 see table l2 100 nh l3 see l4 see l6 plock cscon irq0 sdi sck sdo csdat irq1 v in r1 1 1% r2 100 k 5% r3 6.8 k 1% u1 mrf89xa- i/ mq test5 test1 vcors vcotm vcotp pllm pllp test6 test7 osc1 osc2 test0 test8 cscon csdata sdo sdi sck clkout data irq0 irq1 plock test2 test3 v dd avrs dvrs pars test4 rfio nc 1 2 3 4 5 6 7 8 910111213141516 17 18 19 20 21 22 23 24 2526272829303132 33 x1 12.8 mhz 1 43 2 nc nc antenna l3 l4 6.8 nh 6.8 nh 5.6 nh 5.6 nh b3717 b3588 table table table fl1c5c4l1 12 nh 10 h 27 pf 30 pf 2.4 pf 1.8 pf note: component values for c11, c12, and l6 depend on 868 mhz band 915 mhz antenna impedance. mrf89xa ds70622b-page 98 preliminary ? 2010 microchip technology inc. 4.1 rf transmitter matching the optimum load for the rf port at a given frequency band is listed in table 4-1. these load values in the table are expected by the rf port pins to have as an antenna load for maximum power transfer. for all antenna applications, an rf choke inductor (l2) must be included during transmission because the rf out- puts are of open-collector type. 4.2 antenna components the mrf89xa is single-ended and has an unbalanced input/output impedance close to 30-j25. therefore, it only requires a matching circuit to the saw filter and antenna. c11, c12, and l6, l1, c4, and c5 are tuned to provide that impedance (30+j25) to the rfio pin (pin 31). in this case, the transceiver will be able to transfer all power toward the antenna. this impedance is called optimum load impedance. l2 is a rf choke inductor. l3 and l4 are basically vco inductors. the details are shown in figure 4-1. table 4-1: antenna load values for 868 mhz and 915 mhz frequency bands 4.3 saw filter fl1 is a saw filter. while in transmitting mode, the saw filter is used to suppress the harmonics. while in receiving mode, the saw filter is used to reject the image frequencies and out-of -band interfering signals. 4.3.1 saw filter plot figure 4-2 and figure 4-3 illustrates the plots of the saw filter used in the application circuit. the plots shown are representative. for exact specifications, refer to the saw filter manufacturer data sheet. band fl1 c5 c4 l1 868 mhz ta0801a 1.8 pf 22 pf 8.2 nh 915 mhz ta0281a 1.8 pf 30 pf 10 nh ? 2010 microchip technology inc. preliminary ds70622b-page 99 mrf89xa figure 4-2: 868 mhz saw filter plot figure 4-3: 915 mhz saw filter plot -80 -70 -60 -50 -40 -30 -20 -10 0 400 600 800 1000 1200 1400 1600 1800 2000 frequency [mhz] attenuation [db] -80 -70 -60 -50 -40 -30 -20 -10 0 400 600 800 1000 1200 1400 1600 1800 2000 frequency [mhz] attenuation [db] mrf89xa ds70622b-page 100 preliminary ? 2010 microchip technology inc. 4.4 power amplifier the power amplifier (pa) integrated in the mrf89xa operates under a regulated voltage supply of 1.8v. the external rf choke inductor is biased by an internal reg- ulator output made available on the pars pin (pin 29). these features help pa out put power to be consistent over the power supply range . this is important for applications that allow predictable rf performance and battery life. 4.4.1 optimum load impedance as the pa and the lna front-ends in the mrf89xa share the same input/output pin, they are internally matched to approximately 50 ? . figure 4-4illustrates optimum load impedance of rfio through an imped- ance chart. figure 4-4: optimal load impedance chart pmax-1db circle max power zopt = 30 + j25 note: refer to section 4.7 ?bill of materials? for an optimized pa load setting. ? 2010 microchip technology inc. preliminary ds70622b-page 101 mrf89xa 4.4.2 suggested pa biasing and matching the recommended pa bias and matching circuit is illustrated in figure 4-5. figure 4-5: recommended pa biasing and output matching refer to section 4.7 ?bill of materials? for the opti- mized matching arrangement for each frequency band. 4.4.3 common input and output front-end the receiver and transmitter share the same rfio pin (pin 31). figure 4-6 illustrates the configuration of the common rf front-end. in transmit mode, the pa and pa regulator are active, with the voltage on the pars pin equal to the nominal voltage of the regulator (1.8v). the external inductance is used to bias the pa. in receive mode, both the pa and pa regulator are off and pars is tied to ground. the rf choke induc- tor is then used to bias the lna. figure 4-6: front-end description pars rfio 100 nh 0.047 f saw low-pass and dc block pa antenna port dc block 1 1% rfio pars pa pa rx on lna to antenna regulator (1.8v) mrf89xa ds70622b-page 102 preliminary ? 2010 microchip technology inc. 4.4.4 pll loop filter to adequately reject spurious components arising from the comparison frequency f comp , an external second order loop filter is used. figure 4-7 illustrates the loop filter circuit. figure 4-7: loop filter the recommendations made in section 3.2.4.1 ?pll requirements? and the loop filter proposed in the application schematic?s bom in section 4.7 ?bill of materials? can be used. the loop f ilter settings are fre- quency band independent and are hence relevant to all implementations of the mrf89xa. 4.4.5 voltage controlled oscillator (vco) the integrated vco requires only two external tank cir- cuit inductors. as the input is differential, the two induc- tors should have the same nominal value. the performance of these components is important for both the phase noise and the power consumption of the pll. it is recommended that a pair of high q factor inductors is selected. these should be mounted orthogonally to other inductors (in particular the pa choke) to reduce spurious coupling between the pa and vco. these measures may reduce radiated pulling effects and undesirable transient behavi or, thus minimizing spec- tral occupancy. ensuring a symmetrical layout of the vco inductors will improve pll spectral purity. 4.5 v dd line filtering during the reset event (caused by power-on, a glitch on the supply line or a software reset), the v dd line should be kept clean. noise or a periodic disturbing sig- nal superimposed on the supply voltage may prevent the device from getting out of the reset state. to avoid this, adequate filters should be made available on the power supply lines to keep the distorting signal level below 100-150 mv peak-to-peak, in the dc to 50 khz range for 200 ms, from v dd ramp start. the usage of regulators or switching power supplies may sometimes introduce switching noise on the v dd line, hence follow the power supply manufacturer?s recommendations on how to decrease the ripple of regulator ic and/or how to shift the switching frequency. 4.6 crystal specification and selection guidelines table 4-2 lists the crystal re sonator specification for the crystal reference oscillator circuit of the mrf89xa. this specification covers th e full range of operation of the mrf89xa and is used in the application schematic (for more information, see section 4.7 ?bill of materi- als? ). table 4-2: crystal resonator specification pllp cl1 cl2 plln rl1 name description minimu m typical maximum units f xtal nominal frequency 9 12.800 15 mhz cload load capacitance for f xtal 10 15 16.5 pf r m motional resistance ? ? 100 ohms c o shunt capacitance 1 ? 7 pf f xtal calibration tolerance at 25+/-3c -15 ? +15 ppm f xtal ( t) stability over temperature range [-40c; +85c] -20 ? +20 ppm f xtal ( t) aging (first year) 5 ? 5 ppm note: the initial frequency tolerance, temperature stabi lity and ageing performance should be chosen in accordance with the target operating temperatur e range and the receiver bandwidth selected. mrf89xa ds70622b-page 103 preliminary ? 2010 microchip technology inc. 4.7 bill of materials table 4-3: mrf89xa application schematic bill of materials for 868 mhz designator value description manufacturer c1 0.047 uf capacitor, ceramic, 10v, +/-10%, x7 r, smt 0402 murata electronics north america c2 0.22 uf capacitor, ceramic, 16v, +/-10%, x7 r, smt 0402 murata electronics north america c3 1 uf capacitor, ceramic, 6.3v, +/-10%, x5r, smt 0603 murata electronics north america c4 22 pf capacitor, ceramic, 50v, +/-5%, uhi-q np0, smt 0402 johanson technology c5 1.8 pf capacitor, ceramic, 50v, +/-0.1 pf, uhi-q np0, smt 0402 johanson technology c7 33 pf capacitor, ceramic, 50v, +/-5%, c0 g, smt 0402 murata electronics north america c8 0.1 uf capacitor, ceramic, 16v, +/-10%, c0 g, smt 0402 murata electronics north america c9 680 pf capacitor, ceramic, 50v, +/-5%, c0 g, smt 0402 murata electronics north america c10 0.01 uf capacitor, ceramic, 16v, +/-10%, x7 r, smt 0402 murata electronics north america c11 4.3 pf capacitor, ceramic, 50v, +/-0.1 pf, uhi-q np0, smt 0402 johanson technology c12 1.5 pf capacitor, ceramic, 50v, +/-0.1 pf, uhi-q np0, smt 0402 johanson technology fl1 ta0801a saw filter epcos l1 8.2 nh inductor, ceramic, +/-5%, smt 0402 johanson technology l2 100 nh inductor, ceramic, +/-5%, smt 0402 johanson technology l3 6.8 nh inductor, wirewound, +/-5%, smt 0402 johanson technology l4 6.8 nh inductor, wirewound, +/-5%, smt 0402 johanson technology l6 10 nh inductor, ceramic, +/-5%, smt 0402 johanson technology r1 1 ohm resistor, 1%, +/-100 ppm/c, smt 0402 vishay/dale r2 100k ohm resistor, 5%, +/-100 ppm/c, smt 0402 yageo r3 6.8k ohm resistor, 1%, +/-100 ppm/c, smt 0402 yageo r4 0 ohm resistor, smt 0402 yageo r5 not populated u1 mrf89xa transceiver microchip technology inc. x1 12.800 mhz crystal, +/-10 ppm, 15 pf, esr 100 ohms, smt 5x3.2mm mrf89xa ds70622b-page 104 preliminary ? 2010 microchip technology inc. table 4-4: mrf89xa application schematic bill of materials for 915 mhz designator value description manufacturer c1 0.047 uf capacitor, ceramic, 10v, +/-10%, x7r, smt 0402 murata electronics north america c2 0.22 uf capacitor, ceramic, 16v, +/-10%, x7r, smt 0402 murata electronics north america c3 1 uf capacitor, ceramic, 6.3v, +/-10%, x5r, smt 0603 murata electronics north america c4 30 pf capacitor, ceramic, 25v, +/-5%, uhi-q np0, smt 0402 johanson technology c5 1.8 pf capacitor, ceramic, 50v, +/-0.1 pf, uhi-q np0, smt 0402 johanson technology c7 33 pf capacitor, ceramic, 50v, +/-5%, c0g, smt 0402 murata electronics north america c8 0.1 uf capacitor, ceramic, 16v, +/-10%, c0g, smt 0402 murata electronics north america c9 680 pf capacitor, ceramic, 50v, +/-5%, c0g, smt 0402 murata electronics north america c10 0.01 uf capacitor, ceramic, 16v, +/-10%, x7r, smt 0402 murata electronics north america c11 1.0 pf capacitor, ceramic, 50v, +/-0.1 pf, uhi-q np0, smt 0402 johanson technology c12 0.9 pf capacitor, ce ramic, 50v, +/-0.1 pf, uhi-q np0, smt 0402 johanson technology fl1 ta0281a saw filter epcos l1 10 nh inductor, ceramic, +/-5%, smt 0402 johanson technology l2 100 nh inductor, ceramic, +/-5%, smt 0402 johanson technology l3 5.6 nh inductor, wirewound, +/-5%, smt 0402 johanson technology l4 5.6 nh inductor, wirewound, +/-5%, smt 0402 johanson technology l6 10 nh inductor, ceramic, +/-5%, smt 0402 johanson technology r1 1 ohm resistor, 1%, +/-100 ppm/c, smt 0402 vishay/dale r2 100k ohm resistor, 5%, +/-100 ppm/c, smt 0402 yageo r3 6.8k ohm resistor, 1%, +/-100 ppm/c, smt 0402 yageo r4 not populated r5 0 ohm resistor, smt 0402 yageo u1 mrf89xa transceiver microchip technology inc. x1 12.800 mhz crystal, +/-10 ppm, 15 pf, esr 100 ohms, smt 5x3.2mm ? 2010 microchip technology inc. preliminary ds70622b-page 105 mrf89xa 4.8 general pcb layout design the following guidelines can be used to assist in high-frequency pcb layout design. the printed circuit board is usually comprised of two or four basic fr4 layers. the two-layer printed circuit board has mixed sig- nal/power/rf and common ground routed in both the layers (see figure 4-8). the four-layer printed circuit board (see figure 4-9) is comprised of the following layers: ? signal layout ? rf ground ? power line routing ? common ground the following guidelines explain the requirements of the previously mentioned layers: ? it is important to keep the original pcb thickness, because any change will affect antenna perfor- mance (see total thickness of dielectric) or microstrip lines? characteristic impedance. ? for good transmit and receive performance, the trace lengths at the rf pins must be kept as short as possible. using small, surface mount compo- nents (in 0402/0603 package) yields good perfor- mance and keeps the rf circuit small. rf connections should be short and direct. ? except for the antenna layout, avoid sharp corners because they can act as an antenna. round corners will eliminate possible future emi problems. ? digital lines are prone to be very noisy when han- dling periodic waveforms and fast clock/switching rates. avoid rf signal layout close to any of the digital lines. ? a via filled ground patch underneath the ic transceiver is mandatory. ? the power supply must be distributed to each pin in a star topology, and low-esr capacitors must be placed at each pin for proper decoupling noise. ? thorough decoupling on each power pin is beneficial for reducing in-band transceiver noise, particularly when this noise degrades performance. usually, low value caps (27-47 pf) combined with large value caps (100 nf) will cover a large spectrum of frequency. ? passive component (inductors) should be in the high-frequency category and the self-resonant frequency (srf) should be at least two times higher than the operating frequency. ? the additional trace length affects the crystal oscillator by adding parasitic capacitance to the overall load of the crystal. to minimize this, place the crystal as close as possible to the rf device. ? setting short and direct connections between the components on board minimizes the effects of ?frequency pulling? that might be introduced by stray capacitance. it even allows the internal load capaci- tance of the chip to be more effective in properly loading the crystal oscillator circuit. ? long run tracks of clock signal may radiate and cause interference. this can degrade receiver per- formance and add harmonics or unwanted modulation to the transmitter. ? keep clock connections as short as possible and surround the clock trace with an adjacent ground plane pour. pouring helps in reducing any radiation or crosstalk due to long run traces of the clock signal. ? low value decoupling capacitors, typically 0.01-0.1 f, should be placed for v dd of the chip and for bias points of the rf circuit. ? high value decoupling capa citors, typically 2.2-10 f, should be placed at the point where power is applied to the pcb. ? power supply bypassing is necessary. poor bypass- ing contributes to conduct ed interference, which can cause noise and spurious signals to couple into the rf sections, significantly reducing the performance. figure 4-8: two basic copper fr4 layers signal/power/rf and common ground dielectric constant = 4.5 signal/power/rf and common ground mrf89xa ds70622b-page 106 preliminary ? 2010 microchip technology inc. figure 4-9: four basic copper fr4 layers signal layout dielectric constant = 4.5 rf ground dielectric constant = 4.5 power line routing dielectric constant = 4.5 ground ? 2010 microchip technology inc. preliminary ds70622b-page 107 mrf89xa 5.0 electrical characteristics absolute maximum ratings (?) ambient temperature under bias................................................................................................. ............. -40c to +85c storage temperature ............................................................................................................ .................. -55c to +125c lead temperature (soldering, max 10s) .......................................................................................... ..................... +260c voltage on v dd with respect to v ss ............................................................................................................... -0.3v to 6v voltage on any combined digital and analog pin with respect to v ss (except rfio and v dd ) ....... -0.3v to (v dd + 0.3v) voltage on open-collector outputs (rfio) (1) ............................................................................................... -0.3v to 3.7v input current into pin (except v dd and v ss ).......................................................................................... -25 ma to 25 ma electrostatic discharge with human body model .................................................................................. .................. 1000v note 1: at maximum, voltage on rfio cannot be higher than 6v. notice: stresses above those listed under ?absolute ma ximum ratings? may cause permanent damage to the device. this is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operation listings of this specification is not implied. exposure to maximum rating conditions for extended periods may affect device reliability. mrf89xa ds70622b-page 108 preliminary ? 2010 microchip technology inc. 5.1 esd notice the mrf89xa is a high-performance radio frequency device, it satisfies: ? class ii of the jedec standard jesd22-a114-b (human body model) of 2 kv, except on all of the rf pins where it satisfies class 1a. ? class iii of the jedec standard jesd22-c101c (charged device model) on all pins. it should thus be handled with all the necessary esd precautions to avoid any permanent damage. table 5-1: recommended operating conditions table 5-2: current consumption (3) parameter min typ max unit condition ambient operating temperature -40 ? +85 c ? supply voltage for rf, analog and digital circuits 2.1 ? 3.6 v ? supply voltage for digital i/o 2.1 ? 3.6 v ? input high voltage (v ih )0 . 5 * v dd ?v dd + 0.3 v ? input low voltage (v il ) -0.3v ? 0.2 * v dd v? dc voltage on open collector outputs (rfio) (1,2) v dd ? 1.5 ? v dd + 1.5 v ? ac peak voltage on open collector outputs (io) (1) v dd ? 1.5 ? v dd + 1.5 v ? note 1: at minimum, v dd ? 1.5v should not be lower than 1.8v. 2: at maximum, v dd + 1.5v should not be higher than 3.7v. symbol chip mode min typ max unit condition i ddsl sleep ? 0.1 2 a sleep clock disabled, all blocks disabled i ddst idle ? 65 80 a oscillator and baseband enabled (2) i ddfs frequency synthesizer ? 1.3 1.7 ma frequency synthesizer running i ddtx tx ? ? 25 16 30 21 ma ma output power = +10 dbm output power = +1 dbm (1) i ddrx rx ? 3.0 3.5 ma ? note 1: guaranteed by design and characterization. 2: crystal c load = 10 pf, c0 = 2.5 pf, r m = 15 . 3: measurement conditions: temp = 25c, v dd = 3.3v, crystal frequency = 12.8 mhz, carrier frequency = 868 or 915 mhz, modulation fsk, data rate = 25 kbps, f dev = 50 khz, f c = 100 khz, unless otherwise specified. ? 2010 microchip technology inc. preliminary ds70622b-page 109 mrf89xa table 5-3: digital i/o pin input specifications (1) table 5-4: pll parameters ac characteristics (1) symbol characteristic min typ max unit condition v il input low voltage ? ? 0.2 * v dd v? v ih input high voltage 0.8 * v dd ??v ? i il input low leakage current (2) -0.5 ? 0.5 a v il = 0v i ih input high leakage current -0.5 ? 0.5 a v ih = v dd , v dd = 3.7 v ol digital low output voltage ? ? 0.1 * v dd ?i ol = 1 ma v oh digital low output 0.9 * v dd ??vi oh = -1 ma note 1: measurement conditions: t a = 25c, v dd = 3.3v, crystal frequency = 12.8 mhz, unless otherwise specified. 2: negative current is defined as the current sourced by the pin. 3: on pin 10 (osc1) and 11 (osc2), maximum voltages of 1.8v can be applied. symbol parameter min typ max unit condition fro frequency ranges 863 ? 870 mhz programmable but requires specific bom 902 ? 928 mhz 950 ? 960 mhz brfsk bit rate (fsk) 1.56 ? 200 kbps nrz brook bit rate (ook) 1.56 ? 32 kbps nrz fdfsk frequency deviation (fsk) 33 50 200 khz ? fxtal crystal oscillator frequency 9 12.8 15 mhz ? fsstp frequency synthesizer step ? 2 ? khz variable, depending on the fre- quency tsosc oscillator wake-up time ? 1.5 5 ms from sleep mode (1) tsfs frequency synthesizer wake-up time; at most, 10 khz away from the target ? 500 800 s from stand-by mode tshop frequency synthesizer hop time; at most, 10 khz away from the target ? 180 ? s 200 khz step ? 200 ? s 1 mhz step ? 250 ? s 5 mhz step ? 260 ? s 7 mhz step ? 290 ? s 12 mhz step ? 320 ? s 20 mhz step ? 340 ? s 27 mhz step note 1: guaranteed by design and characterization mrf89xa ds70622b-page 110 preliminary ? 2010 microchip technology inc. table 5-5: receiver ac characteristics (1) symbol parameter min typ max unit condition rsf sensitivity (fsk) ? -107 ? dbm 869 mhz, br = 25 kbps, f dev = 50 khz, f c = 100 khz ? -103 ? dbm 869 mhz, br = 66.7 kbps, f dev = 100 khz, f c = 200 khz ? -105 ? dbm 915 mhz, br = 25 kbps, f dev = 50 khz, f c =100 khz ? -101 ? dbm 915 mhz, br = 66.7 kbps, f dev = 100 khz, f c = 200 khz rso sensitivity (ook) ? -113 ? dbm 869 mhz, 2kbps nrz f c ? f o = 50 khz, f o = 50 khz ? -106 ? dbm 869 mhz, 16.7 kbps nrz f c ? f o = 100 khz, f o = 100 khz ? -111 ? dbm 915 mhz, 2 kbps nrz f c ? f o = 50 khz, f o = 50 khz ? -105 ? dbm 915 mhz, 16.7 kbps nrz f c ? f o = 100 khz, f o = 100 khz ccr co-channel rejection ? -12 ? dbc modulation as wanted signal acr adjacent channel rejection ? 27 ? db offset = 300 khz, unwanted tone is not modulated ? 52 ? db offset = 600 khz, unwanted tone is not modulated ? 57 ? db offset = 1.2 mhz, unwanted tone is not modulated bi blocking immunity ? -48 ? dbm offset = 1 mhz, unmodulated ? -37 ? dbm offset = 2 mhz, unmodulated, no saw ? -33 ? dbm offset = 10 mhz, unmodulated, no saw rxbwf receiver bandwidth in fsk mode (2) 50 ? 250 khz single side bw, polyphase off rxbwu receiver bandwidth in ook mode (2) 50 ? 400 khz single side bw, polyphase on itp3 input third order intercept point ? -28 ? dbm interferers at 1 mhz and 1.950 mhz offset tsrwf receiver wake-up time ? 280 500 s from fs to rx ready tsrws receiver wake-up time ? 600 900 s from stand-by to rx ready tsrhop receiver hop time from rx ready to rx ready with a frequency hop ? 400 ? s 200 khz step ?400 ? s1 mhz step ?460 ? s5 mhz step ?480 ? s7 mhz step ? 520 ? s 12 mhz step ? 550 ? s 20 mhz step ? 600 ? s 27 mhz step rssist rssi sampling time ? ? 1/ f dev s from rx ready rsstdr rssi dynamic range ? 70 ? db ranging from sensitivity note 1: guaranteed by design and characterization. 2: this reflects the whole receiver bandwidth, as descr ibed by conditions for ac tive and passive filters. ? 2010 microchip technology inc. preliminary ds70622b-page 111 mrf89xa table 5-6: transmitter ac characteristics (1) 5.2 timing specification and diagram table 5-7: spi timing specification (1,2,3) symbol description min typ max unit condition rfop rf output power, programmable with 8 steps of typ. 3 db ? +12.5 ? dbm maximum power setting. ? -8.5 ? dbm minimum power setting. pn phase noise ? -112 ? dbc/hz measured with a 600 khz offset at the transmitter output. txsp transmitted spurious ? ? -47 dbc at any offset between 200 khz and 600 khz, unmodulated carrier, f dev = 50 khz. tx2 second harmonic ??-40dbm no modulation, see note 2 tx3 third harmonic tx4 fourth harmonic txn harmonics above tx4 fskdev fsk deviation 33 55 -200 khz programmable tstwf transmitter wake-up time ? 1 20 500 s from fs to tx ready. tstws transmitter wake-up time ? 600 900 s from stand-by to tx ready. note 1: guaranteed by design and characterization. 2: transmitter in-circuit performance with rfm recommended saw filter and crystal. parameter min typ max unit condition spi configure clock frequency ? ? 6 mhz ? spi data clock frequency ? ? 1 mhz ? data hold and setup time 2 ? ? s ? sdi setup time for spi configure 250 ? ? ns ? sdi setup time for spi data 312 ? ? ns ? cscon low to sck rising edge; sck falling edge to /cscon high 500 ? ? ns ? csdat low to sck rising edge; sck falling edge to csdat high 625 ? ? ns ? cscon rising to falling edge 500 ? ? ns ? csdat rising to falling edge 625 ? ? ns ? note 1: typical values: t a = 25c, v dd = 3.3v, crystal frequency = 12.8 mhz, unless otherwise specified. 2: negative current is defined as the current sourced by the pin. 3: on pin 10 (osc1) and 11 (osc2), maxi mum voltages of 1.8v can be applied. mrf89xa ds70622b-page 112 preliminary ? 2010 microchip technology inc. 5.3 switching times and procedures as an ultra-low power device, the mrf89xa can be configured for low minimum average power consump- tion. to minimize consumption the following optimized transitions between modes are shown. 5.3.1 optimized receive cycle the lowest-power rx cycle is shown in figure 5-1. figure 5-1: optimized rx cycle mrf89xa idd set mrf89xa in stand-by mode wait for xo settling set mrf89xa in fs mode wait for pll settling set mrf89xa in rx mode wait for receiver settling iddrx 3.0 ma typ. iddfs 1.3 ma typ. iddst 65 a typ. iddsl 100 na typ. wait tsosc wait tsfs wait tswrf receiver is ready: - rssi sampling is valid after a 1/ f dev period - received data is valid mrf89xa can be put in any other mode rx time note 1: if the lock detect indicator is available on an external interrupt pin of the companion microcontroller, it can be used to opti mize tsfs, without having to wait the maximum specified tsfs. ? 2010 microchip technology inc. preliminary ds70622b-page 113 mrf89xa 5.3.2 optimized transmit cycle figure 5-2: optimized tx cycle mrf89xa idd set mrf89xa in stand-by mode wait for osc settling set mrf89xa in fs mode wait for pll settling set mrf89xa in tx mode packet mode starts its operation iddt 16 ma typ. @1 dbm iddfs 1.3 ma typ. iddst 65 a typ. iddsl 100 na typ. wait tsosc wait tsfs wait tstr data transmission can start in continuous and buffered modes mrf89xa can be put in any other mode tx time note 1: tsfs time can be improved by using the external lock detector pin as an external interrupt trigger. mrf89xa ds70622b-page 114 preliminary ? 2010 microchip technology inc. 5.3.3 transmitter frequency hop optimized cycle figure 5-3: tx hop cycle mrf89xa idd time mrf89xa is in tx mode on channel 1 (r1/p1/s1) mrf89xa is now ready for data transmission iddt 16 ma typ. @1 dbm iddfs 1.3 ma typ. wait ts hop wait tstwf set mrf89xa back in tx mode 1. set r2/p2/s2 2. set mrf89xa in fs mode, change frequency band select bits (fbs<1:0>) if needed, then switch from r1/p1/s1 to r2/p2/s2 ? 2010 microchip technology inc. preliminary ds70622b-page 115 mrf89xa 5.3.4 receiver frequency hop optimized cycle figure 5-4: rx hop cycle mrf89xa idd time mrf89xa is in rx mode on channel 1 (r1/p1/s1) mrf89xa is now ready for data reception iddr 3 ma typ. iddfs 1.3 ma typ. wait ts hop wait tsrwf set mrf89xa back in rx mode 1. set r2/p2/s2 2. set mrf89xa in fs mode, change frequency band select bits (fbs<1:0>), then switch from r1/p1/s1 to r2/p2/s2 note: it is also possible to move from one channel to another wi thout having to switch off the receiver. this method is faster and overall draws more current. for timing information, refer to tsrhop. mrf89xa ds70622b-page 116 preliminary ? 2010 microchip technology inc. 5.3.5 rx tx and tx rx jump cycles figure 5-5: rx tx rx cycle mrf89xa idd time mrf89xa is in rx mode set mrf89xa in tx mode mrf89xa is now ready for data transmission iddr 3.0 ma typ. wait ts twf iddt 16 ma typ. @1 dbm set mrf89xa in rx mode wait ts rwf mrf89xa is ready to receive data ? 2010 microchip technology inc. preliminary ds70622b-page 117 mrf89xa 5.4 typical performance characteristics 5.4.1 sensitivity flatness figure 5-6: sensitivity across the 869 mhz band figure 5-7: sensitivity across the 915 mhz band -106.0 -104.0 -102.0 -100.0 -98.0 -96.0 -94.0 -92.0 -90.0 863 864 865 866 867 868 869 870 frequency [mhz] sensitivity @ ber=0.1% -2.0 0.0 2.0 4.0 6.0 8.0 10.0 12.0 14.0 saw ripple [db] -106.0 -104.0 -102.0 -100.0 -98.0 -96.0 -94.0 -92.0 -90.0 902 904 906 908 910 912 914 916 918 920 922 924 926 928 frequency [mhz] sensitivity [dbm] -2.0 0.0 2.0 4.0 6.0 8.0 10.0 12.0 14.0 saw ripple [db] sensitivity saw ripple note: measured in fsk mode only. ook s ensitivity characteristics will be similar. the se nsitivity difference along the band remains i nside the ripple performance of the saw filter (the nominal passband of the 869 mhz saw filter is 868-870 mhz). the saw filter ripple response is referenced to its insertion loss at 869 mhz and 915 mhz for each filter. mrf89xa ds70622b-page 118 preliminary ? 2010 microchip technology inc. 5.4.2 sensitivity vs. lo drift figure 5-8: fsk sensitivity loss vs. lo drift figure 5-9: ook sensiti vity loss vs. lo drift -1.0 0.0 1.0 2.0 3.0 4.0 5.0 6.0 -25 -20 -15 -10 -5 0 5 10 15 20 25 lo drift [khz] sensitivity loss [db] -1.0 0.0 1.0 2.0 3.0 4.0 5.0 6.0 -100 -80 -60 -40 -20 0 20 40 60 80 100 lo drift [khz] sensitivity loss [db] note: in fsk mode, the default filter setting (?a 3? at address 0x16) is kept, leading to f c = 96 khz typical. in ook mode, ?f3? is set at address 0x16, leading to ( f c ? f o ) = 95 khz typical. both of these settings ensure that the channel filter is wide enough, therefore characterizing the demodulator response and not the filter response. ? 2010 microchip technology inc. preliminary ds70622b-page 119 mrf89xa 5.4.3 sensitivity vs. receiver bw figure 5-10: fsk sensitivity vs. rx bw figure 5-11: ook sensitivity change vs. rx bw -6.0 -5.0 -4.0 -3.0 -2.0 -1.0 0.0 1.0 50 100 150 200 250 300 f c of active filter [khz] sensitivity improvement [db] => -6.0 -5.0 -4.0 -3.0 -2.0 -1.0 0.0 1.0 0 50 100 150 200 250 300 350 f c - f o [khz] sensitivity improvement [db] => mrf89xa ds70622b-page 120 preliminary ? 2010 microchip technology inc. 5.4.4 sensitivity stability over temperature and voltage figure 5-12: sensitivity stability -2.5 -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.10 2.40 2.70 3.00 3.30 3.60 v dd [v] sensitivity improvement [db] => 85c 25c 0c -40c note: the sensitivity performance is very stable over the v dd range, and the effect of high temperature is minimal. ? 2010 microchip technology inc. preliminary ds70622b-page 121 mrf89xa 5.4.5 sensitivity vs. bit rate figure 5-13: fsk sensitivity vs. br figure 5-14: ook sensitivity vs. br -8.0 -6.0 -4.0 -2.0 0.0 2.0 4.0 6.0 8.0 02 5 50 75 bit rate [kbps] sensitivity improvement [db] => 100 -2.5 -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0 1.5 4 6.5 9 11.5 14 16.5 bit rate [kbps] sensitivity improvement [db] => mrf89xa ds70622b-page 122 preliminary ? 2010 microchip technology inc. 5.4.6 adjacent channel rejection figure 5-15: acr in fsk mode figure 5-16: acr in ook mode 0 10 20 30 40 50 60 70 -1000 -800 -600 -400 -200 0 200 400 600 800 1000 offset [khz] acr [db] -20 -10 0 10 20 30 40 50 60 -300 -200 -100 0 100 200 300 offset [khz] acr [db] note: in fsk mode, the unwanted signal is unmodulated (as described in the en 300-220). co-channel rejection (ccr, offset = 0 khz) is positive due to the dc cancellation process of the zero-if architecture. in ook mode, the polyphase filter efficiency is limite d, thus limiting the adjacent channel rejection at 2xfo distance. ? 2010 microchip technology inc. preliminary ds70622b-page 123 mrf89xa 5.4.7 output power flatness figure 5-17: p out for 869 mhz band operation figure 5-18: p out for 915 mhz band operation 0.0 2.0 4.0 6.0 8.0 10.0 12.0 863 864 865 866 867 868 869 870 frequency [mhz] p out [dbm] -8.0 -6.0 -4.0 -2.0 0.0 2.0 4.0 saw ripple [db] p out saw ripple 0.00 2.00 4.00 6.00 8.00 10.00 12.00 902 904 906 908 910 912 914 916 918 920 922 924 926 928 frequency [mhz] p out [dbm] -8.0 -6.0 -4.0 -2.0 0.0 2.0 4.0 saw ripple [db] p out saw ripple note: as noted in section 4.3.1 ?saw filter plot? , the 869 mhz saw filter does not cover the entire european 863-870 mhz frequency band when used in a 50 environment. therefore, the output power degradation at the lowest frequencies. for applications in the 863-860 mhz band, it is recommended that an appropriate saw filter be impl emented or that the saw response is tuned by external matchin g. the saw filter ripple references are the insertion loss of each saw at 869 mhz and 915 mhz. mrf89xa ds70622b-page 124 preliminary ? 2010 microchip technology inc. 5.4.8 p out and i dd vs. pa setting figure 5-19: p out and i dd at all pa setting ? 869 mhz figure 5-20: p out and i dd at all pa settings ? 915 mhz -12.0 -8.0 -4.0 0.0 4.0 8.0 12.0 01 23 456 7 tx output power (txopval<2:0>) [d] p out [dbm] 10.00 12.00 14.00 16.00 18.00 20.00 22.00 24.00 26.00 28.00 pout i dd -12.0 -10.0 -8.0 -6.0 -4.0 -2.0 0.0 2.0 4.0 6.0 8.0 10.0 12.0 0123 4567 tx output power (txopval<2:0>) [d]] p out [dbm] 10.0 12.0 14.0 16.0 18.0 20.0 22.0 24.0 26.0 28.0 30.0 i dd [ma] pout i dd note: +10 dbm typical. output power is achievable, evan at saw filter?s output. ? 2010 microchip technology inc. preliminary ds70622b-page 125 mrf89xa 5.4.9 p out stability over temperature and voltage figure 5-21: p out stability the output power is not sensit ive to the supply voltage, and it decreases slightly when temperature rises. -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 2.1 2.4 2.7 3.0 3.3 3.6 v dd [v] p out improvement [db] => 85oc 25oc -40oc 0oc mrf89xa ds70622b-page 126 preliminary ? 2010 microchip technology inc. 5.4.10 transmitter spectral purity figure 5-22: 869 mhz spectral purity dc-1 ghz figure 5-23: 869 mhz spectral purity 1-6 ghz ? 2010 microchip technology inc. preliminary ds70622b-page 127 mrf89xa 5.4.11 ook channel bandwidth the ook bit rate ranges form 1.56 to 16.7 kbps. for the lowest bit rates, a channel spacing around 200 khz is achievable. figure 5-24: ook spectrum ? 2 kbps figure 5-25: ook spectrum ? 8 kbps mrf89xa ds70622b-page 128 preliminary ? 2010 microchip technology inc. figure 5-26: ook spectrum ? 16.7 kbps ? 2010 microchip technology inc. preliminary ds70622b-page 129 mrf89xa 5.4.12 fsk spect rum in europe figure 5-27 illustrates the minimal spectral occupation achievable in the european band, ensure that the min- imum frequency deviation that a mrf89xa receiver can accept is 33 khz. if the companion receiver can accept smaller frequency devia tions, the range of mod- ulation bandwidth can be further decreased. figure 5-27: fsk ? 1.56 kbps ? 33 khz the default configuration of the mrf89xa yields the bandwidth visible on figure 5-28. figure 5-28: fsk ? 25 kbps ? 50 khz figure 5-28 illustrates the maximal bit rate and frequency deviation that can fit in the 868 to 868.6 mhz european sub-band. mrf89xa ds70622b-page 130 preliminary ? 2010 microchip technology inc. figure 5-29: fsk ? 40 kbps ? 40 khz ? 2010 microchip technology inc. preliminary ds70622b-page 131 mrf89xa 5.4.13 digital modulation schemes fcc part 15.247 allows for systems employing digital modulation techniques to transmit up to 1 w, provided that the 6 db bandwidth of the signal is at least 500 khz and that the power spectral density does not exceed 8 dbm in any 3 khz bandwidth. the mrf89xa can meet these constraints while transmitting at the maxi mum output power of the device, typically 10 dbm. the built-in whitening process details are described in section 3.11.4.2 ?data whitening? . figure 5-30: dts 6 db bandwidth figure 5-31: dts power spectral density 5.4.14 current stability over temperature and voltage figure 5-32 provides graphs for i dd vs. temperature and v dd . conditions: ?p out = +10.6dbm ? f dev = +/-200khz ? br =100 kbps (chip rate=100 kcps, as data whitening is enabled) ? packet mode, data whitening enabled mrf89xa ds70622b-page 132 preliminary ? 2010 microchip technology inc. figure 5-32: i dd vs. temperature and v dd tx mode current (max output power) 0.0 5.0 10.0 15.0 20.0 25.0 30.0 2.1 2.4 2.7 3.0 3.3 3.6 vdd [v] itx [ma] txlvl=000 sleep mode current 0 200 400 600 800 1000 1200 2 . 12 . 42 . 7 3 3 . 33 . 6 vdd [v] isleep [na] stand-by mode current 0 10 20 30 40 50 60 70 80 90 100 2.1 2.4 2.7 3 3.3 3.6 vdd [v] istby [a] 85oc 25oc 0oc -40oc fs mode current 0.00 0.20 0.40 0.60 0.80 1.00 1.20 1.40 1.60 1.80 2.00 2 . 12 . 42 . 7 3 3 . 33 . 6 vdd [v] ifs [ma] rx mode current 0.00 0.50 1.00 1.50 2.00 2.50 3.00 3.50 4.00 2.1 2.4 2.7 3 3.3 3.6 vdd [v] irx [ma] legend: ? 2010 microchip technology inc. preliminary ds70622b-page 133 mrf89xa 6.0 packaging information 6.1 package details this section provides the technical details of the packages. mrf89xa ds70622b-page 134 preliminary ? 2010 microchip technology inc. notes: ? 2010 microchip technology inc. preliminary ds70622b-page 135 mrf89xa appendix a: fsk and ook rx filters vs. bit rates table a-1: fsk rx filters vs. bit rate table a-2: ook rx filters vs. bit rate bit rate fdev filter setting address 16 fdev + br/2 rx 3db bw maximum drift programmed actual kbps khz hex khz khz khz ppm 100 200 ff 250 400 306 62 66.67 133 e9 166.7 250 214 53 50 100 d6 125 175 158 37 40 80 b5 100 150 137 41 33.33 67 a4 83.3 125 116 36 28.57 57 a3 71.4 100 96 27 25 50 a3 62.5 100 96 37 22.22 44 72 55.6 75 69 15 20 40 72 50 75 69 21 18.18 36 72 45.5 75 69 26 16.67 33 72 41.7 75 69 30 15.38 33 41 41 50 47 7 14.29 33 41 40.5 50 47 7 12.5 33 41 39.6 50 47 8 10 33 41 38.3 50 47 10 5 3 34 13 5 . 85 04 71 2 2 3 34 13 4 . 35 04 71 4 bit rate fo + br filter setting address 16 rx 3 db bw maximum drift programmed actual kbps khz hex khz khz ppm 16.67 117 c1 150 154 41 12.5 113 c1 150 154 46 9.52 110 a0 125 129 22 8 108 a0 125 129 23 4.76 105 a0 125 129 27 2.41 102 a0 125 129 30 1.56 102 a0 125 129 30 mrf89xa ds70622b-page 136 preliminary ? 2010 microchip technology inc. appendix b: revision history revision a (january 2010) this is the initial version of this document. revision b (june 2010) updates have been incorporated throughout the document, which required extensive revisions to all chapters. this version also includes minor typographical and formatting changes throughout the data sheet text. ? 2010 microchip technology inc. preliminary ds70622b-page 137 mrf89xa mrf89xa the microchip web site microchip provides online support via our www site at www.microchip.com. this web site is used as a means to make files and information easily available to customers. accessible by using your favorite internet browser, the web site contains the following information: ? product support ? data sheets and errata, application notes and sample programs, design resources, user?s guides and hardware support documents, latest software releases and archived software ? general technical support ? frequently asked questions (faq), technical support requests, online discussion groups, microchip consultant program member listing ? business of microchip ? product selector and ordering guides, latest microchip press releases, listing of seminars and events, listings of microchip sales offices, distributors and factory representatives customer change notification service microchip?s customer notification service helps keep customers current on microchip products. subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest. to register, access the microchip web site at www.microchip.com, click on customer change notification and follow the registration instructions. customer support users of microchip products can receive assistance through several channels: ? distributor or representative ? local sales office ? field application engineer (fae) ? technical support ? development systems information line customers should contact their distributor, representative or field application engineer (fae) for support. local sales offices are also available to help customers. a listing of sa les offices and locations is included in the back of this document. technical support is available through the web site at: http://suppo rt.microchip.com mrf89xa ds70622b-page 138 preliminary ? 2010 microchip technology inc. reader response it is our intention to provide you wit h the best documentation possible to ensur e successful use of your microchip prod- uct. if you wish to provide your comments on organization, clarity, subject matter, and ways in which our documentation can better serve you, please fax your comments to t he technical publications manager at (480) 792-4150. please list the following information, and use this outli ne to provide us with your comments about this document. to : technical publications manager re: reader response total pages sent ________ from: name company address city / state / zip / country telephone: (_______) _________ - _________ application (optional): would you like a reply? y n device: literature number: questions: fax: (______) _________ - _________ ds70622b mrf89xa 1. what are the best features of this document? 2. how does this document meet your hardware and software development needs? 3. do you find the organization of this document easy to follow? if not, why? 4. what additions to the document do you th ink would enhance the structure and subject? 5. what deletions from the document could be made without affecting the overall usefulness? 6. is there any incorrect or misleading information (what and where)? 7. how would you improve this document? ? 2010 microchip technology inc. preliminary ds70622b-page 139 mrf89xa index a absolute maximum ratings .............................................. 107 architecture description ...................................................... 20 b bit synchronizer .................................................................... 7 block diagrams detailed....................................................................... 12 mrf89xa simplified functional ................................... 8 power supply.............................................................. 14 c channel filters .................................................................... 16 clkout output (clkout pin) ......................................... 16 configuration control/status register map ........................ 57 configuration/control/status register description ............. 30 customer change notification service ............................. 137 customer support ............................................................. 137 d data pin ............................................................................ 19 digital pin configuration vs. chip mode ............................. 18 e electrical characteristics................................................... 107 current consumption................................................ 108 digital i/o pin input specifications............................ 109 pll parameters ac characteristics ......................... 109 receiver ac characteristics ..................................... 110 spi timing specification ........................................... 111 switching times and procedures ............................. 112 transmitter ac charac teristics ................................. 111 errata .................................................................................... 5 f features digital data processing................................................. 7 frequency synthesizer block ............................................. 16 frequency synthesiz er description .................................... 16 fsk receiver setting.......................................................... 22 g general configuration register details .............................. 32 h hardware description ................................................... 11, 97 i i(t), q(t) overview ............................................................... 20 internet address................................................................ 137 interpolation filter ............................................................... 15 irq pins and interrupts ...................................................... 19 l lo generator ...................................................................... 17 low noise amplifier (with first mixer)................................. 15 m memory map ....................................................................... 28 microchip internet web site .............................................. 137 o ook receiver setting......................................................... 22 p packaging details....................................................................... 133 packaging information ...................................................... 133 phase-locked loop architecture........................................ 17 pin descriptions.................................................................. 13 pins clkout ............................................................... 17, 23 data .......................................................................... 19 osc1.......................................................................... 16 osc2.......................................................................... 16 plock ....................................................................... 17 reset .......................................................................... 15 rfio ..................................................................... 11, 15 pll lock pin ...................................................................... 17 p out and i dd vs. pa setting .......................... 124, 15, 14, 17 r read bytes sequence ........................................................ 27 read register sequence.................................................... 25 reader response............................................................. 138 receiver architecture ......................................................... 21 recommended operating conditions............................... 107 recommended pa biasing and output matching ............ 101 reference oscillator pi ns (osc1/osc2) ........................... 16 register map ...................................................................... 57 registers bit rate set register (brsreg) ............................... 34 clock output control register (clkoutreg) .......... 53 data and modulation configuration register (dmodreg) ...................................................... 33 fifo configuration register (fifocreg)................. 35 fifo crc configuration register (fcrcreg)......... 56 fifo transmit and receive interrupt request configuration regist er (ftxrxireg)................ 40 fifo transmit pll and rssi interrupt request configuration register (ftprireg) .................. 42 filter configuration register (filcreg).................... 45 floor threshold control register (flthreg) ........... 35 frequency deviation control register (fdevreg)... 34 general configuration register (gconreg) ............ 32 node address set register (naddsreg) ................ 54 ook configuration register (ookcreg) ................. 49 p1 counter set register (p1creg) .......................... 36 p2 counter set register (p2creg) .......................... 38 packet configuration register (pktcreg) ............... 55 payload configuration register (ploadreg) .......... 54 polyphase filter configuration register (pfconreg)..................................................... 46 power amplifier control register (pacreg)............. 39 r1 counter set register (r1creg) .......................... 36 r2 counter set register (r2creg) .......................... 37 reserved register (resvreg)................................. 48 rssi status read register (rstsreg) ................... 48 rssi threshold interrupt request configuration register (rsthireg) ........................................ 44 s1 counter set register (s1creg) .......................... 37 s2 counter set register (s2creg) .......................... 38 sync control register (syncreg) ......................... 47 sync value first byte configuration register (syncv32reg) ............ 50 sync value fourth byte configuration register (syncv07reg) ............ 51 mrf89xa ds70622b-page 140 preliminary ? 2010 microchip technology inc. sync value second byte configuration register (syncv23reg)............. 50 sync value third byte configuration register (syncv15reg)............. 51 transmit parameter configuration register txconreg) ...................................................... 52 revision history ................................................................ 136 s serial peripheral interface (spi) ......................................... 22 spi config ........................................................................... 24 spi data.............................................................................. 26 spi interface overview and host microcontroller connections ................................................................ 23 suggested pa biasing and matching.................................. 15 super-heterodyne architecture........................................... 11 supported feature blocks 64-byte transmit and receive fifo buffer ................ 11 bit synchronization ..................................................... 11 data filtering and whitening....................................... 11 general configuration registers................................. 11 supported frequency bands .................................................. 7 switching times and procedures optimized receive cycle .......................................... 112 optimized transmit cycle ......................................... 113 receiver frequency hop optimized cycle ............... 115 rx tx and tx rx jump cycles ......................... 116 transmitter frequency hop optimized cycle ........... 114 t transmitter architecture ..................................................... 19 transmitter description....................................................... 19 typical performance characteristics adjacent channel rejection ..................................... 122 current stability over temperature and voltage...... 131 digital modulation schemes ..................................... 131 fsk spectrum in europe .......................................... 129 ook channel bandwidth.......................................... 127 output power flatness ............................................. 123 p out stability over temperature and voltage.......... 125 sensitivity flatness ................................................... 117 sensitivity stability over temperature and voltage .. 120 sensitivity vs. bit rate .............................................. 121 sensitivity vs. lo drift............................................... 118 sensitivity vs. receiver bw ...................................... 119 transmitter spectral purity ....................................... 126 v voltage controlled oscillator .............................................. 17 w write bytes sequence ........................................................ 26 write register sequence.................................................... 24 www address ................................................................. 137 www, on-line support ....................................................... 5 ? 2010 microchip technology inc. preliminary ds70622b-page 141 mrf89xa product identification system to order or obtain information, for example, on pricing or delivery, refer to the factory or the listed sales office . part no. x /xx xxx pattern package temperature range device device mrf89xa: ultra low-power, integrated ism band sub-ghz transceiver temperature range i = -40oc to +85oc (industrial) package mq = qfn (quad flat, no lead) t = tape and reel example: a) mrf89xa-i/mq: industrial temperature, qfn package. b) mrf89xat-i/mq: industrial temperature, qfn package, tape and reel. ds70622b-page 142 preliminary ? 2010 microchip technology inc. americas corporate office 2355 west chandler blvd. chandler, az 85224-6199 tel: 480-792-7200 fax: 480-792-7277 technical support: http://support.microchip.com web address: www.microchip.com atlanta duluth, ga tel: 678-957-9614 fax: 678-957-1455 boston westborough, ma tel: 774-760-0087 fax: 774-760-0088 chicago itasca, il tel: 630-285-0071 fax: 630-285-0075 cleveland independence, oh tel: 216-447-0464 fax: 216-447-0643 dallas addison, tx tel: 972-818-7423 fax: 972-818-2924 detroit farmington hills, mi tel: 248-538-2250 fax: 248-538-2260 kokomo kokomo, in tel: 765-864-8360 fax: 765-864-8387 los angeles mission viejo, ca tel: 949-462-9523 fax: 949-462-9608 santa clara santa clara, ca tel: 408-961-6444 fax: 408-961-6445 toronto mississauga, ontario, canada tel: 905-673-0699 fax: 905-673-6509 asia/pacific asia pacific office suites 3707-14, 37th floor tower 6, the gateway harbour city, kowloon hong kong tel: 852-2401-1200 fax: 852-2401-3431 australia - sydney tel: 61-2-9868-6733 fax: 61-2-9868-6755 china - beijing tel: 86-10-8528-2100 fax: 86-10-8528-2104 china - chengdu tel: 86-28-8665-5511 fax: 86-28-8665-7889 china - chongqing tel: 86-23-8980-9588 fax: 86-23-8980-9500 china - hong kong sar tel: 852-2401-1200 fax: 852-2401-3431 china - nanjing tel: 86-25-8473-2460 fax: 86-25-8473-2470 china - qingdao tel: 86-532-8502-7355 fax: 86-532-8502-7205 china - shanghai tel: 86-21-5407-5533 fax: 86-21-5407-5066 china - shenyang tel: 86-24-2334-2829 fax: 86-24-2334-2393 china - shenzhen tel: 86-755-8203-2660 fax: 86-755-8203-1760 china - wuhan tel: 86-27-5980-5300 fax: 86-27-5980-5118 china - xian tel: 86-29-8833-7252 fax: 86-29-8833-7256 china - xiamen tel: 86-592-2388138 fax: 86-592-2388130 china - zhuhai tel: 86-756-3210040 fax: 86-756-3210049 asia/pacific india - bangalore tel: 91-80-3090-4444 fax: 91-80-3090-4123 india - new delhi tel: 91-11-4160-8631 fax: 91-11-4160-8632 india - pune tel: 91-20-2566-1512 fax: 91-20-2566-1513 japan - yokohama tel: 81-45-471- 6166 fax: 81-45-471-6122 korea - daegu tel: 82-53-744-4301 fax: 82-53-744-4302 korea - seoul tel: 82-2-554-7200 fax: 82-2-558-5932 or 82-2-558-5934 malaysia - kuala lumpur tel: 60-3-6201-9857 fax: 60-3-6201-9859 malaysia - penang tel: 60-4-227-8870 fax: 60-4-227-4068 philippines - manila tel: 63-2-634-9065 fax: 63-2-634-9069 singapore tel: 65-6334-8870 fax: 65-6334-8850 taiwan - hsin chu tel: 886-3-6578-300 fax: 886-3-6578-370 taiwan - kaohsiung tel: 886-7-536-4818 fax: 886-7-536-4803 taiwan - taipei tel: 886-2-2500-6610 fax: 886-2-2508-0102 thailand - bangkok tel: 66-2-694-1351 fax: 66-2-694-1350 europe austria - wels tel: 43-7242-2244-39 fax: 43-7242-2244-393 denmark - copenhagen tel: 45-4450-2828 fax: 45-4485-2829 france - paris tel: 33-1-69-53-63-20 fax: 33-1-69-30-90-79 germany - munich tel: 49-89-627-144-0 fax: 49-89-627-144-44 italy - milan tel: 39-0331-742611 fax: 39-0331-466781 netherlands - drunen tel: 31-416-690399 fax: 31-416-690340 spain - madrid tel: 34-91-708-08-90 fax: 34-91-708-08-91 uk - wokingham tel: 44-118-921-5869 fax: 44-118-921-5820 worldwide sales and service 01/05/10 |
Price & Availability of MRF89XAT-IMQ
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |