|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
rfm63 b p a g e 1 of 9 1 rf m63b is m t r ans c ei ve r mo dul e v 1 . 1 a d v a nc e d c o mm uni c a t i o ns & s e n s ing g ene r al desc r i p tion t he rfm63 b i s a l o w c o s t t r an sc e i v e r module ope r a t i n g in the 868 and 915mhz f r eq u en c y bands , t he RFM63B i s op t i m i z e d f or v e r y l o w p o wer c on s u m pt i on ( 3 m a i n r e c e iv e r m ode ) . it i n c o r po r ates a b a s eba n d m od e m w i th d at a r ates up t o 2 0 0 k b/ s . data han d l i ng f ea t u r es i n cl ude a s i x t y - f our b y te f i fo , pa ck et han d l i ng, a uto m at i c crc gene r at i on a nd data w h i t en i ng. a l l m a j or r f c o m m un i c at i on pa r a m ete r s a r e p r og r a m m ab l e an d m o s t of th e m m ay b e d y na m i c a l l y s e t . it c o m p li es w i t h e u r o p ean ( e t s i e n 3 0 0 - 220 v 2 .1.1) a n d no r t h a m e r i c an (f cc pa r t 15 .2 47 a n d 1 5 .2 4 9) r eg u l ato r y s tanda r d s . note fea t u r es ? l o w rx po w er c o n s u m pt i on: 3 m a ? l o w t x p o w er c on s u m pt i o n : 25 m a @ + 10 d b m ? g ood r e c ep t i on s e n s i t iv i t y : d o w n to - 1 0 5 d b m at 25 k b/s i n f s k , - 1 1 1 d b m at 2 k b/s i n oo k ? p r og r a m m ab l e rf out p ut po w e r : up t o + 1 2 d b m i n 8 s teps ? p a c k et ha n d l i ng f eatu r e w i th da t a wh i t e n i ng a n d auto m at i c crc ge n e r at i on ? w i de r ss i ( re c e i v ed s i g nal s t r e ng t h i nd i c a to r ) d y n a m i c r ange, 7 0 d b f r o m rx no i s e f l o or ? bi t r ates u p to 200 k b/ s , nrz c od i n g ? o n - c h i p f r equ e n c y s y n t h e si z er ? f s k and o o k m odu l a t i o n ? in c o m i ng s y nc w o r d r e c og n i t i on ? b u i l t - i n bi t - s y n c h r o n i z er f or i n c o m i ng da t a and c l o c k s y n c h r o n i z at i on and r e c o v e r y ? module size 19.7 x16 mm ? o pt i m iz ed c i rc u i t c on f i gu r at i on f or l o w - c o s t ap p li c a t i ons a pp li c at i ons ? w i r e l e s s a l a r m and s e c u r i t y s y s te m s ? w i r e l e s s s en s or ne t w o r k s ? a uto m ated meter re a d i ng ? ho m e and b u i l d i ng a uto m at i on ? indu s t ri al m on i to r i ng a n d c ont r ol ? re m ote w i r e l e s s cont r ol RFM63B in order to better use RFM63B modules, this specification also involves a large number of the parameters and functions of its core chip rf6 3 's, including those ic pins which are not leaded out. all of these ca n help customers gain a better understanding of t he performance of RFM63B modules, and enhance the application skills. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:///
a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 2 of 9 1 rfm63 b table of co n te n ts 1. gene r al d e sc r i p t ion ................................................................. . 5 1 . 1. s i m p li f ied b l o c k d iag r a m ...................................................... . 5 1 . 2. p in d iag r a m .......................................................................... . 6 1 . 3. p in d e sc r i p t ion ..................................................................... . 7 2. e le c t r i c al c ha r a ct e r i s t i c s .............................................. ........... . 8 2 . 1. es d n o t i c e ........................................................................... . 8 2 . 2. a b s ol u t e m a x i m u m r a t in g s .................................................. . 8 2 . 3. ope r a t ing r ange .......................................... ........................ . 8 2 . 4. c hip s p e c i f i c a t ion ................................................................. . 8 2 . 4 . 1. p o w er c on s u m p t ion .......................................................... . 8 2 . 4 . 2. f r equen c y s y n t he s i s ..................... .................................... . 9 2 . 4 . 3. t r an s m i t t er ........................................................................ . 9 2 . 4 . 4. r e c ei v er .......................................................................... . 10 2 . 4 . 5. d igi t al s p e c i f i c a t i on ......................................................... . 11 3. a r c hi t e c t u r e d e s c r ip t ion ......................................................... . 12 3 . 1. p o w er s upply st r a t egy ....................................................... . 12 3 . 2. f r equen c y s y n t h e s i s d e sc r i p t io n ........................................ . 13 3 . 2 . 1. r e f e r en c e o s c i l la t or ........................................................ . 13 3 . 2 . 2. c l k o u t ou t p u t .............................................................. . 13 3 . 2 . 3. p ll a r c hi t e ct u r e .............................................................. . 14 3 . 2 . 4. p ll t r adeo f f s .................................................................. . 14 3 . 2 . 5. v o l t age c on t r olled o s c i l la t o r ............................................ . 15 3 . 2 . 6. p ll loop fi l t er ................................................................ . 16 3 . 2 . 7. p ll lo c k d e t e c t ion i nd i c a t or ........................................... . 16 3 . 2 . 8. f r equen c y c a l c ula t ion .................................................... . . 16 3 . 3. t r an s m i tt er d e s c r ip t io n ....................................................... . 18 3 . 3 . 1. a r c hi t e ct u r e d e s c r ip t io n ................................................... . 18 3 . 3 . 2. b i t r a t e s e t t in g .................................................... ............ . 19 3 . 3 . 3. a l t e r na t i v e s e t t ing s .......................................................... . 19 3 . 3 . 4. fdev s e t t ing in f s k m ode ............................................... . 19 3 . 3 . 5. fdev s e t t ing in ook m ode ................................. ............. . 19 3 . 3 . 6. i n t e r pola t ion f il t er ............................................................ . 20 3 . 3 . 7. p o w er a m pl i f ier ............................................................... . 20 3 . 3 . 8. c o m m on i nput and o u t put f r on t - e nd ............. ................. . 22 3 . 4. r e c ei v er d e s c r ip t io n ........................................................... . 23 3 . 4 . 1. a r c hi t e ct u r e ..................................................................... . 23 3 . 4 . 2. l n a and fi r s t m i x er ........................ ................................. . 24 3 . 4 . 3. i f gain and s e c ond i/ q m i x e r .......................................... . 24 3 . 4 . 4. c hannel fi l t e r s ................................................................ . 24 3 . 4 . 5. c hannel fi l t e r s s e tt ing in f s k m ode . .............................. . 25 3 . 4 . 6. c hannel fi l t e r s s e tt ing in o ok m ode .............................. . 26 3 . 4 . 7. rs s i ................................................................................ . 26 3 . 4 . 8. fdev s e t t ing in r e c ei v e m ode ........... .............................. . 28 3 . 4 . 9. f s k d e m odula t or ............................................................ . 28 3 . 4 . 10. ook d e m odula t or ......................................................... . 28 3 . 4 . 11. b i t s y n c h r oni z er ...................... ...................................... . 31 3 . 4 . 12. a l t e r na t i v e s e t t ing s ........................................................ . 32 3 . 4 . 13. d a t a o u t put ................................................................... . 32 4. ope r a t ing m odes ............. ...................................................... . 33 4 . 1. m odes of ope r a t ion ............................................................ . 33 4 . 2. d ig i t al p in c on f igu r a t ion v s . c hip m ode .............................. . 33 5. d a t a p r o c e s s ing ......... ........................................................... . 34 5 . 1. o v e rv iew ............................................................................ . 34 5 . 1 . 1. b l o c k d iag r a m ................................................................. . 34 5 . 1 . 2. d a t a ope r a t ion m ode s ..................................................... . 34 5 . 2. c on t r ol b lo c k d e sc r i p t io n .................................................... . 35 5 . 2 . 1. s p i i n t e r f a c e .................................................................... . 35 5 . 2 . 2. f i fo ................................................................................ . 38 5 . 2 . 3. s y nc w o r d r e c ogni t ion ................................................... . 40 5 . 2 . 4. p a ck e t h andler ................................................. ............... . 40 5 . 2 . 5. c on t r o l ............................................................................. . 40 5 . 3. c on t inuous m ode ............................................................... . 41 5 . 3 . 1. gene r al d e s c r ip t ion ....................... .................................. . 41 5 . 3 . 2. tx p r o c e ss ing .................................................................. . 41 5 . 3 . 3. r x p r o c e s s ing .................................................................. . 42 5 . 3 . 4. i n t e rr upt s ignals m apping . ............................................... . 42 5 . 3 . 5. uc c onne c t ions ............................................................... . 43 5 . 3 . 6. c on t inuous m ode e x a m ple .............................................. . 43 5 . 4. b u f f e r ed m ode ............. ....................................................... . 44 5 . 4 . 1. gene r al d e s c r ip t ion ......................................................... . 44 5 . 4 . 2. tx p r o c e ss ing .................................................................. . 44 5 . 4 . 3. r x p r o c e s s ing .................................................................. . 45 5 . 4 . 4. i n t e rr upt s ignals m apping ................................................ . 46 5 . 4 . 5. uc c onne c t ions ............................................................... . 47 5 . 4 . 6. b u ff e r ed m ode e x a m pl e ................................................... . 47 5 . 5. p a c k et m od e ....................................................................... . 49 5 . 5 . 1. gene r al d e s c r ip t ion ......................................................... . 49 5 . 5 . 2. p a ck e t fo r m at ................................................................. . 49 5 . 5 . 3. tx p r o c e ss ing .................................................................. . 51 5 . 5 . 4. r x p r o c e s s ing ................................................ .................. . 51 5 . 5 . 5. p a ck e t fil t e r ing ................................................................ . 52 5 . 5 . 6. dc - f r ee d a t a m e c han i s m s .............................................. . 53 5 . 5 . 7. i n t e rr upt s ignal m apping ........................... ....................... . 54 5 . 5 . 8. uc c onne c t ions ............................................................... . 55 5 . 5 . 9. p a ck e t m ode e x a m ple ..................................................... . 56 5 . 5 . 10. a dd i t ional i n f o r m a t ion ...................... .............................. . 56 6. c on f igu r a t ion and st a t u s r eg i s t e r s ........................................ . 58 6 . 1. gene r al d e s c r ip t ion ............................................................ . 58 6 . 2. m ain c on f igu r a t ion r eg i st er - m c p a r a m ....... ...................... . 58 6 . 3. i n t e rr upt c o n f igu r a t ion p a r a m e t e r s - i r q p a r a m ................. . 60 6 . 4. r e c ei v er c on f igu r a t ion pa r a m e t e r s - r x p a r am .................. . 62 6 . 5. s y nc w o r d p a r a m e t e r s - s y n c p a r a m ................................ . 63 6 . 6. t r an s m i tt er p a r a m e t e r s - t x p a r am .................................... . 64 6 . 7. o s c ill a t or p a r a m e t e r s - o s cp a r am .................................... . 64 6 . 8. p a c k et h andling p a r a m e t e r s p k t p a r a m ...................... . ... . 65 7. a pp l i c a t ion i n f o r m a t ion ....... ................................................... . 66 7 . 1. crys t al r e s ona t or s pe c i f i c a t i o n .......................................... . 66 7 . 2. s o f t w a r e f or f r equen c y c al c u la t ion .................................... . 66 7 . 2 . 1. g u i ........................ .......................................................... . . 66 7 . 2 . 2. . dll f or a u t o m a t i c p r odu c t ion b e n c h ................................. . 66 7 . 3. s w i tc hing t i m e s and p r o c edu r es ........................................ . 66 7 . 3 . 1. op t i m i z ed r e c e i v e cy c le ................................................. . 67 7 . 3 . 2. op t i m i z ed t r a n s m i t cyc le ................................................ . 68 7 . 3 . 3. t r an s m i t t er f r equen c y h op op t i m i z ed c y c le ................... . 69 7 . 3 . 4. r e c ei v er f r equen c y h op o p t i m i z ed cyc le ....................... . 70 7 . 3 . 5. r x tx and t x r x j u m p cy c les .................................... .. . 71 7 . 4. r e s et of t he c hip ................................................................ . 72 7 . 4 . 1. p o r ........................................... ...................................... . . 72 7 . 4 . 2. m anual r e s e t ................................................................ . ... . 72 7 . 5. r e f e r en c e d e s ign ............................................................ . ... . 73 7 . 5 . 1. a ppl i c a t ion sc h e m a t i c . ..................................................... . 73 7 . 5 . 2. p c b la y out ..................................................................... . . 73 7 . 5 . 3. b i ll o f m a t e r ial ................................................................. . . 74 7 . 5 . 4. s a w fil t er p l o t .............................................................. . .. . 75 7 . 5 . 5. o r de r ing i n f o r m a t ion f or t o ols ......................................... . 75 7 . 6. r e f e r en c e d e s ign p e r f o r m a n c e .......................................... . 76 7 . 6 . 1. s e n s i t i v i t y fl a t ne s s .......................................................... . 77 7 . 6 . 2. s e n s i t i v i t y vs . lo dr i f t ...................................................... . 78 7 . 6 . 3. s e n s i t i v i t y vs . r e c ei v er b w ............................................. . 79 7 . 6 . 4. s e n s i t i v i t y st abil i t y o v er t e m pe r a t u r e and v o l t age ........... . 80 7 . 6 . 5. s e n s i t i v i t y vs . b it r a t e ..................................................... . . 80 7 . 6 . 6. a dj a c ent c hannel r eje c t ion ............................................. . 81 7 . 6 . 7 . ou t p u t p o w er fla t ne ss ..................................................... . 82 7 . 6 . 8. p o u t and i d d vs . p a s e tt ing ............................................ . 83 t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 3 of 9 1 rfm63 b 7 . 6 . 9. p o u t st abil i t y o v er t e m pe r a t u r e and v o l t age ................... . 84 7 . 6 . 10. t r a n s m i t t er s p e ct r al p u r i t y ............................................ . 85 7 . 6 . 11. ook c hannel b and w id t h ............................................... . 86 7 . 6 . 12. f s k s pe c t r u m in e u r ope ............................................... . 87 7 . 6 . 13. d igi t al m odula t ion sc h e m e s........................................... . 88 7 . 6 . 14. c u rr ent s t abil i t y o v er t e m pe r a t u r e and v o l t age ............ . 89 8. p a c k aging i n f o r m a t ion ........................................................... . 90 9. ordering information . ...91 index of fi g u r e s figu r e 1: RFM63B s i m pl i f ied b lo c k d iag r a m ........................... ... . . .... . 5 figu r e 2: RFM63B p in d iag r a m ................................................. .... ... . 6 figu r e 3: RFM63B d e t ailed b l o c k d iag r am .... ........................... .... .. . 12 figu r e 4: p o w er s upply b r ea k do w n ........................................... . 13 figu r e 5: f r equen c y s y n t h e s i z er d e sc r ip t io n ............................. . 14 figu r e 6: lo gene r a t or ...................................... ....................... . 14 figu r e 7: loop fi l t er .................................................................. . 16 figu r e 8: t r an s m i t t er a r c hi t e ct u r e ............................................. . 18 figu r e 9: i ( t ) , q ( t ) o v e rv iew .................... ................................... . 18 figu r e 10: p a c on t r ol ................................................................ . 21 figu r e 11: o p t i m a l load i m peda n c e c ha r t ................................ . 21 figu r e 12: r e c o mm ended p a b i a s ing and ou t put m a t c hing .... . 22 figu r e 13: f r on t - end d e s c r ip t ion ............................................... . 22 figu r e 14: r e c ei v er a r c hi t e ct u r e ............................................... . 23 figu r e 15: f s k r e c ei v er s e t t ing ....................................... ........ . 23 figu r e 16: o ok r e c ei v er s e t t ing .............................................. . 23 figu r e 17: a c t i v e c hannel fil t er d e sc r i p t ion .............................. . 24 figu r e 18: b u t t e r w o r t h fil t e r ' s a ct ual b w .................................. . 26 figu r e 19: p ol y pha s e fi l t e r ' s a ct u al b w .................................... . 26 figu r e 20: r s s i dy n a m i c r ange ............................................... . 27 figu r e 21: r s s i i r q ti m in g s .................................................... . 28 figu r e 22: o ok d e m odula t or d e s c r ip t ion .................................. . 29 figu r e 23: floor th r e s hold op t i m i z a t ion .................................... . 30 figu r e 24: b i t s y nc d e s c r ip t io n ............................................. . ...... . 31 figu r e 25: RFM63B ? s d a t a p r o c e s s ing c on c ep t ual v iew ......... . . . ... 34 figu r e 26: s p i i n t e r f a c e o v e rv iew and uc c onne ct io n s ............ . 35 figu r e 27: w r i t e r eg i st er s equen c e .......................................... . . 36 figu r e 28: r ead r eg i st er s eque n c e .................. ........................ . 37 figu r e 29: w r i t e b y t es s eque n c e ( e x : 2 b y t e s ) .......................... . 37 figu r e 30: r ead b y t e s s equen c e ( e x : 2 b y t e s ) .......................... . 38 figu r e 31: f i fo and s hi f t r eg i st er ( s r ) ................................... . . 38 figu r e 32: f i fo th r e s hold i r q s o u r c e b eha v ior ...................... . 39 figu r e 33: s y nc w o r d r e c ogn i t ion ............................................ . 40 figu r e 34: c on t inuous m ode c o n c ep t ual v iew .......................... . 41 figu r e 35: tx p r o c e s s ing in c on t i n uous m ode ........................... . 41 figu r e 36: r x p r o c e s s ing in c on t i nuous m ode .......................... . 42 figu r e 37: uc c onne ct io n s in c on t inuous m ode ........................ . 43 figu r e 38: b u f f e r ed m ode c on c ep t ual v ie w ............. .................. . 44 figu r e 39: tx p r o c e ss ing in b u f f e r ed m ode ............................... . 45 figu r e 40: r x p r o c e s s ing in b u f f e r ed m od e ............................... . 46 figu r e 41: uc c onne ct io n s in b u f f e r ed m ode ............................ . 47 fi gu r e 42: p a c k et m ode c on c ep t u al v iew ................................. . 49 figu r e 43: fi x ed leng t h p a c k et f o r m a t ..................................... . 50 figu r e 44: v a r iable leng t h p a ck e t fo r m a t................................. . 51 figu r e 45: cr c i m pl e m en t a t ion ................................................ . 53 figu r e 46: m an c h e st er e n c oding /d e c oding ............................... . 54 figu r e 47: d a t a w h i t ening ......................................................... . 54 figu r e 48: uc c onne ct io n s in p a c k et m ode ............................... . 55 figu r e 49: o p t i m i z ed r x cy c le .................................................. . 67 figu r e 50: o p t i m i z ed tx cy c l e ................................................... . 68 figu r e 51: tx h op cy c le ................ ............................................ . 69 figu r e 52: r x h op cy c l e ............................................................ . 70 figu r e 53: r x - tx - r x cy c le ................................................ . 71 figu r e 54: p or t i m ing d iag r a m ...... .......................................... . 72 figu r e 55: m anual r e s et t i m ing d iag r am .................................. . 72 figu r e 56: r e f e r en c e d e s ign c i r c uit sc h e m a t i c ......................... . 73 figu r e 57: r e f e r en c e d e s ign?s s t a ck up ................. .................... . 74 figu r e 58: r e f e r en c e d e s ign la y o ut ( t op v ie w ) ......................... . 74 figu r e 59: 915 m h z s a w fi l t er p l ot .......................................... . 75 figu r e 60: 869 m h z s a w fi l t er p l ot ...................................... .... . 75 figu r e 61: s en s i t i v i t y a c r o s s t he 8 68 m h z b an d ........................ . 77 figu r e 62: s en s i t i v i t y a c r o s s t he 9 15 m h z b an d ........................ . 77 figu r e 63: f s k s en s i t i v i t y l o s s vs . lo dr i f t ............................... . 78 figu r e 64: o ok s e n s i t i v i t y lo s s v s . lo dr i f t .............................. . 78 figu r e 65: f s k s en s i t i v i t y v s . r x b w ........................................ . 79 figu r e 66: o ok s e n s i t i v i t y c hange v s . r x b w .......................... . 79 figu r e 67: s en s i t i v i t y s t abil i t y .... ................................................ . 80 figu r e 68: f s k s en s i t i v i t y v s . b r .............................................. . 80 figu r e 69: o ok s e n s i t i v i t y vs . b r ............................................. . 81 figu r e 70: a c r in f s k m od e ........ ............................................. . 81 figu r e 71: a c r in ook m ode .................................................... . 82 figu r e 72: p out f or 869 m h z b and ope r a t ion ............................ . 82 figu r e 73: p out f or 915 m h z b and ope r a t ion .... ........................ . 83 figu r e 74: p out and i d d at a l l p a s e t t ing s , 869 m h z ................ . 83 figu r e 75: p out and i d d at a l l p a s e t t ing s , 915 m h z ................ . 84 figu r e 76: p out s t abil i t y ........................................................ ..... . 84 figu r e 77: 869 m h z s pe ct r al p u r i t y dc - 1g h z ........................... . 85 figu r e 78: 869 m h z s pe ct r al p u r i t y 1 - 6g h z .............................. . 85 figu r e 79: o ok s p e ct r u m - 2 k bps ............................................. . 86 figu r e 80: o ok s p e ct r u m - 8 k bps ............................................. . 86 figu r e 81: o ok s p e ct r u m - 16 . 7 k bps ........................................ . 86 figu r e 82: f s k - 1 . 56 k b p s - + / - 33 k h z .................................... . ... . 87 figu r e 83: f s k - 25 k b p s - + / - 50 kh z .................................... . ..... . 87 figu r e 84: f s k - 40 k b p s - + / - 40 kh z .................................... . ..... . 87 figu r e 85: d t s 6 d b b and w id t h .................................................. . 88 figu r e 86: d t s p o w er s pe ct r al d en s i t y ..................................... . 88 figu r e 87: i d d vs . t e m p and v d d ............................................. . 89 figu r e 88: p a c k age dimensions .......................................... ....... . 90 t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 4 of 9 1 rfm63 b index of tabl e s table 1: o r de r ing i n f o r m a t ion ...................................................... . 1 table 2: RFM63B p inou t s ............................................ .... . ........ ..... . 7 table 3: a b s olu t e m a x i m u m r a t ings ........................................... . 8 table 4: ope r a t ing r ange ........................................................... . 8 table 5: p o w er c on s u m p t ion s p e c i f i c a t io n .................................. . 8 table 6: f r equen c y s y n t he s i z er s pe c i f i c a t ion ............................. . 9 table 7: t r an s m i t t er s p e c i f i c a t i on ............................................... . 9 table 8: r e c ei v er s pe c i f i c a t ion ............................................ . ..... . 10 table 9: d igi t al s p e c i f i c a t ion ................................................. . .... . 11 table 10: m c p a r a m _ f r eq_ba nd s e tt in g .................................... . 15 table 11: p a r i s e / f a ll ti m e s ................................................ . .... . 20 table 12: ope r a t ing m odes ................................................... . .... . 33 table 13: p in c on f igu r a t ion v s . c h ip m ode ........................... . ..... . 33 table 14: d a t a ope r a t ion m ode s ele ct ion ............................. . .... . 35 table 15: c o n f ig v s . d a t a s p i i n t e r f a c e s ele c t ion .................. . ... . 36 table 16: st a t us of f i fo w hen s w i tc hing b e t w een d i f f e r ent m odes of t he c hip .................................................................... . . . 39 table 17: i n t e rr upt m apping in c o n t inuous r x m ode ............... . .. . 42 table 18: i n t e rr upt m apping in c o n t inuous tx m od e ................ . .. . 42 table 19: r ele v ant c on f i g . r eg i s t e r s in c o n t inuous m ode ...... . . . 43 a cr o n y m s b o m b il l o f m a t e r ia l s br b i t r a te b w b and w id th cci t t c o m i t c on s ul t a t i f i n t e r na t i o n a l t lpho n iqu e e t t l g r ap h iq u e - i t u cp c ha r g e p u m p crc c y cli c r e dun d anc y c h e c k dac d igi t a l to a na l o g c on v e r t e r dds d i r ec t d i gi t a l s y n t h es i s d l l d y na m i c all y l i n k e d l ib r a ry erp e qui v al e n t r a d ia t e d p o w e r e t si e u r ope a n t ele c o m m u n ic a t i on s st a n da r d s i ns t i t u t e f cc fede r a l c o m m u ni c a t i o n s c o m m i s si o n fde v f r equ e nc y d e v ia t io n f i f o fi r s t in f i r s t o u t f s f r equ e nc y s y n t h e si z e r f sk f r equ e nc y s h i ft k e y i n g g ui g r aphi c a l u s e r i n t e rf a c e ic i n t eg r a t e d c i r c u i t id id en t i f ic a t o r if i n t e r m ed i a te f r eq u enc y irq i n t e rr u p t r e q u e s t i t u i n t e r n a t i o na l t el e c o m m un i ca t i o n u ni o n lf sr linea r fe e db a c k s hi ft r eg i s t e r l na lo w n ois e a m pl i f ie r table 20: i n t e rr upt m apping in b u f f e r ed r x and st by m odes ..... . 46 table 21: i n t e rr upt m apping in b u f f e r ed tx m ode ...................... . 46 table 22: r ele v ant c on f igu r a t ion r egi st e r s in b u f f e r ed m ode ... . 47 table 23: i n t e rr upt m apping in r x and st by in p a c k et m ode ...... . 55 table 24: i n t e rr upt m apping in tx p a c k et m ode ......................... . 55 table 25: r ele v ant c on f igu r a t ion r egi st e r s in p a ck e t m od e ...... . 56 table 26: r eg i s t e r s l i s t ............................................................. . 58 table 27: m c p a r a m r egi s t er d e s c r ip t ion .................................. . 58 table 28: i r q p a r a m r eg i st er d e s c r ip t ion ................................. . 60 table 29: r x p a r a m r eg i st er d e s cr ip t ion ................................... . 62 table 30: s y nc p a r a m r eg i st er d e sc r i p t io n .............................. . 63 table 31: t x p a r am r eg i st er d e scr ip t ion ................................... . 64 table 32: o s c p a r a m r eg i st er d e sc r i p t ion ................................ . 64 table 33: p k t p a r a m r egi s t er d e sc r i p t io n ..... ............................ . 65 table 34: crys t al r e s ona t or s pe c i f i c a t ion ................................. . 66 table 35: r e f e r en c e d e s ign b om ............................................. . 74 table 36: tools o r de r ing i n f o r m a t i o n .......................... ............... . 75 table 37: f s k r x fil t e r s v s . b i t r a t e ......................................... . 76 table 38: ook r x fil t e r s vs . b it r a t e ........................................ . 76 l o loc a l os ci l la t o r l sb lea s t s i g ni f i ca n t b i t m sb m os t s igni f i c a n t b i t nrz n o n r e t u rn to z e ro n z if n ea r ze ro i n t e r m e dia t e f r e q u enc y oo k o n o ff k e y in g pa p o w e r a m pli f ie r pcb pr in t e d c i r c u i t b o a rd p f d p has e f r e q ue n c y d e t ec t o r p l l p hase - lo c ke d lo o p p o r p o w e r o n r ese t r b w r eso l u t i o n b a n d w id th rf r adi o f r eq u enc y rssi r ecei v e d s ig n a l st r eng t h i n di ca t o r r x r ecei v e r s a w s u rf a c e a c o us t i c w a v e spi s e r ia l p e r i p he r a l i n t e rf a c e sr s hi ft r e g is t e r st b y st andb y t x t r ans m i t t e r u c m ic r ocon tr o lle r vco v ol t a g e c on t r ol l e d os ci l la t o r x o cr y s t a l o s c il l a t o r x o r e x clusi v e o r t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 5 of 9 1 rfm63 b t h i s p r odu c t dat a s he e t c onta i ns a de t a i l ed d e scr i pt i on of the RFM63B pe r f o r m an c e and f un c t i on a l i t y . p l e a s e c on s u l t the hoperf web s i t e f or t h e l a te s t u pda t es or e rr a t a. 1. g ene r al desc r i p tion t he RFM63B i s a f s k a n d oo k t r an sc e i v e r module c apa b l e of o p e r a t i on at t h e 868 a nd 915 m h z li c en s e f r ee i s m f r eq u en c y band s , it c o m p li es w i th bo t h t h e r e l e v a nt e u r o p ean a nd no r th a m e r i c an s ta n da r d s , e n 3 0 0 - 2 2 0 v 2.1 . 1 (j u n e 20 0 6 r e l e a s e) and f cc p a r t 1 5 ( 10 - 1 - 20 0 6 ed i t i o n ) . a u n i q u e f eatu r e o f th i s c i rc u i t i s i ts e x t r e m e l y l o w c u rr e n t c on s u m pt i on i n r e c e i v er m ode of on l y 3 m a ( t y p ) . 1 . 1. s i m pl i f i ed b l o ck d i a g r am f i gu r e 1: RFM63B s i m p l i f i e d b l o c k d i ag r am t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 6 of 9 1 rfm63 b 1 . 2. p i n di a g r am (top) t he f o ll o w i ng d i a g r am s ho w s t he p i ns a rr a nge m ent of the pa c k age, top v i e w . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 7 of 9 1 rfm63 b 1 . 3. p i n d es c ri p t i o n t ab l e 2: RFM63B pi n outs number n a me t y p e d e sc r iption d e s c ri p ti o n s t an d a l o n e mo d e 1 por i/o por. do not connect if unused 2 nss_config i spi config enable 3 nss_data i spi data enable 4 miso o spi data output 5 mosi i spi data input 6 sck i spi clock input 7 clkout o clock output 8 3.3v i supply voltage 9 gnd i exposed ground pad 10 gnd i exposed ground pad 11 ana i/o rf input/output 12 gnd i exposed ground pad 13 data i/o nrz data input and output (continuous mode ) 14 pll_lock o pll lock detection output 15 irq_1 o interrupt output 16 irq_0 o interrupt output t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 8 of 9 1 rfm63 b s y mbo l d esc ri p ti o n c ond iti on s m in t y p ma x u n it iddsl s uppl y c u rr en t , s l e e p mod e - 0 . 1 2 a iddst s uppl y c u rr en t i n s t a ndb y mod e , c l k o ut disa b le d ( 2 ) - 6 5 8 0 a idd f s s uppl y c u rr en t i n f s m o d e f r equ e nc y s y n t he s i z e r r unni n g - 1 . 3 1 . 7 m a iddr s uppl y c u rr en t i n rx mod e - 3 . 0 3 . 5 m a iddt s uppl y c u rr en t i n t x mod e o u t pu t p o w e r = +1 0 d b m o u t pu t p o w e r = 1d b m (1 ) - - 2 5 1 6 3 0 2 1 m a m a 2. e lect r ical c ha r a cte r isti c s 2 . 1. esd no t i ce t he RFM63B i s a h i gh p e r f o r m an c e r ad i o f r equen c y d e vi c e. it s a t i s f i e s : ? c l a s s 2 of the j e d e c s t an da r d j e s d22 - a 1 1 4 - b ( hu m an b o d y m o d e l ) . ? c l a s s iii of the j e d e c s t an da r d j e s d 2 2 - c1 0 1c ( c h a r ged d e v i c e mo d e l ) o n a l l p i n s . it s ho u l d t hus b e h a n d l ed w i th a l l t h e ne c e ss a r y e s d p r e c aut i o ns to a v o i d a n y pe r m anent da m age. 2 . 2. a b s o l u te m a x i m u m r at i ng s s t r e ss es a b o v e t he v a l ue s li s t e d b e l o w m a y c au s e pe r m anent d e vi c e fa il u r e . e x po s u r e to ab s o l u t e m a x i m u m r at i ngs f or e x t e nd e d pe r i o d s m a y a ff e c t de vi c e r e l i a b i l i t y . t ab l e 3: a b s o l u t e ma x i m u m ra t i ngs s y mbo l d esc r i p t i o n m in ma x u n i t vdd m r s uppl y vol t age - 0 . 3 3 . 7 v t m r st o r ag e t e m pe r a t u re - 5 5 12 5 c p m r i npu t level - 0 d b m 2 . 3. o p e r a t i n g r a ng e t ab l e 4: o p e r a t i ng ra n ge s y mbo l d esc r i p t i o n m in ma x u n it vdd o p s uppl y v ol t age 2 . 1 3 . 6 v t r o p tempera t ure - 20 + 70 c m l i npu t level - 0 d bm 2 . 4. s p ec i f i ca t i o n con d i t i on s : t e m p = 25 c , v dd = 3.3 v , , c a rr i er f r equen c y = 86 8 or 9 1 5 m h z , u n l e s s o t he r w is e s pe c i f i ed. 2.4 . 1 . p o w e r con s u m p t i on t ab l e 5: p o w er c o n s ump t i on s pe c i f i c a t i on cr y s t a l o sc i ll a t o r r u nni n g (1 ) g ua r anteed b y de si gn a n d c ha r a c te ri z a t i o n ( 2 ) c r y s tal c l oa d = 1 0p f , c 0 = 2.5p f , r m = 15 o h m s t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 9 of 9 1 rfm63 b s y mbo l d esc ri p ti o n c ond iti on s m in t y p ma x u n it f r f r equ e nc y r a n ge s 868mh z module 915mhz module 865 912 871 918 m hz m hz br _ f b i t r a te ( f sk) nrz 1 . 5 6 - 200 k b /s br _ o b i t r a te ( oo k) nrz 1 . 5 6 - 32 k b /s f da f r equ e nc y de v i a t i o n ( f sk) 3 3 5 0 200 k hz x t al cr y s t a l o sc i ll a t o r fr e qu e nc y for all module 12 .8 m hz f s t ep f r equ e nc y s y n t he s i z e r s t e p v a r ia b le , d ep e ndi n g o n t h e fr equ e nc y . - 2 - k hz t s _ o sc o sci l la t o r w ake - u p t i m e f r o m s l ee p m o de ( 1 ) - 1 . 5 5 m s t s _f s f r equ e nc y s y n t he s i z e r w ake - u p t i m e a t m os t 1 0 k hz a w a y fr o m t h e t a r ge t f r o m s t b y mo d e - 50 0 800 s t s _ h o p f r equ e nc y s y n t he s i z e r ho p t im e a t mo s t 1 0 k hz a w a y fr o m t h e t a r ge t 20 0 k hz s t e p - 18 0 - s 1 m h z s t e p - 20 0 - s 5 m h z s t e p - 25 0 - s 7 m h z s t e p - 26 0 - s 1 2 m hz s t e p - 29 0 - s 2 0 m hz s t e p - 32 0 - s 2 7 m hz s t e p - 34 0 - s s y mbo l d esc ri p ti o n c ond iti on s m in t y p ma x u n it r f o p rf ou t p u t po w e r, p r og r a m m abl e w i th 8 s t e p s o f t y p . 3d b m a x imu m po w e r se tt i n g - +1 2 - d bm m inimu m p o w e r se tt i n g - - 8 - d bm pn p has e no i s e m easu r e d w i th a 6 0 0 k hz o ff s e t, a t t h e tr a n sm i tt e r ou t pu t . - - 11 0 - d b c /hz spt t r ansmi t t e d spu r io u s at an y o f f se t be t w ee n 20 0 k hz an d 6 0 0 k h z , unm o du l a t e d ca r r ie r, f de v = 5 0 k h z . - - - 4 7 d bc t s _t r (1 ) t r ansm i t t e r w ake - u p t i m e f r o m f s to t x r ead y . - 12 0 500 s t s _t r 2 (1 ) t r ansmi t t e r w ake - u p t i m e f r o m s t b y to t x r ead y . - 60 0 900 s 2.4 . 2 . fr e qu e n c y s y n t h esi s t ab l e 6: fr e qu e n c y s y nt he si z er s pe c i f i c a t i o n (1) g ua r an t eed b y de s i gn a n d c ha r a c te ri z a t i o n 2.4 . 3 . tr a n sm i tt e r t ab l e 7: tr a n s m i tter s pe ci f i c at i on (1) g ua r an t eed b y de s i gn a n d c ha r a c te ri z a t i o n t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 10 of 9 1 rfm63 b s y mbo l d esc ri p ti o n c ond iti on s m in t y p ma x u n it r f s _ f s ens i t i v i ty ( f sk) 86 8 m h z , br =2 5 kb / s , fde v =5 0 k h z , f c= 1 0 0 k h z - - 10 5 - d bm 86 8 m h z , br =66 .7 kb / s , fde v =10 0 k h z , f c = 20 0 k hz - - 10 1 - d bm 91 5 m h z , br =2 5 kb / s , fde v =5 0 k h z , f c= 1 0 0 k hz - - 10 3 - d bm 91 5 m h z , br = 66 .7 k b / s , fde v =10 0 k h z , f c = 20 0 k hz - - 99 - d bm r f s _ o s ens i t i v i ty ( oo k) 86 8 m h z , 2kb /s nrz f c - f o = 5 0 k h z , f o=5 0 k hz - - 11 1 - d bm 86 8 m h z , 16 .7 kb / s nrz f c - f o = 10 0 k h z , f o= 1 0 0 k hz - - 10 4 - d bm 91 5 m h z , 2kb /s nrz f c - f o = 5 0 k h z , f o=5 0 k hz - - 1 09 - d bm 91 5 m h z , 16 .7 kb / s nrz f c - f o = 10 0 k h z , f o= 1 0 0 k hz - - 10 3 - d bm ccr c o - cha n ne l r ej e c t i o n m odula t io n a s w an t e d s i gna l - - 12 - d bc acr a dja c en t ch a nn e l r eje c t io n o ff se t = 30 0 k h z , un w an t e d t on e i s n o t mod u la t e d - 27 - d b o ff se t = 60 0 k h z , un w an t e d t on e i s n o t mod u la t e d - 52 - d b o ff se t = 1 .2 m h z , un w an t e d t on e i s n o t mod u la t e d - 57 - d b bi b lo c kin g i mm u ni ty o ff se t = 1 m h z , unm o du l a t e d - - 48 - d bm o ff se t = 2 m h z , unm o du l a t ed , n o s a w - - 37 - d bm o ff se t = 1 0 m h z , unm o du l a t ed , n o s a w - - 33 - d bm r xb w _ f (1 , 2 ) r ecei v e r b and w i d th i n f sk mo d e s ingl e s i d e b w p ol y pha s e o ff 50 - 250 k hz r xb w _ o ( 1 , 2 ) r ecei v e r b and w id th i n oo k mod e s ingl e s i d e b w p ol y pha s e o n 50 - 400 k hz iip3 r d i npu t 3 o r de r in t e r c e p t poin t i n t e rf e r e rs a t 1 m hz an d 1 . 95 0 m hz o ff se t - - 28 - d bm t s _ re (1 ) r ecei v e r w ake - u p t i m e f r o m f s to rx r ead y - 28 0 500 s t s _ re 2 (1 ) r ecei v e r w ake - u p t i m e f r o m s t b y to rx r ead y - 60 0 900 s t s _ re _ h o p r ecei v e r h o p t i m e fr o m r x r ead y to rx r ead y w i th a fr eq u e n c y ho p 20 0 k hz s t e p - 40 0 - s 1 m h z s t e p - 40 0 - s 5 m h z s t e p - 46 0 - s 7 m h z s t e p - 48 0 - s 12 m h z s t e p - 52 0 - s 20 m h z s t e p - 55 0 - s 27 m h z s t e p - 60 0 - s t s _ rssi rssi sa m pl i n g t im e f r o m rx r ead y - - 1 / fde v s dr _ rssi rssi d y nam i c r a n g e r angi n g fr o m s en s i t i v i ty - 70 - d b 2.4 . 4 . r ecei v e r o n the f o l l o w i ng ta b l e, f c and f o d e scr i be the b a n d w i d th of t h e a c t i v e c h an n el f il t e r s as de scr i b e d i n s e c t i on 3 .4.4 . 2. a l l s en s i t i vi t i es a r e m ea s u r ed r e c e iv i ng a p n 1 5 s eq ue n c e, f or a b e r of 0 . 1.% t ab l e 8: r e c e i v er s p e c i f i c a t i on (1) g ua r an t eed b y de s i gn a n d c ha r a c te ri z a t i o n (2) t h i s r e f l e c ts the w h o l e r e c e i v er b a n d w i dt h , as d e scr i bed i n s e c t i ons 3 .4. 4 .1 a nd 3.4. 4 .2 t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 11 of 9 1 rfm63 b 2.4 . 5 . d i g i t a l s p e ci f ica t i on con d i t i on s : t e m p = 25 c , v dd = 3 . 3 v , u n l e s s o th e r w i s e s pe c i f i ed. t ab l e 9: d i g i t a l s pe ci f i c a t i o n s y mbo l d esc ri p ti o n c ond iti on s m in t y p ma x u n it vih d igi t a l i n pu t le v e l h ig h 0 . 8 *vdd - - v vil d igi t a l i n pu t le v e l l o w - - 0 . 2 * vdd v v o h d igi t a l ou t pu t le v e l hig h i ma x =1m a 0 . 9 *vdd - - v v o l d igi t a l ou t pu t le v e l lo w i ma x = - 1m a - - 0 . 1 *vdd v sck _ c o n f ig spi c on f i g . c lo c k f r equ e nc y - - 6 m hz sck _ da t a spi d a ta c l o c k f r eq u enc y - - 1 m hz t _ d a t a da t a hol d an d se t u p t im e 2 - - s t _ m o si _ c mo si se t u p t im e f o r spi c on f i g . 250 - - n s t _ m o si _ d mo si se t u p t im e f o r spi d a t a . 312 - - n s t _ nssc _ l nss _ c o n f ig lo w to sck r is i n g e d ge . sck f all i n g e dg e to nss _ c o n f ig high . 500 - - n s t _ nssd _ l nss _ da t a lo w to sck r isin g edge . sck f all i n g e dg e to nss _ da t a high . 625 - - n s t _ nssc _ h nss _ c o n f ig r isin g to f al l in g edge . 500 - - n s t _ nssd _ h nss _ da t a r isin g t o f a l li n g e d ge . 625 - - n s t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 12 of 9 1 rfm63 b i w a v e f o r m q l o 2 t x g e n e ra t o r p a i l o 1 t x q i q l o 2 t x r s s i oo k i d e m o d i b t s y n c m l n a c o n t ro m l o2 r x f d e s k m o d s n l o 1 r x n c d t l o1 rx l o 2 rx p x o f re q u e n c y s y n t he s i z e r q l o g e n e r a t o r i l q o1 t x q l o2 t x v r _ 1 v v r _ d i g v co _ p v co _ m v r _ v co l f _ m l f _ p 3. a rc hit e ctu r e d e sc r ipt i on t h i s s e c t i on d e scr i bes i n d epth the a rc h i t e c tu r e of t h i s u l t r a l o w - p o w er t r an sc e i v e r : v r _ p a r f i o x t a l_ p x t a l _ m r q _ 0 r q _ 1 i o s i l i s o ck s s_ con fi g s s _ d a t a l k out a t a e s t ( 8 : 0 ) ll _ l ock i i f i gu r e 3: RFM63B de t a i l e d bl o c k d i ag r a m 3 . 1. p o w e r s upp l y st r ate g y t o p r o vi d e s ta b l e s e n s i t i v i t y a n d l i n e a r i t y c ha r a c te ris t i c s o v er a w i de s u pp l y r ange, the RFM63B i s i nt e r na l l y r egu l at e d. t h i s i n t e r n a l r e g u l a t ed p o w er s u p p l y s t r u c tu r e i s de scr i b ed b e l o w : t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 13 of 9 1 rfm63 b reg _a n a 1 . 0 v b i a s in g a n al o g b lo c k s re g _ d i g 1 . 0 v b ia s in g d i gi t a l blo ck s r eg _ v c o 0.8 5 v b ia s in g : - v c o c i r c ui t - e x t . v c o t an k re g _ p a 1.8 0 v bi as in g : - p a dri v e r - p a c ho k e ( e x t ) vb a t 1? f y 5 v v d d 2. 1 3 . 6 v e x t e r n a l s u p p l y r eg_ t o p 1 . 4 v bia s i n g : - sp i - co n f ig . r egi s t e r s - p o r 1 ? f y 5 v 2 20n f x 7 r 100n f x 7 r 47 n f x 7 r f i gu r e 4: p o w er s u p p l y b r e a k down t o en s u r e c o rr e c t ope r at i on of the r eg u l ator c i rc u i t , the de c o u p l i ng c a pa c i t or c onne c t i on s h o wn i n fi gu r e 4 i s r equ i r e d. t he s e d e c ou p l i ng c o m ponents a r e r e c o m m e nded f or a n y de si gn. 3 . 2. f r e qu e n c y s y n t h es i s d es c r i p t i o n t he f r equen c y s y n t he si z er of the RFM63B i s a f u l l y i nt e g r ated i n t ege r - n t y p e p ll. t he p ll c i rc u i t r eq u i r es o n l y f i v e e x te r nal c o m ponents f or t h e p l l l o o p f il ter and the v c o tank c i rc u i t. 3.2 . 1 . r e f e r e n c e o s cil l a t or t he RFM63B e m beds a c r y s tal o sci l l ato r , wh i c h p r o v i d es the r e f e r en c e f r equ e n c y f or the p l l . t he r e c o mm end e d c r y s t a l s pe c i f i c a t i o n i s g i v e n i n s e c t i o n 7 . 1. 3.2 . 2 . clk o ut o u t put t he r e f e r en c e f r equen c y , or a s ub - m u l t i p l e of i t, c an be p r o v i d e d on c l k o u t b y a c t i v a t i n g the b i t o s c p a r a m _c l k out_on. t he d iv i s i o n r at i o i s p r o g r a mm ed th r ough b i ts o s c p a r a m _c l k out_ f r eq. t h e t w o ap p li c a t i ons of the c l k o u t output a r e : ? t o p r o v i de a c l o c k out p ut f or a c o m pan i o n u c, t hus s a v i ng the c o s t of an a d d i t i o nal o sc i l l a t o r . c l k o ut c an be m ade a v a il a b l e i n a n y ope r at i o n m ode, e xc ept s l e e p m ode, and i s au t o m at i c a l l y ena b l e d at p o we r - up. ? t o p r o vi d e a n o sc il l ator r e f e r en c e out p ut. m e a s u r e m ent o f the cl k o ut s i gnal e na b l es s i m p l e s o f t w a r e t r i m m i ng of the i n i t i al c r y s ta l t o l e r an c e. note: t o m i n i m i z e t he c u r r ent c on s u m pt i on of the RFM63B , en s u r e t h at t he c l k o ut s i gn a l i s d i s a b l ed when unu s e d . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 14 of 9 1 rfm63 b 7 5 .(p + 1 ) + s i i lo p f d x o ( r i + 1 ) v t une fc o m p xt _m xt _p l f _ m l f _ p v c o_ p 3.2 . 3 . p ll a r c h i t ec t ure t he c r y s tal o sc i l l a t or ( x o ) f o r m s the r e f e r en c e o sc i l l ator of an in t ege r - n p h a s e lo c k ed lo o p ( p l l ) , who s e ope r a t i o n i s d i sc u ss ed i n t he f o l l o w i ng s e c t i o n. fi gu r e 5 s ho w s a b l o c k sc he m at i c of t h e RFM63B p ll. h e r e t h e c r y s t a l r e f e r en c e f r equen c y and t h e s o f t w a r e c o nt r o l l e d d i v i de r s r, p a nd s d et e r m i ne the o utp u t f r equen c y of the p ll. v c o_m v r _ v c o f i gu r e 5: fr e q uen c y s y nt h e si z er de scr i p t i on t he v co tank i ndu c to r s a r e c onne c ted on an e x t e r n al d i f f e r ent i al i np u t. s i m il a rl y , t he l oop f il t er i s a l s o l o c ated e x te r na l l y . h o w e v e r , the r e i s an i nte r n al 8pf c apa ci ta n c e at v co i n p ut t hat s h o u l d be s ubt r a c t e d f r om the d e s i r ed l o o p f il ter c a pa c i t an c e. t he output s i g n al of the v c o i s u s ed as t he i n p ut to t h e l o c a l o sci l l ator ( l o ) g e ne r ator s ta g e, i l l u s t r ated i n f i g u r e 6. t he v co f r equen c y i s s u b d i vi d ed and u s ed i n a s e r i e s of up ( d o w n) c o n v e rs i ons f or t r an s m i ss i on (r e c ept i on ) . 8 lo vc o ou t pu t 8 9 0 9 0 90 lo1 r x i lo2 r x q i lo1 t x q i lo2 t x q r e c eiver los t r a ns m i tt e r los f i gu r e 6: lo g ene r a t or 3.2 . 4 . p ll tr a d e o ff s w i th an i nte g e r - n p ll a rc h i te c tu r e, the f o ll o w i ng cr i te r i on m u s t be m et to en s u r e c o rr e c t ope r a t i o n: ? t he c o m pa r i s on f r equen c y , fc o m p, o f the p ha s e fr e q uen c y d e te c tor ( p f d) i n p ut m u s t r e m a i n h i g h er than s i x t i m es the p ll ba nd w i dth ( p l l b w ) to gua r an t ee l o o p s tab i l i t y and to r e j e c t h a r m on i c s of the c o m pa r i s on f r equen c y fc o m p. t h i s i s e x p r e ss ed i n t he i n eq u a l i t y : p ll bw f c omp 6 ? h o w e v er t he p l l b w has t o be s u ff i c i en t l y h i gh t o a l l o w ad e qu a te p ll l o c k t i m es ? b e c au s e t h e d i v i d er r at i on r d ete r m i nes fc o m p, i t s ho u l d be s et c l o s e to 1 1 9, l e ad i ng to fc o m p 100 k hz wh i c h w i l l e n s u r e s u i ta b l e p ll s ta b i l i t y a nd s p e ed. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 15 of 9 1 rfm63 b , t he p l l p r o t o t y p e i s the f o ll o w i ng: ? 6 4 r 1 69 ? s < p + 1 ? p l l b w = 15 k hz n o m i nal ? s ta r t u p t i m es and r e f e r en c e f r equen c y s pu r s as s pe c i f i ed. 3.2 . 5 . v o l t a ge con t ro lle d o sc il l a t or t he i nt e g r at e d v co r eq u i r es on l y t w o e x te r n a l t a nk ci rc u i t i n d u c to rs . a s t he i n p ut i s d i ff e r ent i a l , t he t wo i n du c to r s s hou l d h a v e t h e s a m e no m i n a l v a l ue. t he pe r f o r m an c e of the s e c o m pon e nts i s i m po r tant f or both t h e p ha s e n o i s e and t h e p o wer c on s u m pt i on of the p ll. it i s r e c o mm e nded t hat a p a i r of h i g h q fa c tor i n d u c to r s i s s e l e c ted. t he s e s hou l d be m ounted o r t h o g on a l l y t o o t her i n d u c to r s ( i n p a r t i c u l ar t h e p a c h o k e) to r edu c e s pu r i o us c ou p li n g be t w e en t h e p a a n d v c o . in ad d i t i on, s u c h m ea s u r es m a y r e d u c e r ad i at e d pu l l i ng e ff e c ts and un d e s i r a b l e t r an s i e n t be h a v i o r , t hus m i n i m i zi ng s pe c t r a l o cc up an c y . n ote t hat e n s u r i n g a s y m m et r i c al l a y o u t of the v co i n d u c to r s w i l l f u r ther i m p r o v e p l l s pe c t r a l p u r i t y . f or be s t p e r f o r m an c e w o u n d t y p e i n d u c to rs , w i th t i g h t t o l e r a n c e, s h o u l d be u s ed a s de scr i bed i n s e c t i on 7. 5 . 3 . 3.2. 5 .1. s w s e tt i ng s o f th e v co t o gua r an t ee t he op t i m u m ope r at i on of the v co o v er the rf 63 ? s f r equ e n c y a nd t e m pe r atu r e r a ng e s , the f o ll o w i ng s e tt i ngs s h o u l d be p r og r a m m ed i nto t he rf 63 : ta r ge t c h a nn e l ( m h z ) 863 - 87 0 902 - 91 5 915 - 92 8 950 - 96 0 f r eq_ b an d 1 0 0 0 0 1 1 0 t ab l e 10: m c p a r a m_ fr e q_ band s e tt i ng 3. 2. 5 .2. t r i mm i n g th e v co t a n k b y ha r d w a r e a n d s oft w a r e t o en s u r e t hat the f r eque n c y b a nd of o p e r at i on m a y be a cc u r ate l y add r e ss ed b y t he r, p and s d i v i d e r s of the s y nt h e si z e r , i t i s ne c e ss a r y to en s u r e t hat t he v co i s c o rr e c t l y c en t e r ed. n ote t hat f or the r e f e r en c e d e s i g n (s ee s e c t i on 7 . 5) no c ente ri ng i s ne c e ss a r y . h o w e v e r , a n y d e v i a t i o n f r o m the r e f e r en c e de s i gn m a y r e q u ir e the opt i m i z a t i o n p r o c e d u r e, o u t li n ed b e l o w , to b e i m p l e m ented. t h i s p r o c e d u r e i s s i m p li f i e d th a n k s to the bu i l t - i n v co t r i m m i ng f eatu r e w h i c h i s c ont r o l l ed o v er the s p i i nt e r f a c e. t h i s tu n i ng d o es n ot r e q u i r e an y rf te s t eq u i p m ent, and c a n be a c h i e v ed b y s i m p l y m ea s u r i ng v t u ne, the v o l ta g e b e t w e en p i n l f m and l f p . t he v co i s c en t e r ed i f the v o l ta g e i s w i t h i n the r an g e: 5 0 v tun e ( m v ) 15 0 note t hat t h i s m ea s u r e m ent s h o u l d be c on d u c ted when i n t r an s m i t m ode at t h e c en t er f r equen c y of the de s i r ed band ( f or e x a m p l e ~ 8 6 7 m h z i n t he 8 63 - 8 70 m h z b an d ) , w i t h t h e a p p r op r i ate m c p a r a m _ fr eq_b a nd s et t i n g. if th i s i neq u a l i t y i s not s at i s f i ed then ad j u s t t h e mc p a r a m _ v c o _t r i m b i ts f r o m 00 w h i l s t m on i to r i n g v t u n e . t h i s a l l o w s the v co v o l t age to be t r i m m ed i n + 60 m v i n cr e m ent s . s hou l d t h e de s i r e d v o l ta g e r ange be i na cc e s s i b l e , the v o l ta g e m a y be a d j u s ted f u r ther b y c h a n g i ng t he t a nk c i rc u i t i n d u c tan c e v a l ue. no t e t h at an i n c r ea s e i n i n d u c tan c e w i l l r e s u l t i n a n i n cr ea s e v t un e . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 16 of 9 1 rfm63 b note f or m a s s p r odu c t i on: t he v co c apa ci tan c e i s p i e c e to p i e c e d e pe n dan t . a s s u c h, the o pt i m i z a t i o n p r opo s ed ab o v e s h ou l d b e v e r i f i ed on s e v e r a l p r o to t y pe s , to e n s u r e th a t t h e p o p u l a t i on i s c ente r e d o n 1 0 0 m v . 3.2 . 6 . p ll loop f il t e r t o adeq u at e l y r e j e c t s p u ri ous c o m ponents a r i si ng f r om the c o m pa r i s on f r equ e n c y fc o m p, an e x te r n al 2 nd o r der l o o p f il ter i s e m p l o y e d. r l 1 l f _ m c l 2 c l 1 l f _ p f i gu r e 7: l o op fi l ter f o l l o w i ng t h e r e c o m m endat i o ns m ade i n s e c t i on 3 . 2 .4, the l o o p f il ter p r o po s ed i n the r e f e r en c e d e s i g n ? s b i l l of m ate r i al on s e c t i on 7.5 . 3 s ho u l d b e u s ed. t he l o o p f i l ter s ett i n gs a r e f r equ e n c y band i n de p en d ent and a r e hen c e r e l e v ant to a l l i m p l e m entat i ons of the RFM63B . 3.2 . 7 . p ll lo c k d e te c t i on i nd ica t or t he RFM63B a l s o f eatu r es a p ll l o c k dete c t i nd i c a to r . t h i s i s u s e f ul f or op t i m izi n g p o wer c on s u m pt i on, b y a d j u s t i ng the s y n t h e si z er w a k e up t i m e ( t s _ f s ) , s i n c e t h e p ll s ta r tup t i m e i s l o w er t h a n s pe c i f i ed un d er no m i n a l c o n d i t i on s . t he l o c k s tatus c an be r ead on b i t ir q p a r a m _ p l l _ l o c k , and m u s t be c l ea r ed b y w r i t i ng a 1 to t h i s s a m e r eg i s te r . in a d d i t i o n, t h e l o c k s tatus c an be r e f l e c t ed i n p i n p ll_l o c k , b y s e tt i ng t he b i t ir q p a r a m _ e n a b l e_ l o c k _dete c t. 3.2 . 8 . fr e qu e n c y c alc u la t i o n a s s hown i n f i g u r e 5 the p ll s t r u c tu r e c o m p r i s es th r ee d i ff e r ent d i v i de rs , r, p and s , w h i c h s et the out p ut f r equen c y th r ou g h the l o . a s e c ond s et of d iv i de r s i s a l s o a v a i l a b l e t o a ll o w r ap i d s w i t c h i ng b e t ween a pa i r of f r equen c i e s : r 1/ p 1 / s 1 a nd r2/ p 2 / s 2. t he s e s i x d i v i d e r s a r e p r og r a m m ed b y si x b y tes of the r e g i s ter m c p a r a m f r o m add r e ss es 6 to 1 1 . 3.2. 8 .1. f s k m od e t he f o ll o w i n g f o r m u l a g i v e s the r e l a t i o n s h i p be t ween the l o c al o sci l l ato r , a nd r, p a n d s v a l ue s , w h e n u si n g f s k m odu l at i o n. 3.2. 8 .2. oo k m od e due to t he m anner i n wh i c h the b a s eb a nd oo k s y m bo l s a r e ge n e r at e d, t h e si gn a l i s a l w a y s o ff s et b y th e f s k f r equen c y d e v i at i on (f d e v - as p r og r a m m ed i n mc p a r a m _ fr eq_de v ) . hen c e, t h e c enter of the t r an s m i tt ed oo k s i gn a l i s : t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 17 of 9 1 rfm63 b con s e q uen t l y , i n r e c e i v e m ode, due to t h e l o w i n te r m ed i ate f r equen c y ( lo w - i f ) a rc h i te c tu r e of the RFM63B the f r equen c y s h ou l d b e c on f i g u r ed s o as t o e n s u r e t h e c o rr e c t l o w - if r e c e iv er ba s e b and c e nter f r equ e n c y , i f 2. note t hat f r om s e c t i on 3.4 . 4, i t i s r e c o m m ended t h at i f 2 be s et to 100 k h z . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 18 of 9 1 rfm63 b 3 . 3. t r a n sm i t t er d esc r i p t i o n t he RFM63B i s s et t o t r an s m i t m ode w h en mc p a r a m _ch i p _ m ode = 100. 3.3 . 1 . a r c h i t ec t ure d esc r i p t i on t he ba s eba n d i a nd q s i gn a l s a r e d i g i t a l l y g ene r ated b y a dds who s e d i g i t al t o an a l og c o n v e r te r s ( d a c) f o ll o wed b y t w o a nt i - a l i a s i n g l o w - p a s s f il te r s t r an s f o r m the d i g i t a l s i g n al i nto a n a l og i n - p h a s e ( i) and qu a d r at u r e (q ) c o m ponents wh o s e f r eq ue n c y i s t he s e l e c t e d f r eque n c y d e v i at i on (f d e v ) . 1 f d ev i ( t ) q ( t ) f i gu r e 9: i ( t ) , q( t) ov e rv i ew in f s k m ode, the r e l at i v e pha s e of i a nd q i s s w i t c h ed b y the i nput d ata be t w e en - 9 0 and + 90 w i th c o n t i n u ous pha s e. t he m odu l at i on i s the r e f o r e pe r f o r m ed at th i s i n i t i a l s tage, s i n c e t he i n f o r m at i on c onta i ned i n the pha s e d i ff e r en c e w i l l b e c o n v e r t e d i n to a f r eq u en c y s h i f t when t he i a n d q s i g n a l s a r e up - c o n v e r t e d i n t h e f i rs t m i x e r s tage. t h i s f i rs t up - c o n v e rsi on s ta g e i s du p li c a t ed t o en han c e i m age r e j e c t i o n . t he f s k c o n v en t i on i s s u c h th at: t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 19 of 9 1 rfm63 b in oo k m ode, the pha s e d i f f e r en c e be t ween t he i and q c hann e l s i s k ept c on s ta n t ( i nd e p e nd e nt of the t r a n s m i tted data ) . t hu s , t he f i rs t s tage of up - c o n v e rs i o n cr ea t es a f i x ed f r equ e n c y s i g n a l at the l o w if = f d e v ( t h i s e x p l a i ns w h y the t r an s m i tted oo k s pe c t r um i s of f s et b y f d e v ) . oo k m o du l at i on i s a cc o m p li s h e d b y s w i t c h i n g o n a nd o f f the p a a nd p a r eg u l a tor s tage s . b y c o n v en t i o n: da t a = da t a = ' ' 1 ' ' ? paon ' ' 0' ' ? pao f f a f ter the i nte r p o l a t i on f i l te r s , a s et of f our m i x e r s c o m b i nes the i a nd q s i g n a l s and c o n v e r ts t hem i nto a p a i r o f c o m p l ex s i gn a l s at the s e c ond i nte r m ed i ate f r equ e n c y , eq u al to 1 /8 of the lo f r equen c y , or 1/9 of the rf f r equen c y . t he s e two n e w i and q s i gna l s a r e th e n c o m b i ned and u p - c on v e r ted to the f i nal rf f r equen c y b y t w o quad r atu r e m i x e r s f ed b y t he lo s i gn a l . t he s i gnal i s p r e - a m p li f i ed, and t h en t h e t r an s m i tter output i s d r i v en b y a f i nal po w er a m p li f i er s tage. 3.3 . 2 . b i t r a t e se tt i ng in c o nt i nu o us t r an s m i t m ode, s et t i n g t h e b i t r ate i s u s e f ul to dete r m i ne t he f r equen c y of dc l k . a s e x p l a i ned i n s e c t i on 5.3 . 2, d c lk w i l l t r i g ger an i n t e rr upt on t he uc e a c h t i m e a n e w b i t h as to b e t r an s m i tted. 3.3 . 3 . a l t e rn a t i v e se tt i ngs bi t r ate, f r equen c y d e v i a t i on a nd t x i nte r p o l at i on f i l t er s ett i ngs a r e a f un c t i on of the r e f e r en c e o sc il l ator c r y s t a l f r equen c y , f x t a l . s ett i ngs other t h an t ho s e p r o g r a mm ab l e w i t h a 1 2.8 m h z c r y s t al c an be o bt a i n e d b y s e l e c t i on of the c o rr e c t r e f e r en c e o sci l l ator f r equen c y . p l ea s e c o nt a c t y o ur l o c a l s e m te c h r ep r e s enta t i v e f or f u r ther de t a ils . 3.3 . 4 . fd e v se tt i ng i n f s k mode t he f r equen c y d e v i a t i o n, f de v , of the f s k t r an s m i tter i s p r og r a m m ed th r ou g h b i ts mc p a r a m _ fr eq_d e v : f or c o rr e c t ope r a t i o n t h e m od u l a t i on i n dex ? s h o u l d be s u c h tha t : it s hou l d be n ot e d th a t f or c o m m un i c at i ons b e t w e en a pa i r of RFM63B s , th a t f d ev s h o u l d be at l ea s t 3 3 k h z to en s u r e a c o rr e c t ope r a t i on on t h e r e c e iv er s i de. 3.3 . 5 . fd e v se tt i ng i n oo k mode f dev h as no p h y s i c a l m ean i n g i n oo k t r a n s m i t m o d e. h o w e v e r , as h as be e n s h o w n - d u e to t h e dds b a s eband s i gn a l ge n e r a t i on, t he oo k s i g n al i s a l w a y s o ff s et by - f d e v (s ee f o r m u l as i s s e c t i on 3 . 2.8 ) . it i s s ug g e s ted that f dev r et a i ns i ts de f au l t v a l u e of 100 k h z i n oo k m ode. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 20 of 9 0 rfm63 b 3.3 . 6 . i n t e rpo la t i on f il t e r a f ter d i g i t al to an a l o g c o n v e rs i on, bo t h i a n d q s i g n a l s a r e s m oothed b y i nte r p o l at i o n f il t e rs . t h i s b l o c k l o w - pa s s f il te r s the d i g i t a l l y ge n e r at e d s i g n a l , a n d p r e v e n ts the a l i as s i g n a l s f r om ente r i ng the m odu l a t o rs . its b a n d w i dth c an be p r o g r a m m ed w i t h t h e r e g i s ter r xp a r a m _inte r p fi l t t x , and s h ou l d b e s et t o: w h e r e f dev i s t he p r o g r a m m ed f r equen c y d e vi a t i o n as s et i n mc p a r a m _ fr eq_d e v , and b r i s the p h y s i c al b i t rate of t r an s m i ss i on. note s : ? l o w i nte r p o l a t i o n f i l ter b and w i d th w i l l a tte n ua t e the b a s eba n d i/q s i g n a l s thus r edu ci ng t h e p o wer of the f s k s i gn a l . c o n v e rs e l y , e xc e ss iv e ba nd w i dth w i l l deg r a de s pe c t r al p u r i t y . ? f or the w i d e b and f s k m odu l at i on, f or e x a m p l e when ope r a t i n g i n d t s m ode, t he r e c o m m ended f il t e r s et t i ng c an not be r e a c hed. h o w e v e r , the i m pa c t upon s pe c t r al pu r i t y w i l l be n e g l i g i b l e, due to t h e a l r e a d y w i d eb a nd c hann e l . 3.3 . 7 . p o w e r a m p li f ie r t he p o wer a m p li f i er ( pa ) i n t eg r a t ed i n t h e RFM63B ope r ates un d er a r eg u l a t ed v o l t a ge s u p p l y of 1.8 v . t he e x te r nal p a c ho k e i ndu c tor i s b i a s ed b y a n i n t e r n a l r egu l ator ou t put m ade a v a il a b l e on v r_ p a . t han k s to the s e f eatu r e s , t he p a o u tput po w er i s c on s i s tent o v er t h e p o wer s up p l y r a n ge. t h i s i s i m po r tant f or m ob il e ap p li c a t i ons whe r e th i s a l l o w s b oth p r e d i c ta b l e rf pe r f o r m an c e and ba t te r y l i f e. 3.3. 7 .1. rise a n d f all t i m es c ont r o l in oo k m ode, t h e p a r a m p t i m es c an be a cc u r at e l y c ont r o l l ed th r o ugh the m c p a r a m _ pa _ r a m p r eg i s t e r . t ho s e b i ts d i r e c t l y c ont r ol t he sl e w r ate of v r _ p a o ut p ut . t ab l e 11: p a r i s e / f a l l t i m es m cp a r am_ p a _ r am p t v r _ p a t p a _ out (ri s e / f a ll) 0 0 3 u s 2 .5 / 2 u s 0 1 8 .5 u s 5 / 3 u s 1 0 1 5 u s 1 0 / 6 u s 1 1 2 3 u s 2 0 / 1 0 u s t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 21 of 9 0 rfm63 b da t a v r _ p a [ v] 9 5 % 9 5 % t v r _ pa t v r _ pa p a output pow e r 6 0 d b 6 0 d b t p a _ o ut t pa _ out f i gu r e 1 0: p a c o nt r ol 3.3. 7 .2. opt i mu m lo ad i mp e d a n c e a s the p a and the l n a f r ont - ends i n the RFM63B s h a r e the s a m e input/ o u tput p i n, t h e y a r e i nte r n a ll y m at c hed to app r o x i m ate l y 5 0 ?. p m a x - 1 d b c i r c l e m a x p o w e r z o p t = 30 + j 2 5 ? f i gu r e 11: o pt i m a l l o ad im ped a n c e c h a r t pl e a s e r e f er to t he r e f e r en c e de si gn s e c t i on f or a n o p t i m i z ed p a l oad s ett i ng. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 22 of 9 0 rfm63 b reg _ p a r x _o n pa l na 3.3. 7 .3. s ugg es t ed p a b i asi n g a n d m a t c h i n g t he r e c o m m e nded p a b i as and m at c h i n g c i rc u i t i s i l l u s t r ated be l o w : v r_ p a 4 7 n f 1 0 0 n h p a r fio sa w d c b l o c k a n t en n a p o r t lo w - p a s s a n d d c b l o c k f i gu r e 12: re c o m me n d e d p a b i a s i n g a nd o u t put ma t c h i ng pl e a s e r e f er to s e c t i on 7.5 . 3 of th i s d o c u m ent f o r the o pt i m i z ed m at c h i n g a rr a n g e m ent f or ea c h f r equen c y ba nd. 3.3 . 8 . co mm on i nput a nd o u t put fron t - e nd t he r e c e i v er a nd t he t r an s m i tter s ha r e t h e s a m e r f io p i n . f i gu r e 1 3 b e l o w s h o w s the c on f i gu r at i on of t he c o m m on rf f r ont - end. ? in t r an s m i t m ode, t h e p a and the p a r e g u l ator a r e a c t i v e, w i th t h e v o l ta g e on the v r _ p a p i n e qu a l t o t he no m i nal v o l ta g e of the r eg u l ator ( 1 .8 v ) . t he e x te r n a l i ndu c t a n c e i s u s e d to b i as t he p a . ? in r e c e i v e m ode, both p a and p a r e g u l ator a r e o f f and v r _ p a i s t i e d t o g r ou n d. t h e e x te r n al i n du c t a n c e l t 1 i s th e n u s ed to b i as t he l n a . vr_pa t o antenna r f io f i gu r e 13: fr o nt - e n d de scri pt i o n t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 23 of 9 0 rfm63 b r s s i o o k d e m o d r x f s d e m 3 . 4. r ece i v er d es c ri p t io n t he RFM63B i s s et t o r e c e iv e m ode when m c p a r a m _ch i p _ m ode = 0 11. 3.4 . 1 . a r c h i t ec t ure t he RFM63B r e c e i v er e m p l o y s a s u pe r - he t e r o d y ne a rc h i te c tu r e. h e r e, the f i rs t if i s 1/9 t h of the rf f r equen c y ( app r o x i m ate l y 1 0 0m h z ) . t he s e c ond d o wn - c o n v e rsi on do w n - c o n v e r ts t he i a n d q s i g n a l s t o b a s e b a nd i n t he c a s e of th e f s k r e c e i v er (z e r o i f ) a n d to a l o w - if ( i f 2) f or the oo k r e c e i v e r . a f ter the s e c ond d o wn - c o n v e rsi on s ta g e, the r e c e i v ed s i g n al i s c ha n n e l - s e l e c t f il te r ed a n d a m p li f i ed to a l e v el ade q ua t e f or de m odu l a t i on . b o t h f s k and o o k de m od u l a t i on a r e a v a i l a b l e. f i n a l l y , an op t i o n al b i t s y n c h r on i z er ( bi ts y n c ) i s p r o vi d ed, to b e s upp l y a s y n c h r o n ous c l o c k and data s t r eam to a c o m pan i on uc i n c o nt i nu o us m ode, t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 24 of 9 0 rfm63 b or to f il l the f i f o bu ff e r s w i th g l i t c h - f r ee data i n b u ff e r ed m ode. t he ope r at i on of the r e c e i v er i s n o w de scr i bed i n det a il . note: i m age r e j e c t i on i s a c h i e v e d b y t h e s a w f il te r . 3.4 . 2 . l n a a nd f i r s t m ixe r in r e c e i v e m ode, t he r f i o p i n i s c on n e c ted t o a f i x ed g a i n, c o m m on - gate, l o w n o i s e a m p li f i er ( ln a ) . t he pe r f o r m an c e of th i s a m p li f i er i s s u c h t h at t h e n o i s e f i gu r e ( n f ) of the r e c e i v er c a n be e s t i m ated to be 7 d b . 3.4 . 3 . i f gai n a nd s e c ond i / q m ixe r f o l l o w i ng the l na a n d f i rs t down - c on v e rs i o n , the r e i s an if a m p li f i er w h o s e ga i n c an be p r og r a m m ed f r o m - 13.5 db to 0 db i n 4 . 5 d b s tep s , v i a t he r e g i s ter m c p a r a m _i f _ga i n. t he d e f au l t s ett i n g c o rr e s p o nds t o 0 d b g a i n, but l o w er v a l u es c an b e u s ed to i n cr ea s e t h e r s s i d y na m i c r ange. re f er to s e c t i on 3 . 4.7 f or a d d i t i o n a l i n f o r m at i on. 3.4 . 4 . ch a nn e l f il t e r s t he s e c ond m i x er s tages a r e f o l l o w e d b y the c ha n nel s e l e c t f il te rs . t he c h a nn e l s e l e c t f il t e r s h a v e a s t r ong i n f l u e n c e on t he n o i s e b a nd w i d th a nd s e l e c t i vi t y of t h e r e c e i v er a n d h e n c e i ts s en s i t i v i t y . e a c h f il ter c o m p ri s es a pa ss i v e a n d a c t i v e s e c t i on. 3.4. 4 .1. p a s si v e f il t er e a c h c h a nn e l s e l e c t f il ter f eatu r es a pa ss i v e s e c ond - o r der rc f il t e r , w i t h a b a nd w i d th p r o g r a m m ab l e th r o ugh t he b i ts r x p a r a m _ p a ss iv e f il t. a s the w i d er of the t wo f il t e rs , i ts e ff e c t on the s en s i t i v i t y i s n e g l i g i b l e, but i ts b an d w i d t h has to be s etup i n s tead to op t i m iz e b l o c k i ng i m m un i t y . t he v a l ue en t e r ed i n to th i s r e g i s ter s ets the s i n g l e s i d e ban d w i d th of t h i s f il te r . f or opt i m um pe r f o r m an c e i t s h ou l d be s et to 3 t o 4 t i m es the c u t o f f f r equen c y of the a c t i v e b ut t e r w o r th ( or p o l y p ha s e) f il ter de scr i b ed i n t he n e x t s e c t i o n . 3.4. 4 .2. a c t i v e f i l t er t he ? f i ne? c ha n n e l s e l e c t i on i s pe r f o r m ed b y an a c t i v e , th i r d - o r d e r , b u t te r w o r t h f il t e r , w h i c h a c ts as a l o w - p a s s f il ter f or the z e r o - if c on f i gu r a t i on (f s k ) , or a c o m p l ex po l y p ha s e f il t er f or the lo w - if (oo k ) c on f i gu r a t i o n. t he r x p a r a m _ p o l y p fi l t _ on b i t ena b l e s / d i s a b l es t he p o l y p ha s e f il t e r . lo w - pas s fi l t e r f o r fs k ( r x p ara m _ p o l y f i l t _on = ? ? 0 ??) - f c 0 f c f r equen c y p o l y phas e f il t e r f o r oo k ( rxp a ra m _ po l y f ilt _ o n =?? 1 ? ? ) c an c e l e d s i d e o f t h e po l y pha se f il t e r - f c - f o 0 f r equen c y f i gu r e 17: a c t i v e ch a nn e l f il ter de scr i p t i on t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 25 of 9 0 rfm63 b a s c an b e s e e n f r o m f i gu r e 17, the r eq u i r ed ba nd w i d t h of th i s f il t er v a r i es b e t w ee n the t w o de m odu l a t i o n m ode s . ? f s k m ode: t he 9 9 % e n e r g y b an d w i d t h of an f s k m o du l ated s i g n al i s a pp r o x i m ated t o b e : t he b i ts r xp a r a m _ b utte r f il t s et f c , the c uto f f f r eque n c y of t h e f il t e r . a s w e a r e i n a z e r o - if c on f i gu r at i on, t h e f s k l o b es a r e c ente r ed a r o u n d the vi r t ual dc f r equen c y . t he c ho i c e of f c s hou l d b e s u c h that the m odu l a t ed s i gn a l f a ll s i n t h e f i l ter b an d w i dt h , an t i c i p a t i ng the l o c al osc il l ator f r eq u en c y d r i f t o v er the o p e r a t i ng te m pe r atu r e a n d ag i ng of t h e d e v i c e: pl e a s e r e f er to t he c h a r ts i n s e c t i on 3. 4 . 5 f or an a cc u r a te o v e rv i e w of the f i l ter b a nd w i d th v s . s et t i ng. ? oo k m ode: t he 99% e ne r g y ba nd w i dth of an oo k m od u l at e d s i g n a l i s app r o x i m ated to b e: t he b i ts r x p a r a m _ p o l y p f i l t_ c e n ter s et f o, the c e n ter f r equen c y of the p o l y p ha s e f il ter w h en a c t i v ate d . f o s hou l d a l w a y s b e c ho s e n to be e qu a l to the l o w i nte r m ed i a te fr eq u en c y of the r e c e iv er ( i f 2 ) . t h i s i s w h y , i n t h e g ui de scr i bed i n s e c t i on 7 . 2.1 of th i s do c u m ent, the l o w if f r equ e n c y of the o o k r e c e i v er d eno t ed i f 2 h a s been r ep l a c e d b y f o. t he f o ll o w i ng s e t t i n g i s r e c o m m ended: t he v a l ue s to r e d i n r xp a r a m _ b utte rf i l t d e te r m i nes f c , the f i l ter c ut - o f f f r equen c y . s o t he u s er s ho u l d s et f c a cc o r d i ng to: a g a i n, f c as a f un c t i on of r x p a r a m _ b utte rfi l t i s g i v e n i n t he s e c t i on 3.4 . 6. 3.4 . 5 . ch a nn e l f il t e r s se tt i ng i n f s k mode fc , the 3db c uto f f f r equ e n c y of the b ut t e r w o r th f il t er u s ed i n f s k r e c ep t i on, i s p r og r a m m ed th r ough the b i t r x p a r a m _ b utte rfi l t. h o w e v e r , t h e wh o l e r e c e i v er c h a i n i n f l u e n c es th i s c uto f f f r equ e n c y . t hus the c ha n n e l s e l e c t and r e s u l t a nt f il t er b a n d w i d t hs a r e s u m m a r i z e d i n t h e f o l l o w i ng c h a r t: t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 26 of 9 0 rfm63 b f c - f o w i t h f o = 10 0 k h z [ k h z ] f c ( 3 d b c u t o f f) [ k h z ] 45 0 b u t t e r wo r t h f i l t e r ' s b w, f s k a c t ua l b w t heo r e t i c a l b w 40 0 35 0 30 0 25 0 20 0 15 0 10 0 5 0 0 0 2 4 6 8 1 0 1 2 1 4 1 6 v a l (r xp a r am _ b u t t e r f il t) [ d ] f i gu r e 18: b u t te r wo r t h fi l t e r 's a c tual b w t ab l e 37 s ug g e s ts f il ter s ett i ngs i n f s k m ode, a l o n g w i t h t he c o rr e s p on d i ng pa ss i v e f il t er b a n d w i d t h a nd t h e a cc epted to l e r an c e on t he c r y s t a l r e f e r en c e. 3.4 . 6 . ch a nn e l f il t e r s se tt i ng i n oo k mode t he c enter f r equen c y , f o, i s a l w a y s s et to 1 00 k h z . t he f o ll o w i ng c ha r t s h o w s the r e c e i v er ban d w i d t h when c han g i ng r x p a r a m _ b ut t e r f il t b i t s , wh i l s t t h e p o l y p h a s e f il ter i s a c t i v at e d. 45 0 p o l y ph ase f i l t e r ' s b w, oo k a c t ua l b w t heo r e t i c a l b w 40 0 35 0 30 0 25 0 20 0 15 0 10 0 5 0 0 0 2 4 6 8 1 0 1 2 1 4 1 6 v a l ( r xp a r a m _ b u tt e r f i l t [ d ] r xp a ra m _ p o l yp f il t = " 0011 " f i gu r e 19: p o l y p h a s e fi l te r ' s a c tual b w t ab l e 38 s ug g e s ts a f ew f il t er s ett i ngs i n oo k m ode, a l o n g w i t h the c o rr e s po n d i n g pa ss i v e f il ter b a n d w i d t h a nd the a cc epted to l e r an c e on t he c r y s t a l r e f e r en c e. 3.4 . 7 . r ss i a f ter f il te r i n g, the in - p h a s e and q u a d r atu r e s i g n a l s a r e a m p li f i ed b y a c h a i n of 1 1 a m p li f i e rs , ea c h w i t h 6 d b ga i n . t he outputs of the s e a m p li f i e r s a r e u s e d to e v a l ua t e t h e re c e i v ed s i gn a l s t r en g th ( r ss i ) . 3. 4. 7 .1. res o l ut i o n a n d a c c u r a c y w h il s t the r s s i r e s o l u t i o n i s 0.5 d b , the ab s o l u t e a cc u r a c y i s not e x pe c t e d t o b e b etter t han + / - 3 d b d ue t o p r o c e s s and e x te r n a l c o m ponent v a r i a t i on. h i gher a cc u r a c y wh i l s t pe r f o r m i ng ab s o l ute r s s i m ea s u r e m ents w i l l r equ i r e ad d i t i on a l c a l i b r a t i o n. 3.4. 7 .2. a c q u isi t i o n t i m e t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 27 of 9 0 rfm63 b r s si _ v a l [ 0 . 5 d b /b i t ] in oo k m ode, the r s s i e v a l ua t es the s i g n al s t r e ng t h b y s a m p li ng i ( t) a nd q( t) s i gn a l s 16 t i m es i n ea c h p e r i od of the c h o s en i f 2 f r eq u en c y (r e f er to s e c t i o n 3 .4.1 ) . in f s k m ode, t h e si gn a l s a r e s a m p l ed 1 6 t i m es i n e a c h f d e v pe r i o d, f d e v b e i ng t h e f r equen c y d e v i at i on of the c o m pan i on t r an s m i tte r . a n a v e r a g e i s th e n pe r f o r m ed o v er a s li d i ng w i n d o w of 16 s a m p l e s . hen c e, t h e r s s i o ut pu t r eg i s ter r x p a r a m _r ss i i s updat e d 16 t i m es i n ea c h f dev or i f 2 p e r i o d . t he f o ll o w i ng s e t t i n gs s ho u l d b e r e s pe c t ed: ? f s k m ode: e n s u r e t h at t h e f dev p a r a m eter ( as de s cr i bed i n mc p a r a m _ f de v ) r e m a i ns c on s i s tent w i th t he a c tual f r equen c y d e v i a t i on of the c o m pan i on t r an s m i tte r . ? oo k r e c ept i o n: e n s u r e t ha t the f dev p a r a m eter ( as d e scr i bed i n m c p a r a m _ f de v ) i s equ a l w i th t h e f r eque n c y of i ( t) and q( t) s i gna l s , i . e. the s e c ond i nte r m ed i a t e fr equ e n c y , i f 2 , of the r e c e iv er ( note th a t th i s e q u a l s f o, the c e n ter f r equen c y of the po l y p ha s e f il t e r) . 3.4. 7 .3. d y n a m ic ra ng e t he d y n a m i c r an ge of the r s s i i s o v er 70 d b , e x t e nd i ng f r om the no m i n a l s e n s i t i v i t y l e v e l . t he if ga i n s ett i n g a v a i l a b l e i n mc p a r a m _i f _ga i n i s u s e d to a c h i e v e t h i s d y n a m i c r ange: r s s i r e s pon s e 1 8 0 1 6 0 1 4 0 1 2 0 1 0 0 8 0 6 0 4 0 2 0 0 - 1 20 - 1 00 - 80 - 60 - 40 - 20 0 pi n [ d b m ] i f _ g a i n = 0 0 i f _ g a i n = 0 1 i f _ g a i n = 10 i f _ g a i n = 1 1 f i gu r e 20: r s s i d y n a m i c ran g e t he r ss i r e s p o n s e v e rs us i np u t s i g n al i s i n d ep e nd en t of the r e c e i v er f il ter b a n d w i d t h. h o we v er i n t h e ab s e n c e of a n y i n p ut s i g n a l , t he m i n i m um v a l u e d i r e c t l y r e f l e c ts u po n t h e no i s e f l o or of the r e c e i v e r , w h i c h i s dep e n d a n t on the f il ter b a n d w i d t h of the r e c e i v e r . 3.4. 7 .4. r s s i irq s ou r c e t he RFM63B c an a l s o b e u s ed to d ete c t a r s s i l e v el a bo v e a p r e - c on f i gu r ed th r e s ho l d. t he th r e s h o l d i s s et i n ir q p a r a m _r ss i _ i r q _th r e s h a n d t h e irq s ta t us s to r ed i n i r q p a r a m _r s s i _ i r q (cl ea r ed b y w r i t i ng a 1 ) . a n i n t e rr upt c an be m apped to the ir q 0 or ir q 1 p i ns v i a b i ts ir q p a r a m _r x _ s t b y _ i r q0 or ir q p a r a m _r x _ s t b y _ i r q1. f i gu r e 21 s h o w s t he t i m i ng d i ag r am of t h e r s s i i n t e rr upt s ou r c e, w i th ir q p a r a m _r ss i _ i r q _th r e s h s et to 28. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 28 of 9 0 rfm63 b r xpa r a m _ r ss i _ v al (7 : 0 ) 24 26 2 7 30 25 20 2 0 20 18 22 33 2 0 22 34 33 i r q p a r a m _ r ss i _ i r q c l e a r i n t e r r upt f i gu r e 21: r s s i irq t i m i n gs 3.4 . 8 . fd e v se tt i ng i n r ece i v e m o de t he ef f e c t of the f d e v s et t i ng i s d i ff e r ent be t we e n f s k a n d oo k m ode s : 3.4. 8 .1. f s k rx m od e in f s k m ode the f d e v s et t i ng, as c on f i gu r ed b y m c p a r a m _ fr eq_de v , s e ts s a m p l i ng f r eq u en c i es on t he r e c e i v e r . t he u s er s hou l d m a k e i t c o n s i s tent w i t h t h e f r e quen c y de v i a t i o n of the f s k s i g nal that i s r e c e i v e d. 3.4. 8 .2. oo k rx m od e t he f r equen c y d e vi a t i o n f de v , as d e scr i bed a b o v e, s ets the s a m p li ng r a te o f the r s s i b l o c k . it i s t h e r e f o r e ne c e ss a r y to s et f d ev to th e r e c o m m ended l o w - if f r e q uen c y , i f 2, of 100 k h z : 3.4 . 9 . f s k d em odu la t or t he f s k de m odu l a t or p r o vi des data p o l a r i t y i n f o r m at i on, ba s ed o n the r e l a t i v e p h a s e of the i np u t i and q s i g na l s at the ba s e b a n d. its outputs c an be f ed to the bi t s y n c h r on i z er to r e c o v er the t i m i ng i n f o r m at i on. t he u s er c an a l s o u s e the r a w , u n s y n c h r o n i z e d, o u tput of the f s k de m odu l a t or i n c o nt i nu o us m ode. t he f s k de m odu l ator of the RFM63B o pe r a t es m o s t e ff e c t iv e l y f or f s k s i g na l s w i t h a m odu l a t i o n i ndex g r eater than or e q u a l to t wo: 3.4 . 10 . oo k d em odu la t or t he oo k de m odu l ator p e r f o r m s a c o m pa r i s on of the r s s i ou t put and a th r e s h o l d v a l u e. t h r ee d i ff e r ent th r e s ho l d m odes a r e a v a i l a b l e, p r og r a m m ed th r ough t h e r xp a r a m _ oo k _th r e s h_ t y pe r e g is te r . t he r e c o m m ended m ode o f ope r at i o n i s t he p ea k th r e s ho l d m ode, i ll u s t r a t ed b e l o w i n f i g u r e 2 2: t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 29 of 9 0 rfm63 b r s s i ( d b ) ? ? pe a k - 6 d b ? ? t h r e s ho l d ?? f lo o r ? ? t h r e s ho l d de f i ne d b y m c p a r am_ oo k _ f l o o r _ t h r e s h n oi s e f lo o r o f r e c e iv e r t i m e z o o m d e c a y i n d b a s d e f i ne d i n r x pa r am_ oo k _ t h r e s h _ s t e p f i x e d 6 d b di f f e r e n c e pe r i o d a s d e f i ne d i n r x p a r a m _ o o k _ t h r e s h _de c _ p e r i o d f i gu r e 22: o o k d e mo d u l a t or de scr i pt i on in p e ak th r e s ho l d m ode th e c o m pa r i s on th r e s h o l d l e v e l i s t h e p eak v a l ue of t h e r s s i, r e du c ed b y 6 d b . in the ab s en c e of an i n put s i g n al or du ri ng the r e c ep t i o n of a l o g i c a l 0 , t he a c q u i r ed p eak v a l ue i s d e cr e m ented b y one r x pa r a m _ oo k _th r e s h_ s t ep e v e r y r xp a r a m _ oo k _th r e s h_ d e c _pe r i od. w h en the r s s i ou t put i s n u l l f or a l o ng t i m e ( f or i n s tan c e a f ter a l o n g s t r i ng of 0 r e c e i v ed, or i f no t r a n s m i tter i s p r e s ent ) , the p eak th r e s ho l d l e v e l w i l l c o n t i n ue f a l l i n g unt i l i t r ea c h es the f l oo r t h r e s ho l d that i s p r og r amm ed th r ou g h t h e r e g i s ter m c p a r a m _ oo k _ f l oo r _th r e s h. t he de f au l t s e tt i ngs of t h e oo k de m odu l a t or l ead to t he pe r f o r m an c e s tat e d i n t h e e l e c t r i c a l s p e c i f i c at i o n. h o w e v e r , i n ap p l i c at i ons i n wh i c h s ud d en s i g n al d r o p s a r e a wa i t ed du ri ng a r e c ept i on, the th r e e p a r a m ete r s s ha l l be o pt i m i z e d a cc o r d i n g l y . 3.4. 1 0.1. opt i m i z i n g th e f l oo r t h r es ho ld mc p a r a m _ oo k _ f l oo r _th r e s dete r m i nes the s en s i t i v i t y of the oo k r e c e iv e r , as i t s ets the c o m pa r i s on th r e s h o l d f or weak i nput s i g na l s ( i . e . t h o s e c l o s e to the n o i s e f l o o r) . si g n i f i c ant s en si t i vi t y i m p r o v e m ents c an be ge n e r ated i f c on f i gu r ed c o rr e c t l y . note t hat the n o i s e f l oor of the r e c e i v er at t he de m odu l ator i nput d e pe n ds on: ? t he no i s e f i g u r e of the r e c e i v e r . ? t he ga i n of the r e c e i v e c h a i n f r om antenna t o b a s e b a nd. ? t he m at c h i ng - i n c l u d i ng s a w f il te r . ? t he ban d w i d t h of the c ha n nel f i l te rs . it i s the r e f o r e i m po r tant t o note t hat t he s et t i ng of mc p a r a m _ oo k _ f l oo r _th r e s h w i l l be ap p li c a t i o n d e pe n d a nt. t he f o ll o w i ng p r o c e d u r e i s r e c omm ended to op t i m iz e m c p a r a m _ oo k _ f l oo r _th r e s h. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 30 of 9 0 rfm63 b s e t RFM63B in o o k r x m o d e a d j u s t bi t r a t e , c h an n e l f il t e r b w d e f au l t r x p a r a m _ o o k _ th r es h s e t t i n g n o i n pu t s i g n a l c on t i nu ou s m o d e m o n i t o r d a t a p in i n cr e m e n t m c p ar a m _ o o k _ f l o o r _ t h r e s g li t c h a c t i v i t y o n d a t a ? o p t i m i z a t i o n co m p l e t e f i gu r e 23: f l o or t h r e s h o l d o pt i m i z at i on t he n e w f l oor t h r e s h o l d v a l ue f ound du r i ng t h i s te s t s h ou l d be t h e v a l ue u s ed f or oo k r e c ep t i on w i t h t h o s e r e c e i v er s ett i n g s . note t h at i f the out p ut s i gn al on d a t a i s l og i c 1 , t h e v a l ue of m c p a r a m _ oo k _ f l oo r _ t h r es i s b e l o w t he n o i s e f l oor of the r e c e i v er c h a i n. c o n v e rs e l y , i f the ou t put si g n al on d a t a i s l o g i c 1 , the v a l ue of m a p a r a m _ f l oo r _th r es i s s e v e r a l d b a b o v e t he n o i s e f l oo r . 3.4. 1 0.2. opt i m i z i n g oo k de modu la to r res po n se fo r f ast f a d i n g s i gn a l s a s udd e n d r op i n s i g n a l s t r ength c an c au s e t h e b i t e rr or r ate to i n cr ea s e. f or ap p li c a t i ons w h e r e the e x pe c ted s i gn a l d r op c an be e s t i m ated t h e f o ll o w i n g oo k de m o du l a t or pa r a m ete r s r x p a r a m _ oo k _th r e s h_ s t ep and r x p a r a m _ oo k _th r e s h_ de c _pe r i o d c an b e op t i m i z e d as de scr i b e d b e l o w f or a g i v e n nu m ber of th r e s ho l d de cr e m ents per b i t r x p a r a m _ o o k _th r e s h _ de c _ p e r i o d: ? 000 - o n c e i n e a c h c h i p p e r i od ( d) ? 001 - o n c e i n 2 c h i p pe ri o ds ? 010 - o n c e i n 4 c h i p pe ri o ds ? 011 - o n c e i n 8 c h i p pe ri o ds ? 100 - t w i c e i n e a c h c h i p p e r i od ? 101 - 4 t i m es i n ea c h c h i p pe r i o d ? 110 - 8 t i m es i n ea c h c h i p pe r i o d ? 111 - 1 6 t i m es i n ea c h c h i p pe ri od f or ea c h d e cr e m ent of r xp a r a m _ oo k _th r e s h_ s t ep: ? 000 - 0 . 5 d b ( d) ? 001 - 1 . 0 d b ? 010 - 1 . 5 d b ? 011 - 2 . 0 d b ? 100 - 3 . 0 d b ? 101 - 4 . 0 d b ? 110 - 5 . 0 d b ? 111 - 6 . 0 d b t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 31 of 9 0 rfm63 b 3.4. 1 0.3. a l t e r n a t i v e oo k d e modu la to r t h r es ho ld m od es in a d d i t i o n to the p eak oo k th r e s h o l d m ode, the u s er c an a l te r n at i v e l y s e l e c t t w o other t y p es of th r e s ho l d dete c to rs : ? f i x ed th r e s ho l d: t he v a l u e i s s e l e c ted th r o u gh the mc p a r a m _ oo k _ f l oo r _th r e s h r e g i s ter (r e f er to s e c t i on 3.4. 1 0.1 f or f u r ther i n f o r m at i on c o n c e r n i ng op t i m iz at i on of the f l oor t h r e s h o l d ) . ? a v e r a ge th r e s h o l d : da t a s u pp l i ed b y t h e r ss i b l o c k i s a v e r a g e d w i th t he f o l l o w i ng c uto f f f r equen c y : in the f i rs t e x a m p l e, the h i g h er c ut - o f f f r equen c y en ab l es a s equen c e of up t o 8 c on s e c ut i v e 0 or 1 to be s uppo r t e d, wh i l s t t he l o wer c ut - o f f f r equen c y p r e s e n ted i n t h e s e c o nd e x a m p l e a l l o w s f or t he c o rr e c t r e c ep t i on of up to 32 c on s e c u t i v e 0 or 1 . 3.4 . 11 . b i t s y n c hron i z e r t he bi t s y n c h r o n i z er ( b i t s y n c ) i s a b l o c k that p r o v i des a c l e a n a nd s y n c h r o n i z ed d i g i tal ou t put, f r ee of g l i t c he s . r a w d e m o d u l a t o r o u t p u t ( fsk o r o o k) bi t s y n c o u t p u t to p in d ata an d d c l k i n c on t i n u ou s m od e d ata d c l k i r q _ 1 f i gu r e 24: b i t s y nc d e scr i p t i on t he bi t s y nc c an b e d i s a b l ed th r o u gh t h e b i ts r x p a r a m _ bi t s y n c _o ff , and b y h o l d i ng p i n ir q 1 l o w . h o w e v e r , f o r opt i m um r e c e iv er pe r f o r m an c e, i ts u s e wh e n r u n n i n g c o nt i nu o us m ode i s s t r on g l y a d vi s e d. w i th th i s o pt i o n a dclk s i g n al i s p r e s e nt o n p i n ir q _1. t he bi t s y nc i s au t o m at i c a l l y a c t i v a t ed i n b u ff e r ed and p a c k et m ode s . t he b i t s y n c h r on i z er b i t - r a t e i s c ont r o l l ed b y mc p a r a m _ b r. f or a g i v en b i t r a te, t h i s p a r a m eter i s d ete r m i ned b y : t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 32 of 9 0 rfm63 b f or p r o p er o p e r at i on, t h e bi t s y n c h r o n i z er m u s t f i rs t r e c e i v e th r ee b y tes of a l t e r nat i ng l o g i c v a l u e p r e a m b l e, i . e. 0101 s e q uen c e s . a f ter t h i s s ta r tup pha s e, the r i s i n g edge of dc l k s i g n al i s c ente r e d on the de m odu l a t ed b i t. s ub s e qu e nt d ata t r an s i t i on s w i l l p r e s e r v e t h i s c en t e r i n g. t h i s has two i m p li c a t i o n s : ? f i rs t l y , i f the b i t ra t es of t r an s m i tter and re c e i v er a r e k no w n to be t he s a m e , the RFM63B w i l l b e ab l e to r e c e i v e a n i n f i n i t e u n b a l an c ed s e q uen c e ( a l l 0 s or a l l 1 s ) w i t h no r e s t r i c t i on. ? if the r e i s a d i ff e r en c e i n b i t ra t e b e t w e en t x and r x , the a m ount of ad j a c ent b i ts at the s a m e l e v e l t h at t h e bi t s y nc c an w i th s t and c a n be e s t i m ated a s : t h i s i m p li es a p p r o x i m ate l y 6 c on s e c ut i v e u nb a l a n c e d b y t es when t he bi t r ate p r e c i s i on i s 1 % , w h i c h i s ea s i l y a c h i e v a b l e (c r y s t al t o l e r an c e i s i n t h e r a n ge of 50 to 1 0 0 pp m ) . 3.4 . 12 . a l t e rn a t i v e se tt i ngs bi t s y n c h r o n i z er a nd a c t iv e c ha n nel f il ter s e t t i n gs a r e a f un c t i o n of the r e f e r en c e o sc il l ator c r y s t a l f r equ e n c y , f x t al . s et t i ngs ot h er t h an tho s e p r og r a m m ab l e w i th a 1 2.8 m h z c r y s t a l c a n b e o bt a i ned b y s e l e c t i o n of t he c o rr e c t r e f e r en c e o sc il l ator f r eq u e n c y . p l ea s e c onta c t y o ur l o c al s e m te c h r ep r e s ent a t i v e f or f u r ther de t a i l s . 3.4 . 13 . d a t a o u t put a f ter oo k or f s k de m odu l a t i o n, t h e b a s eb a nd si g nal i s m ade a v a i l a b l e to t he u s er on , d a t a , when con t i n u ous m ode i s s e l e c ted. in b u ff e r ed and p a c k et m ode s , t h e d a ta i s r et r i e v e d f r om the f i f o th r ou g h t h e s p i i nte r f a c e. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 33 of 9 0 rfm63 b 4. o pe r a ti n g m o d e s t h i s s e c t i on s u m m a r i z es t he s ett i ngs f or ea c h ope r at i n g m ode of the RFM63B , and e x p l a i ns the f un c t i on a li t y a v a i l a b l e a nd t he t i m i ng r e q u i r e m ents f or s w i t c h i ng be t ween m ode s . 4 . 1. m od es o f o p e r a t io n t ab l e 12: o pe r a t i n g modes mod e m cp a r a m_ c h i p_m o d e a c ti v e b l ock s s lee p 00 0 spi, p o r st andb y 00 1 spi, p o r, t o p r egul a t o r, d i g i t a l r egu l a t o r, x o , c l k o ut ( i f a c t i v a t e d t h r o u g h o scp a r am_ c l k ou t) f s 01 0 s am e + vco r egu l a t o r, al l p l l an d l o ge n e r a t io n bl o c k s r ecei v e 01 1 s am e a s f s mo d e + l na, f i r s t mi x e r, if amp l i f i e r, s e co n d mi x e r se t, ch a nne l f il t e r s , ba s eb a n d a m p li f i e rs an d li m i t e r s , rssi, oo k o r f sk d e m o dul a t o r, b i ts y n c a n d a l l d igi t a l f ea t u r e s i f e n ab l e d t r ansmi t 10 0 s am e a s f s m od e + dds, i n t e r p o la t io n f i l t e r s , al l u p - c o n v e r sio n mi x e r s , pa d r i v e r, pa a n d e x t e r na l vr _ p a pi n o u t p u t f o r pa c h ok e . 4 . 2. d i g i tal p i n con f i g u r at i o n v s. ch i p mod e t ab l e 13 de scr i bes t he s ta t e of the d i g i t a l i o s i n ea c h of the a b o v e de scr i b ed m odes of ope r a t i o n, r e g a r d l e s s of the data ope r at i ng m ode ( con t i n uou s , b u ff e r ed, or p a c k et ) . t ab l e 13: p i n c on f i gu r at i on vs . ch i p mo d e c h ip . mod e pin sl ee p mod e st and b y mod e f s mod e r ece i v e mod e t r ansm it mod e c ommen t nss _ c o n f ig i npu t i npu t i npu t i npu t i npu t nss _ c o n f ig ha s t h e p r io r i t y o v e r nss _ da t a nss _ da t a i npu t i npu t i npu t i npu t i npu t m i s o i npu t i npu t i npu t i npu t i npu t o utput o n l y i f n s s _c o n f ig or n s s d a t a = ? 0 ? mo si i npu t i npu t i npu t i npu t i npu t sck i npu t i npu t i npu t i npu t i npu t ir q _ 0 h igh - z o u t pu t ( 1 ) o u t pu t ( 1 ) o u t pu t o u t pu t ir q _ 1 h igh - z o u t pu t ( 1 ) o u t pu t ( 1 ) o u t pu t o u t pu t da t a i npu t i npu t i npu t o u t pu t i npu t c l k o ut h igh - z o u t pu t o u t pu t o u t pu t o u t pu t p ll_l o ck h igh - z o u t pu t ( 2 ) o u t pu t ( 2 ) o u t pu t ( 2 ) o u t pu t ( 2 ) note s : ( 1 ) : h i gh - z i f co n t i n uous m ode i s a c t i v at e d, e l s e o u t pu t ( 2 ) : o ut p ut i f p ll _ l o c k _en = 1, e l s e h i gh - z ( 3 ) : v a l i d l o g i c s tates m u s t be ap p l i ed t o i nputs at a l l t i m es to a v o i d u n w a nt e d l e a k age c u rr ents t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 34 of 9 0 rfm63 b 5. data pr o cessi n g 5 . 1. o v e r v i e w 5.1 . 1 . b l o c k d ia g r a m f i gu r e 2 5, i l l u s t r a t es the RFM63B d a ta p r o c e ss i n g c i rc u i t. its r o l e i s to i nte r f a c e the d a ta to/ f r om the m odu l ato r /de m odu l ator a n d t h e u c a cc e s s p o i nts ( s p i, irq a nd d a t a p i n s) . it a l s o c ont r o l s a l l t h e c o n f i g u r at i o n r eg i s te rs . t he c i rc u i t c ont a i ns s e v e r a l c ont r ol b l o c k s w h i c h a r e d e scr i bed i n t he f o l l o w i ng p a r ag r aph s . t x / r x RFM63B contr o l da t a i rq_0 i rq_1 d a t a r x sy nc r ecog . tx packet handler f i fo ( +sr) sp i conf i g da t a n ss _ d a t a sck m os i m i s o f i gu r e 25: RFM63B s d ata p r o c e ss i ng con c e pt u al v i e w t he RFM63B i m p l e m ents s e v e r a l data o p e r at i on m od e s , ea c h w i th th e i r o wn d ata path th r o u gh t he da t a p r o c e ss i ng s e c t i on. d e pe n d i ng on t he data o p e r at i on m ode s e l e c ted, s o m e c ont r ol b l o ck s a r e a c t iv e w h il s t o t he r s r e m a i n d i s a b l e d . 5.1 . 2 . d a t a o p e r a t i on mod e s t he rfm63 b has t h r ee d i ff e r ent d a ta o pe r a t i o n m odes s e l e c ta b l e b y the u s e r : ? con t i n u ous m ode : ea c h b i t t r an s m i tted or r e c e iv e d i s a cc e ss ed i n r eal t i m e at the d a t a p i n. t h i s m ode m a y be u s ed i f a d eq u ate e x te r n a l si gn a l p r o c e ss i n g i s a v a i l a b l e . ? b u ff e r ed m ode : ea c h b y t e t r an s m i tted or r e c e i v ed i s s to r ed i n a f i f o and a cc e ss ed vi a t h e s p i bu s . u c p r o c e ss i ng o v e r he a d i s h en c e s i g n i f i c an t l y r edu c ed c o m pa r ed to con t i n uous m ode ope r at i on. t he pa c k et l e n gth i s u n li m i ted. ? p a c k et m ode (r e c o m m en d ed ) : u s er on l y p r o vi d e s / r e t r i e v es p a y l o a d b y t es to/ f r om the f i fo . t he pa c k et i s auto m at i c a ll y b u i l t w i th p r e a m b l e, s y nc w o r d, a n d op t i on a l crc, dc f r ee en c o d i n g and t h e r e v e rs e ope r a t i o n i s pe r f o r m ed i n r e c e p t i o n. t he uc p r o c e ss i ng o v e r he a d i s hen c e r edu c e d f u r ther c o m pa r ed to b u ff e r ed m ode. t he m a x i m u m p a y l o ad l e n gth i s li m i ted t o t h e m a x i m um f i f o li m i t of 64 b y t es t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 35 of 9 0 rfm63 b c on f ig . r egis t e rs t ab l e 14: da t a o pe r a t i o n mode s e l e c t i on m cp a r am_ d a t a _m o d e d a ta o pe r a t io n m od e 0 0 c on t in u o u s 0 1 b u ff e r e d 1 x p ac k e t e a c h of t h e s e d a ta ope r a t i o n m odes i s de scr i be d f u l l y i n the f o ll o w i n g s e c t i on s . 5 . 2. con t r o l b l o ck d e s c ri p t i o n 5.2 . 1 . sp i i n t e r fa c e 5.2. 1 .1. o v e r v iew a s i l l u s t r a t ed i n t he f i gu r e 26 b e l o w, t h e RFM63B ? s sp i i n t e r f a c e c on s i s ts of two s ub b l o c k s : ? sp i con f i g : u s e d i n a l l da t a o p e r at i on m odes to r e ad and w r i te the c on f i gu r a t i o n r eg i s te r s w h i c h c o n t r ol a l l t he pa r a m ete r s of the c h i p ( o p e r at i ng m ode, b i t r ate, et c ...) ? sp i d ata : u s e d i n b u ff e r ed and p a c k et m ode to w r i te a n d r ead d ata b y tes t o and f r o m the f i fo . (f i f o i nte rr u pts c an b e u s e d to m ana g e t h e f i f o c on t ent.) RFM63B c on f ig . r egis t e rs f i f o sp i c o n f i g ( sla v e ) spi da t a ( sla v e ) nss _ c o n f ig mo si m i s o sck nss _ da t a mo si m i s o sck nss _ da t a c (m a s t e r ) f i gu r e 26: s p i i n te r fa c e o v e rv i ew a nd uc c o nne c t i ons b oth i nte r f a c es a r e c on f i g u r ed i n sl a v e m ode w h i l s t the uc i s c on f i gu r ed as the m a s te r . t h e y h a v e s epa r ate s e l e c t i on p i ns ( n s s _c o n f ig and n s s _ d a t a ) but s h a r e the r e m a i n i n g p i n s : ? s ck ( s p i c l o c k ) : c l o c k s i gnal p r o v i d ed b y the uc ? m o s i ( m a s ter o ut s l a v e i n ) : dat a i n put si g n al p r o v i de d b y t h e uc ? mi s o ( m a s ter in s l a v e o u t ) : data ou t put si g n al p r o v i d ed b y t he RFM63B a s de scr i b e d b e l o w, o n l y o ne i nte r f a c e c an be s e l e c t e d at a t i m e w i th n s s _ c o n f ig ha v i n g t h e p ri o r i t y : t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 36 of 9 0 rfm63 b t ab l e 15: c o nf i g vs . data s p i i n te r fa c e s e l e c t i on nss _ d a t a nss _ c o n f ig spi i n t e rf a c e 0 0 c on f i g 0 1 d a ta 1 0 c on f i g 1 1 n on e t he f o ll o w i ng pa r ag r a phs d e scr i be ho w to u s e e a c h of the s e i nte r f a c e s . 5.2. 1 .2. sp i c onf ig ? w ri te reg i s ter t o w r i te a v a l ue i n t o a c o n f i gu r at i on r e g i s ter the t i m i ng d i a g r am be l o w s h ou l d b e c a r e f u l l y f o l l o w e d b y t h e u c . t he r eg i s te r ? s ne w v a l ue i s e ff e c t iv e f r o m the r i s i n g e d ge of n s s _c o n f i g . 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 n ss _c onf ig ( i n ) s c k ( i n ) n e w v a l u e a t add r e s s a 1 mos i ( i n ) s t a r t r w a (4 ) a ( 3 ) a (2 ) a ( 1 ) a ddr es s = a 1 a( 0 ) s t o p d (7 ) d ( 6 ) d (5 ) d (4 ) d ( 3 ) d (2 ) d ( 1 ) d (0 ) c ur r en t v a l u e a t addr e s s a 1 * m i s o ( o u t) h z x x ( i npu t) x x x x x x d (7 ) d ( 6 ) d (5 ) d (4 ) d ( 3 ) d (2 ) d ( 1 ) d ( 0 ) h z ( i npu t) * wh e n w r iti n g t h e n e w v a l u e a t a d dr e s s a 1 , t h e cu r r e n t c o n t en t o f a 1 c a n b e re a d b y t h e uc . ( i n) / ( o u t ) re f e r s to RFM63B s i d e f i gu r e 27: w r i te r eg i s t er s equ e n c e note t h at w h en w ri t i n g m o r e than one r e g i s ter s u cc e ss iv e l y , i t i s n ot c o m pu l s o r y t o tog g l e n s s _c o n f ig ba c k h i gh be t w e en t wo w ri te s e q ue n c e s . t he b y tes a r e a l t e r n a t i v e l y c on si de r e d as a d d r e s s and v a l u e. in t h i s i n s t a n c e, a l l n e w v a l ues w i l l b e c o m e effe c t i v e o n r i si ng e dge of n s s _c o n f i g . ? read re g i s ter t o r ead the v a l u e of a c on f i gu r at i on r e g i s ter the t i m i ng d i a g r am be l o w s h ou l d b e c a r e f u l l y f o l l o w e d b y t h e u c . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 3 7 of 9 0 rfm63 b 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 9 1 0 1 1 12 13 1 4 15 16 n ss _ c o n f i g ( i n ) s c k ( i n ) m o s i ( i n ) s t a r t r w a( 4 ) a ( 3) a ( 2) a ( 1) a d d r e s s = a 1 a( 0 ) s t o p x x x x x x x x c u r r e nt va l u e at a d d r ess a 1 m i so ( o u t ) h z x x ( i n p u t ) x x x x x x d ( 7) d( 6 ) d ( 5) d ( 4) d ( 3) d( 2 ) d ( 1) d( 0 ) h z ( i n p ut f i gu r e 28: re a d r e g i s ter s equ e n c e note t h at w h en r e ad i ng m o r e th a n o n e r e g i s ter s u cc e ss iv e l y , i t i s not c o m pu l s o r y to t og g l e n s s _c o n f i g ba c k h i g h b et w e e n t wo r e a d s e q uen c e s . t he b y tes a r e a l te r nat i v e l y c on si de r ed as a d d r e s s and v a l ue. 5.2. 1 .3. sp i da t a ? w ri te b y te ( be f o r e/du r i ng tx ) t o w r i te b y tes i nto the f i f o the t i m i ng d i ag r am be l o w s hou l d b e c a r e f u l l y f o l l o w e d b y t h e uc. 1 2 3 4 5 6 7 8 n s s_ d a t a ( i n ) s c k ( i n ) 1 s t b y te w r i tt e n 2 n d b y t e w r i tt e n m o s i ( i n ) d 1 ( 7 ) d 1 ( 6 ) d 1 ( 5 ) d 1 ( 4 ) d 1 ( 3 ) d 1 ( 2 ) d 1 ( 1 ) x d 1 ( 0 ) d 2 ( 7 ) d 2 ( 6 ) d 2 ( 5 ) d 2 ( 4 ) d 2 ( 3 ) d 2 ( 2 ) d 2 ( 1 ) d2 ( 0 ) m i s o ( o u t ) h z x ( i n p u t ) x x x x x x x h z (i np u t) x x x x x x x x x h z ( i n pu t) f i gu r e 29: w r i te b y tes s eq uen c e ( e x : 2 b y te s ) note t hat i t i s c o m pu l s o r y t o to g g l e n s s _ d a t a b a c k h i g h b et w e e n e a c h b y te w ri tten. t he b y te i s pu s h ed i n t o t h e f i f o on t h e r i si ng ed g e of n s s _d a t a t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 38 of 9 0 rfm63 b ? read b y te ( a f te r / d u r i n g r x ) t o r ead b y t es f r o m the f i f o the t i m i ng d i ag r am be l o w s hou l d b e c a r e f u l l y f o l l o w e d b y t h e uc. 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 n s s _ d a t a ( i n ) s c k ( i n ) m o s i (i n ) x x x x x x x x x x x x x x x x x 1 s t b y te r ea d 2 n d by te r e a d m i s o (o u t) h z ( i np u t ) d 1 ( 7 ) d 1 ( 6 ) d 1 ( 5 ) d 1 ( 4 ) d1 ( 3 ) d1 ( 2 ) d 1 ( 1 ) d 1 ( 0 ) h z ( i np u t ) d 2 ( 7 ) d2 ( 6 ) d 2 ( 5 ) d 2 ( 4 ) d 2 ( 3 ) d 2 ( 2 ) d2 ( 1 ) d 2 ( 0 ) h z ( i n p u t ) f i gu r e 30: re a d b y t es s eq uen c e ( e x : 2 b y te s ) note t hat i t i s c o m pu l s o r y t o to g g l e n s s _ d a t a b a c k h i g h b et w e e n e a c h b y te r e ad. 5.2 . 2 . f i fo 5.2. 2 .1. o v e r v iew a n d s h i f t re g is t er ( s r) in b u ff e r ed and p a c k et m o des of ope r at i o n , both d a ta to be t r an s m i tted and t h at has bee n r e c e i v e d a r e s to r ed i n a c on f i gu r a b l e f i f o (f i rs t in f i rs t o ut) de v i c e. it i s a cc e ss ed vi a the sp i d a t a i n t e r f a c e and p r o v i des s e v e r a l i nte rr u pts f or t r an s f er m anage m ent. t he f i f o i s 1 b y te ( 8 b i t s ) w i de hen c e i t o n l y pe r f o r m s b y te ( p a r a l l e l ) o p e r a t i on s , whe r e as the de m o d u l a t or f un c t i ons s e r i a ll y . a s h i f t r eg i s ter i s the r e f o r e e m p l o y e d to i nte r f a c e the t w o d e v i c e s . in t r an s m i t m ode i t ta k e s b y t es f r o m the f i f o and ou t puts them s e r i a l l y ( m s b f i rs t) at the p r og r a m m ed b i t r a t e to the m odu l a to r . si m il a r l y , i n rx the s h i f t r eg i s ter gets b i t b y b i t data f r om the de m odu l a tor and w r i tes t hem b y te b y b y t e to t he f i fo . t h i s i s i ll u s t r ated i n f i gu r e b e l o w. b y t e 1 b y t e 0 f i f o d a ta t x / r x 1 8 sr ( 8bi t s ) m s b l s b f i gu r e 31: f i f o and s h i ft reg i s t er ( s r) 5 .2. 2 .2. s i z e s el e c t i o n t he f i f o w i dth i s p r o g r a m m ab l e, to 1 6, 3 2, 4 8 or 6 4 b y t es v i a m c p a r a m _ f i f o_ si z e t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 39 of 9 0 rfm63 b 5.2. 2 .3. i nt e rr up t s o u r c e s a n d f la g s a l l i nte rr upt s o u rc es and f l ags a r e c o n f i gu r e d i n the ir q p a r am s e c t i on of the c on f i gu r a t i on r e g i s te r , w i t h the e xc ept i o n of f i f o_th r e s h o l d : ? / f i f oe m p t y : / f i f oe m p t y i nte r r upt s ou rc e i s l o w w h en b y t e 0, i . e. w h o l e f i fo , i s e m p t y . o t he r w i s e i t i s h i g h. n o te that w h en r et ri e v i n g data f r o m the f i fo , / f i f o e m p t y i s u p dat e d on n s s _ d a t a f a lli n g ed g e, i . e. w h e n / f i f oe m p t y i s u pda t ed to l o w s tate t h e c u rr ent l y s ta r ted r ead ope r a t i o n m u s t b e c o m p l eted. in o t her w o r d s , / f i f oe m p t y s tate m u s t be c he c k ed a ft er ea c h r ead o p e r at i o n f or a de c i s i on on t he ne x t one ( / f i f oe m p t y = 1: m o r e b y t e (s ) to r ead; / f i f o e m p t y = 0: no m o r e b y t e to r ead ) . ? w ri te_ b y te: w r i te_ b y t e i nt e rr upt s ou rc e g o es h i g h f or 1 b i t pe ri od e a c h t i m e a n e w b y t e i s t r an s f e rr ed f r om t he s r to the f i f o ( i .e. ea c h t i m e a new b y t e i s r e c e i v ed) ? f i f o f u ll : f i f o f u l l i n t e rr upt s o u rc e i s h i gh wh e n t h e l a s t f i f o b y t e, i .e. t he wh o l e f i f o , i s f u ll . o t he r w i s e i t i s l o w. ? f i f o_o v e rr un_ c l r : f i f o _ o v e rr un_ c l r f l ag i s s et w h e n a ne w b y t e i s w r i t t en b y the u s er ( i n t x or s tand b y m ode s ) or the s r ( i n rx m ode) wh i l e t h e f i f o i s a l r e a d y f u ll . data i s l o s t a n d t h e f l ag s h ou l d be cl ea r ed b y w r i t i ng a 1, note that the f i f o w i l l a l s o be c l e a r ed. ? t x _done: t x _done i n t e rr u p t s ou rc e goes h i g h w h e n f i f o i s e m p t y and t he s r ? s l a s t b i t has be e n s end to t he m odu l ator ( i .e. the l a s t b i t o f the pa c k et has been s e n t ) . o ne b i t pe ri od d e l a y i s r equ i r e d a f ter the r i s i ng ed g e of t x _done to en s u r e c o rr e c t rf t r an s m i ss i on of the l a s t b i t. in p r a c t i c e t h i s m a y not r equ i r e s pe ci al c a r e i n the uc s o f t w a r e d ue t o irq p r o c e ss i ng t i m e. ? f i f o_th r e s h o l d: f i f o_th r e s h o l d i n t e rr upt s ou rc e ? s b e h a v i or de p en ds on t he r u n n i n g m ode (tx , rx or s t b y m ode) and t h e th r e s h o l d i t s e l f c an be p r og r a m m ed vi a mc pa r a m _ f i f o_th r e s h ( b v a l u e ) . t h i s beha v i or i s i l l u s t r at e d i n f i gu r e 32. i rq s o u r c e 1 0 b b + 1 b + 2 # o f by t e s i n f i fo t x r x & s t b y f i gu r e 32: f i f o t h r e s h o l d irq s o u rc e b e ha vi or 5.2. 2 .4. f i f o clea r i n g t ab l e 16 b e l o w s u m m a ri z e s the s ta t us of the f i f o w h en s w i t c h i n g b et w e en d i ff e r ent m odes t ab l e 16: s t atus o f f i f o w hen s w i t c h i ng b et w een d i ff e r ent mo d es of t he c h i p f r o m t o f i f o st a t u s c omm e n ts st b y t x c lea r e d in b u ff e r e d mo d e , f i f o ca n n o t b e w r i tt e n i n st b y b e f o re t x n o t c l ea r e d in p a c ke t m o de , f i f o c a n b e w r i tt e n i n st b y b e f o re t x st b y r x c lea r e d r x t x c lea r e d r x st b y n o t c l ea r e d in p a c ke t & b u ff e r e d mo d e s fi f o ca n b e r e a d i n st b y a f t e r r x t x r x c lea r e d t x st b y n o t c l ea r e d a n y s lee p c lea r e d t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 40 of 9 0 rfm63 b 5.2 . 3 . s y nc w ord r ec ogn i t i on 5.2. 3 .1. o v e r v iew s y nc wo r d r e c o g n i t i on ( a l s o c a ll e d p atte r n r e c o gn i t i o n i n p r e v i ous p r od u c t s ) i s a c t i v at e d b y s ett i ng r x p a r a m _ s y n c _ on. t he b i t s y n c h r o n i z er m u s t a l s o be a c t i v at e d. t he b l o c k beh a v es l i k e a s h i f t r e g i s te r ; i t c o nt i nu o u s l y c o m pa r es the i n c o m i ng da ta w i th i ts i n t e r n a l l y p r og r amm e d s y nc w o r d a n d a ss e r ts t he s y nc irq s o u rc e on ea c h o cc a s i on t hat a m at c h i s d e te c ted. t h i s i s i l l u s t r at e d i n f i gu r e 33. rx d a t a ( n r z ) b i t n - x = b i t n - 1 = b i t n = sy n c _ v a l u e [ x ] sy n c _ v a l ue[1] sy n c _ v a l ue [ 0 ] dclk sy n c f i gu r e 33: s y nc w o r d re c og n i t i on du r i n g t h e c o m pa r i s on of the de m odu l a t ed da t a, t he f i rs t b i t r e c e i v ed i s c o m pa r ed w i th b i t 7 ( m sb ) of b y t e at add r e s s 2 2 a nd the l a s t b i t r e c e i v ed i s c o m pa r ed w i t h b i t 0 ( l s b ) of t h e l a s t b y t e w ho s e a d d r e s s i s dete r m i ned b y the l e n gth of the s y nc wo r d . w h en the p r og r a m m ed s y nc wo r d i s d ete c t e d t h e u s er c an a ss u m e that t h i s i n c o m i ng pa c k et i s f or the n o de a n d c an be p r o c e ss ed a cc o r d i n g l y . 5.2. 3 .2. c onf i gu r a t i o n ? s i z e: s y nc w o r d si z e c a n be s et to 8, 1 6 , 24 or 32 b i ts vi a r x p a r a m _ s y n c _ si z e . in p a c k et m ode th i s f i e l d i s a l s o u s e d f or s y nc w o r d g e ne r at i on i n t x m ode. ? e rr or to l e r an c e: t he nu m ber of e rr o r s to l e r a ted i n t h e s y nc wo r d r e c o gn i t i o n c an b e s et t o 0 , 1, 2 or 3 v i a r x p a r a m _ s y n c _ t o l . ? v a l ue: t he s y nc wo r d v a l u e i s c on f i gu r ed i n s y n c pa r a m _ s y n c _ v a l u e. in p a c k e t m ode th i s f i e l d i s a l s o u s ed f or s y nc w o r d g e ne r a t i o n i n t x m ode. 5.2 . 4 . pac k e t h a nd le r t he pa c k et hand l er i s t h e b l o c k u s ed i n p a c k et m ode. its f un c t i on a li t y i s f u l l y d e scr i b e d i n s e c t i o n 5 . 5. 5.2 . 5 . con t rol t he c ont r ol b l o c k c on f i gu r es and c o n t r o l s t h e f u l l c h i p ? s b eh a v i or a cc o r d i ng t o the s et t i ngs p r o g r a m m ed i n t h e c on f i gu r a t i on r e g i s t e rs . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 41 of 9 0 rfm63 b 5 . 3. con t i nuou s m od e 5.3 . 1 . ge n e r a l d e s c r i p t i on a s i l l u s t r ated i n f i gu r e 3 4 , i n c on t i n uous m ode t he n rz da t a t o ( f r o m ) the ( de ) m odu l ator i s d i r e c t l y a cc e s s ed b y the u c on the b i d i r e c t i o n al d a t a p i n . t he sp i d a ta, f i f o a n d p a c k et han d l e r a r e thus i na c t i v e. t x/ r x RFM63B c o n t r ol d a t a i r q_0 i r q_1 ( dc l k ) d ata r x s y n c r e c o g. s p i c o n f ig n s s _ c o n f ig s c k mo s i mi s o d ata p ath f i gu r e 34: con t i n uous mo d e con c e pt u al v i ew 5.3 . 2 . tx p ro c es s i ng in t x m ode, a s y n c h r o n o u s data cl o c k f or an e x te r n a l uc i s p r o vi d ed o n ir q _ 1 p i n. its t i m i ng w i th r e s p e c t to the data i s il l u s t r at e d i n f i gu r e 35. d a t a i s i n t e r n a l l y s a m p l e d o n t h e r i si ng ed g e of dclk s o t h e u c c an c ha n ge l o g i c s tate an y t i m e out s i d e t h e g r e y ed out s e t u p/h o l d z o ne. t he u s e of dclk i s c o m pu l s o r y i n f s k a nd o pt i on a l i n oo k . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 42 of 9 0 rfm63 b 5.3 . 3 . rx p ro c e ssi ng if the b i t s y n c h r o n i z er i s d i s ab l ed, t h e r a w de m odu l a t or output i s m ade d i r e c t l y a v a il a b l e on d a t a p i n a n d no dclk s i gn a l i s p r o v i d ed. co n v e rs e l y , i f the b i t s y n c h r on i z er i s en a b l e d, s y n c h r o nous c l e an e d d ata and c l o c k a r e m ade a v a i l a b l e r e s pe c t iv e l y on d a t a a nd ir q _1 p i n s . d a t a i s s a m p l ed on t he r i s i ng ed g e of dclk a n d upd a ted on t he f a l l i n g e d ge as i l l u s t r at e d i n fi gu r e 36. d a t a ( n r z ) d c l k f i gu r e 36: rx p r o c e ss i n g i n co n t i n uous mo d e note t h at i n c o nt i nu o us m ode i t i s a l w a y s r e c o m m e n ded to e na b l e t h e b i t s y n c h r on i z er to c l e an t h e d a t a s i gn a l e v e n i f the dclk s i g nal i s not u s ed b y t he uc. ( b i t s y n c h r on i z er i s au t o m at i c a l l y enab l ed i n b u ff e r ed and p a c k et m ode ) . 5.3 . 4 . i n t e rrupt si gn al s m a p p i ng t he tab l es b e l o w g i v e t he d e scr i pt i o n of the i n te rr upts a v a i l a b l e i n c on t i n u ous m ode. r x _s t b y _i r q _ 0 rx ir q _ 0 0 0 ( d ) s y n c 0 1 rssi 1 x - i r q _ 1 dc l k t ab l e 17: in t e rr upt ma p p i n g i n co n t i n uous r x mo d e note: in c on t i n u ous m ode, no i nte rr u p t i s a v a i l a b l e i n s t b y m ode t x i r q _ 0 - i r q _ 1 dc l k t ab l e 18: in t e rr upt ma p p i n g i n co n t i n uous t x mo d e t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 43 of 9 0 rfm63 b u c 5.3 . 5 . uc conn ec t i ons RFM63B d a t a i r q _0 i r q _1 ( d c l k ) ns s _ c o n f i g sc k m o s i m is o f i gu r e 37: uc c on n e c t i o ns i n c on t i n u ous mode note t hat s o m e c onne c t i o n s m a y not be ne e ded d e p e nd i ng o n t h e a pp l i c a t i o n : ? ir q _0: i f s y nc and r s s i i n te rr upts a r e not u s ed. i n t h i s c a s e, l e a v e f l oa t i ng. ? ir q _1: i f the c h i p i s ne v er u s ed i n t x f s k m ode ( dclk c on n e c t i on i s not c o m pu l s o r y i n rx and t x o o k m ode s) . in th i s c a s e, l e a v e f l oat i n g. ? mi s o : i f no r e a d r e g i s ter a c c e s s i s nee d ed. i n t h i s c a s e, p u ll - u p to v d d th r o ugh a 100 k ? r e s i s to r . in a d d i t i o n, n s s _d a t a p i n ( unu s ed i n c on t i n u ous m ode) s ho u l d be pu l l e d - u p t o v dd t h r ou g h a 100 k ? r e s i s to r . pl e a s e r e f er to t ab l e 13 f or RFM63B ? s p i ns c on f i g u r a t i o n 5.3 . 6 . con t i nuous mode e x am p l e ? con f i gu r e a l l da t a p r o c e ssi ng r e l ated r e g i s te r s l i s ted b e l o w app r o p r i a te l y . i n t h i s e x a m p l e w e a ss u m e that both bi t s y n c h r o n i z er a nd s y nc wo r d r e c o g n i t i on a r e on. t ab l e 19: r e l e v a n t c o nf i g u r at i on r e g i s te r s i n c o nt i n u ous m o de ( d ata p r o c e ss i ng r e l a t ed o n l y ) t x rx d esc ri p ti o n m cp a r a m d a t a_ m od e _ x x x d e f in e s d a ta o pe r a t io n m o d e ( - c on t inu o us ) ir q p a r a m r x _s t b y _i r q _ 0 x d e f in e s ir q _ 0 sou r c e i n rx mod e rxp a r a m s y nc_o n x e nabl e s s y n c w o rd r eco g ni t i o n s y nc_si z e x d e f in e s s y n c w o rd s i z e s y nc_ t o l x d e f in e s t h e e rr o r t o l e r a n c e o n s y n c w o rd r eco g ni t i o n syncp a r a m s y nc_ v alu e x d e f in e s s y n c w o rd v al u e t x mode: ? g o to t x m ode ( and wa i t f or t x to be r e a d y , s ee f i g u r e 50) ? s e n d a l l pa c k et ? s b i ts o n d a t a p i n s y n c h r o nou s l y w i t h dc l k si gn a l p r o v i d e d on ir q _1 ? g o to sl e ep m ode rx mod e : ? p r og r am rx i nte rr upt s : ir q _0 m apped to s y nc ( r x _ s t b y _ i r q _ 0 = 0 0 ) and i r q _1 m ap ped to dclk ( bi t s y n c h r o n i z er e n a b l ed) ? g o to rx m ode ( no t e t h at r x i s not r e a d y i m m ed i at e l y , s ee f i g u r e 4 9) ? w a i t f or s y nc i nte rr upt ? g et a l l p a c k et b i ts on d a t a p i n s y n c h r o n ou s l y w i th d clk si g n al p r o v i d ed o n i r q _1 ? g o to sl e ep m ode t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 44 of 9 0 rfm63 b 5 . 4. bu ffe r ed m od e 5.4 . 1 . ge n e r a l d e s c r i p t i on a s i ll u s t r a ted i n f i g u r e 3 8, f or b u ff e r ed m ode ope r a t i on t h e nrz da t a t o ( f r o m ) the ( d e ) m odu l ator i s n ot d i r e c t l y a cc e ss ed b y the uc b ut s t o r ed i n t h e f i f o a nd a cc e ss ed v i a t h e s p i data i n t e r f a c e. t h i s f r ees the uc fo r other ta s k s bet w e en p r o c e ss i n g data f r o m the RFM63B , f u r the r m o r e i t s i m p li f i es s o f twa r e de v e l op m ent and r ed u c es uc pe r f o r m an c e r equ i r e m ents (s peed, r e a c t i vi t y ) . n ote t h a t i n t h i s m ode t h e p a c k et hand l er s t a y s i na c t i v e. a n i m po r tant f eatu r e i s a l s o t h e a b i li t y t o e m p t y the f i f o i n s t b y m ode, en s u r i ng l o w po w er c o n s u m pt i on a n d ad d i ng g r ea t er s o f t w a r e f l e x i b i li t y . RFM63B c on t r ol i r q _ 0 i r q _ 1 d a t a r x s y nc r eco g . t x f i f o ( + sr) spi c onf i g d a ta n ss _ c o n f i g n ss _ d a t a s ck m osi m i s o d a t apa t h f i gu r e 38: b u f fe r ed m o de con c ep t u a l v i ew note t h at b i t s y n c h r on i z er i s auto m at i c a l l y e n a b l ed i n b u ff e r ed m ode. t he s y nc wo r d r e c og n i t i on m u s t be ena b l ed ( r x p a r a m _ s y n c _ o n = 1) i nd epe n de n t l y of the f i f o f il l i n g m ethod s e l e c ted ( ir q p a r a m _ f i f o_ f ill _ m ethod ) . 5.4 . 2 . tx p ro c es s i ng a f ter ente r i ng t x i n b u ff e r ed m ode, the c h i p e x pe c ts t h e uc t o w ri te i n t o t h e f i fo , v i a t h e sp i da t a i nte r f a c e, a l l the data b y t es to be t r a n s m i tted ( p r ea m b l e, s y nc wo r d, p a y l o ad . .. ) . a c tu a l t r an s m i ss i on of f i rs t b y t e w i l l s ta r t e i t h er w h en t he f i f o i s not e m p t y ( i . e . f i rs t b y te w r i t t en b y the uc) o r wh e n the f i f o i s f u l l d ep e n d i ng on b i t ir q p a r a m _ t x _ s ta r t _ i r q_0. in b u ff e r ed m ode the pa ck et l e ng t h i s n ot li m i ted, i .e. as l o n g as t he r e a r e b y t e s i n s i d e t h e f i f o th e y a r e s ent. w h en the l a s t b y te i s t r an s f e rr ed to the s r , / f i f oe m pty irq s ou rc e i s a ss e r ted t o wa r n t h e uc, at t hat t i m e f i f o c an s t i l l b e f i l l ed w i t h a dd i t i on a l b y tes i f nee d ed. w h en the l a s t b i t of the l a s t b y t e has l e f t the s r (i .e. 8 b i t pe ri ods l ate r) , t h e t x _done i n t e rr upt s o u rc e i s a s s e r ted and t he u s er c an e x i t t x m ode a f ter wa i t i n g at l e a s t 1 b i t pe r i o d f r om the l a s t b i t p r o c e ss ed b y m odu l ato r . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 45 of 9 0 rfm63 b if the t r a n s m i tter i s s w i t c h ed o f f ( f or e x a m p l e due to en t e r i n g ano t her c h i p m o de) d u r i n g t r a n s m i ss i on i t w i l l s t o p i m m ed i ate l y , e v e n i f the r e i s s t il l un s e n t d a ta. f i gu r e 3 9 i ll u s t r a t es t x p r o c e ss i ng w i th a 1 6 b y t e f i f o depth a nd t x _ s ta r t_ i r q_ 0 = 0. p l ea s e n ote t h at i n t h i s e x a m p l e the pa c k et l eng t h i s e q u a l to f i f o si z e, b ut t h i s d oes n ot ne e d t o be th e c a s e, the uc c an u s e t he f i f o i nte rr u pts a n y t i m e du r i ng t x to m anage f i f o c on t ents and w r i te a d d i t i o n al b y t e s . s t a r t c o n d i t i o n ( c f . t x _s t a r t _ i r q _ 0 ) f i f o f u l l / f i f oe m p t y t x _don e fr o m s p i da t a 1 5 f i f o 0 b 1 5 b 1 4 b 1 3 b 1 2 b 1 1 b 1 0 b 9 b 8 b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 d at a t x (f r o m sr ) xx x b 0 b 1 b 2 b 3 b 4 b 5 b 6 b 7 b 8 b 9 b 1 0 b 1 1 b 1 2 b 1 3 b 1 4 b 1 5 xx x f i gu r e 39: t x p r o c e ss i ng i n b uf f e r ed mo d e (f i f o si z e = 1 6, tx _ s ta r t _ i r q _ 0 = 0) 5.4 . 3 . rx p ro c e ssi ng a f ter ente r i ng rx i n b u ff e r ed m ode, the c h i p r e q u i r es t he uc to r et ri e v e t h e r e c e i v ed d a ta f r om the f i fo . t he f i f o w i l l a c t ua l l y s ta r t be i ng f i l l e d w i t h r e c e i v ed b y t es e i t h e r ; w h e n a s y nc wo r d h as b e en d ete c t e d (i n t h i s c a s e o n l y t h e b y t es f o ll o w i ng t he s y nc wo r d a r e f il l ed i nto t he f i f o ) or w h en t h e f i f o_ f i l l b i t i s a ss e r ted b y the u s er - d ep en d i ng on t h e s ta t e of b i t , ir q p a r a m _ f i f o_ f ill _ m ethod. in b u ff e r ed m ode, t h e p a ck et l e n gth i s not l i m i ted i .e. as l o ng as f i f o_ f il l i s s e t , t he r e c e i v ed b y tes a r e s h i f ted i n t o the f i fo . t he uc s o f t w a r e m u s t the r e f o r e m anage t he t r a n s f er of the f i f o c ont e nts b y i n t e rr upt a n d e n s u r e r e c ep t i o n of the c o rr e c t nu m ber of b y te s . ( i n th i s m ode, e v en i f the r e m ote t r an s m i tter has s to p ped, t he d e m odu l ator w i l l out p ut r andom b i ts f r o m no i s e) w h en the f i f o i s f u ll , f i f o f u l l i rq s ou rc e i s a ss e r ted t o a l e r t t he u c , that at th a t t i m e, the f i f o c an s t il l b e u n f ill e d w i t h out d ata l o ss . if the f i f o i s not un f i l l e d , on c e t h e s r i s a l s o f u l l ( i . e. 8 b i ts pe r i ods l ate r ) f i f o_ o v e rr u n_ c l r i s a ss e r ted a n d s r ? s c o n tent i s l o s t. f i gu r e 4 0 i l l u s t r ates an rx p r o c e ss i ng w i th a 1 6 b y te s f i f o s iz e and f i f o_ f i l l _ m ethod = 0. p l e a s e note t h at i n the i l l u s t r at iv e e x a m p l e of s e c t i on 5 . 4.6, the uc does not r et r i e v e an y b y te f r om the f i f o th r ou g h s p i dat a , c a u s i ng o v e rr u n. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 46 of 9 0 rfm63 b d at a r x ( t o s r ) no i s y d a t a p r e a mb l e s yn c b 0 b 1 b 2 b 3 b 4 b 5 b 6 b 7 b 8 b 9 b 1 0 b 1 1 b1 2 b 1 3 b 1 4 b 1 5 b1 6 s t a r t c ond i t i o n ( c f . f i f o_ f i l l _ m e t h o d ) /f i f oem p t y f i f o f u l l f i f o _ ov e r r un_ c lr w r i te_ b y t e 1 5 f i f o 0 b 1 0 b 9 b 8 b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 b 1 1 b 1 2 b1 3 b 1 4 b 1 5 f i gu r e 40: rx p r o c e ss i n g i n b u ffe r e d m o de (f i f o siz e = 1 6, fi fo_ f i l l _ me t ho d = 0) 5.4 . 4 . i n t e rrupt si gn al s m a p p i ng t he tab l es b e l o w de scr i be t he i nte rr u p ts a v a i l a b l e i n b u ff e r ed m ode. r x _s t b y _i r q_ x rx s t b y ir q _ 0 0 0 ( d ) - - 0 1 w ri t e _ b y te - 1 0 / fi f o e mp ty / fi f o e mp ty 1 1 s y n c - ir q _ 1 0 0 ( d ) - - 0 1 fi f o f u l l fi f o f u l l 1 0 rssi - 1 1 fi f o_ t h r e sho l d fi f o_ t h r e sho l d t ab l e 20: in t e rr upt ma p p i n g i n b u ffe r e d rx a n d s tby modes t x i r q _ 0 / fi f o e mp ty ir q _ 1 t x _i r q_1= 0 ( d ) fi f o f u l l t x _i r q_1= 1 t x _don e t ab l e 21: in t e rr upt ma p p i n g i n b u ffe r e d t x m o de t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 47 of 9 0 rfm63 b 5.4 . 5 . uc conn ec t i ons RFM63B ir q _ 0 ir q _ 1 n s s _ c o nfig uc n s s _ d a t a s ck m o s i m i s o f i gu r e 41: uc c on n e c t i o ns i n b uf f e r ed mo d e note t hat de p en d i n g u pon t he a pp l i c a t i on, s o m e uc c onne c t i ons m a y not be ne ed ed: ? ir q _0: i f none of the r e l e v a nt irq s ou rc es a r e u s ed. in th i s c a s e, l e a v e f l oa t i n g . ? ir q _1: i f none of the r e l e v a nt irq s ou rc es a r e u s ed. in th i s c a s e, l e a v e f l oa t i n g . ? mi s o : i f no r ead r e g i s ter a cc e s s i s needed a nd the c h i p i s u s ed i n t x m ode on l y . in th i s c a s e, p u l l up to v dd th r ou g h a 100 k ? r e s i s to r . in a d d i t i o n, d a t a p i n ( unu s ed i n b u ff e r ed m ode) s hou l d be p u ll e d - up to v dd t h r o ugh a 1 0 0 k ? r e s i s to r . pl e a s e r e f er to t ab l e 13 f or the RFM63B ? s p i n c o n f i gu r a t i o n . 5.4 . 6 . bu ff e r e d mode exa m p l e ? con f i gu r e a l l d a ta p r o c e s s i ng r e l a t ed r e g i s te r s l i s ted be l o w a p p r op r i at e l y . in th i s e x a m p l e we a ss u m e s y nc wo r d r e c o g n i t i on i s o n a nd f i f o_ f ill _ m etho d = 0. t x rx d esc r i p t i o n m cp a r a m d a t a_ m od e _ x x x d e f in e s d a ta o pe r a t io n m o d e ( - b u ff e r ed ) fi f o _ si z e x x d e f in e s f i f o si z e fi f o_ t h r e s h x x d e f in e s f i f o t h r e s ho l d ir q p a r a m r x _s t b y _i r q _ 0 x d e f in e s ir q _ 0 sou r c e i n rx & st b y mod e s r x _s t b y _i r q _ 1 x d e f in e s ir q _ 1 sou r c e i n rx & st b y mod e s t x _i r q_ 1 x d e f in e s ir q _ 1 sou r c e i n t x m od e fi f o_ f il l _ m e t h o d x d e f in e s f i f o f il l in g me t ho d f i f o _ f il l x c on tr o l s f i f o f il l in g s t a t u s t x _s t a rt _i r q _ 0 x d e f in e s t x s t a rt con d i t i o n a n d ir q _ 0 sou r c e rxp a r a m s y nc_si z e x d e f in e s s y n c w o rd s i z e s y nc_ t o l x d e f in e s t h e e rr o r t o l e r a n c e o n s y n c w o rd de t e c t i o n syncp a r a m s y nc_ v alu e x d e f in e s s y n c w o rd v al u e t ab l e 22: r e l e v a n t c o nf i g u r at i on r e g i s te r s i n b uffe r e d m o d e ( da t a p r o c e ssi ng r e l ated o n l y ) t x mode: ? p r og r am t x s ta r t c ond i t i on and i r qs : s ta r t t x w h e n f i f o i s not e m p t y ( t x _ s ta r t_ i r q_ 0 = 1) and ir q _1 m apped to t x _done ( t x _ i r q_ 1 = 1) ? g o to t x m ode ( and wa i t f or t x to be r e a d y , s ee f i g u r e 50) t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 48 of 9 0 rfm63 b ? w ri te pa c k et b y tes i nto f i f o . t x s ta r ts w hen t h e f i rs t b y t e i s w ri tten ( t x _ s ta r t_ i r q _ 0 = 1 ) . w e a ss u m e the f i f o i s be i ng f i l l ed v i a s p i da t a f a s ter th a n b e i n g u n f il l ed b y s r. ? w a i t f or t x _done i nte rr upt ( + 1 b i t pe ri od) ? g o to sl e ep m ode rx mod e : ? p r og r am r x / s t b y i nte rr u p t s : ir q _0 m app e d to / f i f oe m p t y ( r x _ s t b y _ i r q _ 0 = 10) a n d ir q _1 m apped to f i f o_th r e s h o l d ( r x _ s t b y _ i r q_ 1 = 11 ) . c on f i gu r e f i f o_t h r e s h to an a pp r op r i ate v a l u e ( e x : to de t e c t pa c k et end i f i ts l e ng t h i s k n o w n) ? g o to rx m ode ( no t e t h at r x i s not r e a d y i m m ed i at e l y , cf s e c t i on 7 . 3.1 ) . ? w a i t f or f i f o_th r e s ho l d i n t e rr upt ( i .e. s y nc wo r d h as b e en d ete c t e d a n d f i f o f i l l ed up t o t h e de f i n ed t h r e s h o l d ) . ? if i t i s pa c k et en d , go to s t b y ( s r ? s c on t ent i s l o s t ) . ? read pa c k et b y t es f r o m f i f o unt i l / f i f oe m p t y g oes l o w ( or c o rr e c t nu m ber of b y t es i s r ead ) . ? g o to sl e ep m ode. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 49 of 9 0 rfm63 b 5 . 5. packet m od e 5.5 . 1 . ge n e r a l d e s c r i p t i on si m il ar to b u ff e r ed m ode ope r a t i o n, i n p a c k et m ode the nrz data t o ( f r o m ) t he ( de ) m odu l ator i s n o t d ir e c t l y a cc e ss ed b y the uc b ut s t o r ed i n the f i f o a n d a cc e ss ed vi a the s p i d ata i n t e r f a c e. in ad d i t i on, t h e RFM63B ? s p a c k et hand l er pe r f o r m s s e v e r al pa c k et o r i ent e d ta s k s s u c h as p r ea m b l e and s y n c w o r d gene r at i on, c rc c a l c u l at i o n / c he c k , w h i t e n i n g/ de w h i t e n i n g of da t a, add r e s s f il t e ri ng, e t c . t h i s s i m p li f i es s t i l l f u r ther s o f t w a r e a nd r e du c es u c o v e r h e ad b y pe r f o r m i ng the s e r epe t i t i v e ta s k s w i t h i n t h e rf c h i p i t s e l f . a no t her i m po r tant f ea t u r e i s ab i l i t y to f i l l a nd e m p t y th e f i f o i n s t b y m ode, en s u r i ng o pt i m um po w er c on s u m pt i on and ad d i ng m o r e f l e x i b i l i t y f or the s o ft w a r e. RFM63B c o nt r o l i r q _ 0 i r q_ 1 d a ta r x syn c r ecog . t x p a ck e t ha n dl e r f i f o ( + sr ) s p i c o n f ig d a t a nss _ co n f i g n ss _ da t a s c k m o s i m i s o d a t ap a th f i gu r e 42: p a ck et mo d e c o n c ept u al v i ew note t hat b i t s y n c h r o n i z er and s y nc w o r d r e c og n i t i on a r e au t o m at i c a l l y e n a b l e d i n p a c k et m ode. 5.5 . 2 . pac k e t for ma t t w o t y pes of pa c k et f o r m ats a r e s uppo r t e d: f i x ed l e ng t h a nd v a r i ab l e l e ngt h , s e l e c ta b l e b y the pk t p a r a m _ p k t_ f o r m at b i t. t he m a x i m u m si z e of the pa y l o a d i s l i m i ted b y the si z e of the f i f o s e l e c ted ( 16, 3 2, 4 8 or 64 b y t e s) . 5.5. 2 .1. f ixed l e ngt h p ac k et fo r m at in ap p li c a t i o ns w h e r e the p a c k et l ength i s f i x ed i n a d v an c e, th i s m ode of o pe r at i on m a y be of i nte r e s t to m i n i m iz e rf o v e r h e ad ( n o l en g th b y t e f i e l d i s r e q u i r ed ) . a l l no d e s , w h ether t x on l y , rx o n l y , or t x /rx s hou l d be p r og r a m m ed w i t h t h e s a m e pa c k et l en g th v a l ue. t he l en g th of the p a y l o ad i s s et b y t h e pk t p a r a m _ p a y l o a d_ l en g th r e g i s ter a n d i s l i m i ted b y t he s i z e of t h e f i f o s e l e c te d . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 50 of 9 1 rfm63 b t he l ength s to r ed i n th i s r e g i s ter r e l ates o n l y t o the p a y l o ad wh i c h i n c l u des the m e ss age a n d the o pt i on a l a d d r e s s b y t e. in t h i s m ode, the pa y l oad m u s t c onta i n at l e a s t o ne b y t e , i . e. a dd r e s s or m e ss age b y te. a n i l l u s t r a t i on of a f i x ed l e n gth p a c k et i s s h o w n i n f i g u r e 43. i t c on t a i ns t he f o l l o w i ng f i e l d s : ? p r ea m b l e ( 1 0 10... ) . ? s y nc wo r d ( n e t w o r k id ) . ? o pt i o nal a d d r e s s b y t e ( n o de id ) . ? me ss age da t a. ? o pt i o nal 2 - b y tes c r c c he c ks u m . o p t io n a l d c f r e e da t a c od i n g cr c c h e c k s u m c al c ul a t i o n p r ea m b l e 1 t o 4 b y te s s y n c w o rd 1 t o 4 b y t e s a d d r e s s b y t e m e s s a g e 0 t o ( f i fo s i z e ) b y te s c r c 2 - b y t e s p a y l o a d / f i fo f i e l d s a dd e d b y th e p a c k e t ha nd l e r in t x an d p roc e s s e d a n d re m o v e d i n r x o pt i on a l u s e r p r o v i de d f i e l d s w h i c h ar e p ar t o f th e p ay l o a d m e s sa g e pa r t o f t h e pa y l o a d f i gu r e 43: f i x ed le n gth p a ck et f o r mat 5.5. 2 .2. v a r ia b le l e ngt h p a cket f o r m at t h i s m ode i s ne c e ss a r y i n ap p li c a t i ons w h e r e the l en g th of the pa c k et i s n ot k n o wn i n a d v a n c e and c an v a r y o v er t i m e. it i s t h en ne c e ss a r y f or the t r an s m i tter to s e nd t he l e n gth i n f o r m at i on t o ge t her w i th ea c h pa c k et i n o r der f or the r e c e i v er to ope r a te p r o pe r l y . in t h i s m ode t he l e ngth of the p a y l oad, i n d i c ated b y t he l e n gth b y te i n fi gu r e 4 4, i s g i v e n b y t h e f i rs t b y te of the f i f o and i s li m i ted o n l y b y the w i d t h of the f i f o s e l e c te d . note t hat t h e l e ng t h b y t e i t s e l f i s not i n c l u d e d i n i ts c a l c u l a t i o n. i n t h i s m ode, t h e p a y l oad m u s t c onta i n at l ea s t 2 b y t e s , i . e. l e n gth + a dd r e s s or m e ss age b y t e . a n i l l u s t r a t i on of a v a r i a b l e l eng t h pa c k et i s s h o wn i n fi gu r e 4 4. it c o nt a i ns t h e f o ll o w i n g f i e l d s : ? p r ea m b l e ( 1 0 10... ) . ? s y nc wo r d ( n e t w o r k id ) . ? len g th b y t e ? o pt i o nal a d d r e s s b y t e ( n o de id ) . ? me ss age da t a. ? o pt i o nal 2 - b y tes c r c c he c ks u m . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 51 of 9 1 rfm63 b o p t i on a l d c f r e e da t a c od i n g c r c c h e c k s u m c al c u l a t i o n le n g t h pr e a m b l e 1 t o 4 by t e s s yn c w o r d 1 t o 4 by t e s le n g t h by t e a d d r es s by t e m e s sa g e 0 t o (f if o s i z e - 1 ) by t e s c rc 2 - by t e s p a y l o a d /fif o fi e l d s a dd e d b y t h e p a c k e t h a n d l e r i n t x an d p r o c e ss e d a n d r e m o v e d i n rx o p t i o na l u s e r p r o v i d e d f i e l d s w h i c h a re p a rt o f t h e p a y l o a d m e ss ag e p a r t o f t h e p a y l o a d f i gu r e 44: v a r i a b l e le n gth p a ck et f o r m at 5.5 . 3 . tx p ro c es s i ng in t x m ode the pa c k et ha n d l er d y n a m i c a l l y b u i l ds t h e pa c k et b y pe r f o r m i ng t h e f o ll o w i n g o pe r a t i o ns on the pa y l o a d a v a i l a b l e i n t he f i fo : ? a dd a p r o g r a m m ab l e nu m ber of p r ea m b l e b y tes ? a dd a p r o g r a m m ab l e s y nc wo r d ? o pt i o na l l y c a l c u l at i ng c r c o v er c o m p l ete p a y l o ad f i e l d ( opt i on a l l e ngth b y t e + op t i o n al a d d r e s s b y t e + m e ss age) and ap p en d i n g t he 2 b y t es c he c k s u m . ? o pt i o nal dc - f r ee en c o d i n g of the d a ta ( m an c he s ter or wh i t en i ng ) . o n l y the p a y l oad ( i n cl u d i ng op t i o n al add r e s s a nd l e n g t h f i e l d s ) i s t o b e p r o v i d e d b y t h e u s er i n t he f i fo . a ss u m i ng that t h e c h i p i s a l r ea d y i n t x m ode then, de p en d i n g on i r q p a r a m _ t x _ s ta r t_ i r q_0 b i t, pa c k et t r an s m i ss i on (s ta r t i ng w i th p r og r a m m ed p r e a m b l e) w i l l s ta r t e i t her a f ter the f i rs t b y te i s w r i t ten i nto t h e f i f o (tx _ s ta r t_ i r q_ 0 = 1) or a f ter the nu m ber of b y tes w r i t t en r ea c hes the u s er d e f i ned t h r e s ho l d ( t x _ s ta r t_ i r q_ 0 = 0 ) . t he f i f o c an a l s o be f u l l y or pa r t i a l l y f il l ed i n s tb y m ode v i a p k t p a r a m _ f i f o_ s t b y _ a cc e ss . in th i s c a s e, t he s ta r t c ond i t i o n w i l l o n l y be c he ck ed w h en ente r i ng t x m ode. a t t h e e nd of t h e t r an s m i ss i on ( t x _done = 1 ) , t he u s er m u s t e x p li c i t l y e xi t t x m ode i f r equ i r e d. ( e . g. b a c k to s tb y ) note t h at w h il e i n t x m ode, be f o r e and a f ter a c tu a l p a c k et t r an s m i ss i on ( not e no ugh b y tes or t x _done ) , a d d i t i o n al p r ea m b l e b y tes a r e a uto m at i c a l l y s e n t t o the m odu l a to r . w hen the s ta r t c o n d i t i on i s m et, t h e c u rr ent a dd i t i on a l p r ea m b l e b y te i s c o m p l ete l y s ent be f o r e t h e t r a n s m i ss i on of the ne x t pa c k et ( i .e. p r og r a m m ed p r e a m b l e) i s s t a r ted. 5.5 . 4 . rx p ro c e ss i ng in rx m ode the pa c k et ha n d l er e x t r a c ts t he u s er p a y l o ad to the f i f o b y pe r f o r m i ng t h e f o l l o w i ng ope r a t i o n s : ? re c e i v i ng t he p r ea m b l e a n d s t r i p p i n g i t o ff . ? dete c t i ng t he s y n c w o r d a n d s t r i p p i n g i t o ff . ? o pt i o nal dc - f r ee de c o d i n g of data. ? o pt i o na l l y c he c k i ng t h e ad d r e s s b y t e . ? o pt i o na l l y c he c k i ng crc a nd r e f l e c t i ng t he r e s u l t o n c rc_ s tatus b i t and cr c _ o k irq s ou rc e. o n l y the p a y l oad ( i n cl u d i ng op t i o n al add r e s s a nd l e n g t h f i e l d s ) i s m ade a v a i l a b l e i n the f i fo . p a y l o a d _ r ea d y and cr c _ o k i nte rr upts ( t he l a t ter o n l y i f c r c i s en a b l ed) c an b e g e ne r a t e d t o i n d i c ate t h e end of the p a c k et r e c ept i o n. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 52 of 9 1 rfm63 b b y d e f au l t, i f the crc c he c k i s enab l ed a n d f a il s f or the c u rr ent pa c k et, then t h e f i f o i s auto m at i c a l l y c l e a r ed a n d ne i t her of the t w o i nte rr up t s a r e g ene r ated a nd n e w pa c k et r e c ept i o n i s s ta r t ed . t h i s au t o c l e ar f un c t i o n c an be d i s a b l ed v i a pk t p a r a m _crc_a u to c l r b i t a nd, i n th i s c a s e, e v en i f crc f a il s , the f i f o i s not c l ea r ed a n d on l y p a y l o a d _ r ea d y irq s o u rc e i s a ss e r ted. o n c e f u l l y r e c e i v ed, t he pa y l o ad c a n a l s o be f u l l y or pa r t i a l l y r et r i e v e d i n s t b y m o de v i a pk t p a r a m _ f i f o_ s t b y _ a cc e ss . a t the end of the r e c ep t i o n , a l th o ugh the f i f o au t o m at i c a l l y s tops b e i n g f i l l e d, i t i s s t il l u p to the u s er to e x p l i ci t l y e x i t rx m ode i f r equ i r e d . ( e.g. go to s t b y t o get pa y l o ad ) . f i f o m u s t be e m p t y f or a n e w p a c k et r e c e pt i o n to s ta r t. 5.5 . 5 . pac k e t f il t e r i ng RFM63B ? s pa c k et ha n d l er o ff e r s s e v e r al m e c han i s m s f o r pa c k et f il te ri ng en s u ri ng t hat o n l y u s e f ul pa c k ets a r e m ade a v a i l a b l e t o t h e uc, r edu c i n g s i g n i f i c an t l y s y s tem pow e r c on s u m pt i on a n d s o f twa r e c o m p l e x i t y . 5.5. 5 .1. s y n c w o r d ba s ed s y nc w o r d f il t e r i n g/ r e c o g n i t i on i s au t o m at i c a l l y e n ab l e d i n p a c k et m ode. it i s u s ed f or i dent i f y i ng t h e s ta r t of the p a y l o ad a nd a l s o f or ne t w o r k i den t i f i c at i o n. a s p r e v i o u sl y de scr i b ed, t he s y nc w o r d r e c ogn i t i o n b l o c k i s c on f i gu r ed (s i z e, e rr or t o l e r a n c e, v a l ue) vi a r x p a r a m _ s y n c _ si z e, r x p a r a m _ s y n c _ tol and s y n c p a r am c o n f i g u r at i on r eg i s te rs . t h i s i n f o r m at i on i s u s ed, b oth f or a p pe n d i ng s y nc wo r d i n t x , and f i l te ri ng p a c k ets i n r x . e v e r y r e c e i v e d pa c k et w h i c h does not s ta r t w i th t h i s l o c a l l y c on f i gu r e d s y nc w o r d i s auto m at i c a ll y d i sc a r ded and n o i nte rr u pt i s ge n e r at e d. w h en the s y nc wo r d i s de t e c ted, p a y l o ad r e c e pt i on a uto m at i c a l l y s ta r ts a nd s y n c irq s ou rc e i s a ss e r te d . 5.5. 5 .2. a d d r ess b a sed a dd r e s s f il te ri ng c an be e na b l ed vi a t he p k t p a r a m _ a d rs _ f il t b i t s . it a d ds an o ther l e v e l of f il te r i ng, a b o v e s y nc wo r d, t y p i c a l l y u s e f ul i n a m u l t i - node ne t wo r k s w he r e a ne t wo r k id i s s ha r e d be tween a l l n o des ( s y nc w o r d) a n d ea c h n ode has i ts o w n id ( add r e ss) . t h r ee add r e s s ba s e d f il te r i ng o pt i ons a r e a v a i l a b l e: ? a d rs _ f il t = 0 1: r e c e i v ed a dd r e s s f i e l d i s c o m pa r ed w i th i n t e r n a l r e g i s ter n o d e _ a d rs . if th e y m at c h then the pa c k et i s a cc epted and p r o c e ss ed, ot h e r w i s e i t i s d i s c a r ded. ? a d rs _ f il t = 1 0: re c e i v ed a dd r e s s f i e l d i s c o m pa r ed w i th i nte r n a l r e g i s ter nod e_ a d r s and t h e c on s tant 0 x 0 0. if e i t h er i s a m at c h, the r e c e i v ed p a c k et i s a cc epted a nd p r o c e ss ed, ot h e r w i s e i t i s d i sc a r d e d. t h i s ad d i t i o nal c he c k w i th a c on s t a nt i s u s e f ul f or i m p l e m ent i ng b r o a d c a s t i n a m u l t i - no d e n et w o r ks . ? a d rs _ f il t = 11: r e c e i v e d a d d r e s s f i e l d i s c o m pa r ed w i t h i n t e r n a l r eg i s t er nod e _ a d r s and the c o n s tants 0 x 0 0 & 0 xff . if a n y of t h e t h r ee m at c he s , then t h e r e c e i v ed p a c k et i s a cc ep t ed a n d p r o c e ss ed, o t he r w i s e i t i s d i sc a r de d . t he s e add i t i on al c he c k s w i th c on s t ants a r e u s e f ul f or i m p l e m ent i n g b r oad c a s t c o m m ands of a l l node s . pl e a s e n ote that the r e c e i v ed a d d r e s s b y t e, as pa r t of the pa y l o a d, i s not s t r i pped o f f the pa c k et and i s m ade a v a i l a b l e i n t he f i fo . in a dd i t i o n, no d e _ a d r s and a d rs _ f il t on l y a p p l y to r x . o n t x s i de, i f a dd r e s s f il te r i ng i s e x pe c ted, the a d d r e s s b y t e s hou l d s i m p l y be p ut i nto t he f i f o l i k e a n y ot h er b y te of the pa y l o a d. 5.5. 5 .3. l e ngt h based in v a r i a b l e l e ngth p a c k et m ode, p k t p a r a m _ p a y l o ad _ l e n gth m u s t be p r og r amm ed w i t h t h e m a x i m u m l e n gth pe r m i tted. if r e c e iv e d l e n g th b y t e i s s m a ll er th a n t h i s m a x i m u m then the pa ck et i s a cc epted and p r o c e ss ed, othe r w i s e i t i s d i sc a r de d . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 53 of 9 1 rfm63 b pl e a s e no t e that t h e r e c e i v ed l e n gth b y te, as pa r t o f the p a y l oad, i s not s t r i p ped o f f the pa c k et and i s m ade a v a i l a b l e i n t he f i fo . t o d i s ab l e t h i s f un c t i on the u s er s h o u l d s et the v a l ue of the pk t p a r a m _ p a y l oa d _ l e ngth to t h e v a l ue of the f i f o si z e s e l e c t e d. 5.5. 5 .4. crc b a sed t he crc c he c k i s ena b l ed b y s e t t i n g b i t pk t p a r a m _crc_o n . it i s u s ed f or c he c k i ng t h e i nt e g r i t y of the m e ss a ge. ? o n t x s i de a t w o b y te crc c he c k s u m i s c a l c u l a t ed on the p a y l o a d p a r t of t he pa ck et and a pp e n d ed t o t he e n d of the m e ss age. ? o n rx si de t he c he c k s u m i s c a l c u l a t ed on the r e c e i v ed p a y l o ad a n d c o m pa r ed w i th t h e t wo c h e c k s u m b y t es r e c e i v ed. t he r e s u l t o f t h e c o m pa r i s on i s s to r ed i n t he pk t p a r a m _crc_ s tatus b i t and crc_ o k irq s o u rc e. b y d e f au l t, i f the crc c he c k f a il s then the f i f o i s au t o m at i c a l l y cl ea r e d and n o i nte rr upt i s g e ne r a t ed. t h i s f il te r i n g f un c t i on c a n b e d i s a b l e d v i a pk t p a r a m _crc_a u t o c l r b i t a nd i n t h i s c a s e, e v en i f crc f a il s , t h e f i f o i s n ot c l ea r ed and on l y p a y l oa d _ r ea d y i nte rr upt goes h i g h. p l ea s e note t hat i n b oth c a s e s , the t wo crc c he c k s u m b y tes a r e s t r i p p ed o f f b y t he pa ck et h a n d l er a nd o n l y t he pa yl o a d i s m ade a v a il a b l e i n t h e f i fo . t he crc i s ba s ed on t h e cci t t po l y n o m i al as s h o wn i n f i gu r e 45. t h i s i m p l e m enta t i o n a l s o de t e c ts e rr o r s due to l e a d i n g a nd t r a i l i n g z e r o s . dat a i npu t cr c p o l y nom i a l = x 16 + x 12 + x 5 + 1 x 1 5 x 1 4 x 1 3 x 1 2 x 1 1 * * * x 5 x 4 * * * x 0 f i gu r e 45: crc i m p l e m en t at i o n 5.5 . 6 . dc - fr e e d a t a m ec h a n i sm s t he p a y l o ad to b e t r an s m i tted m a y c on t a i n l o n g s equen c es of 1 ? s and 0 ? s , w h i c h i nt r o du c es a d c b i as i n the t r an s m i tted s i g n a l . t he r a di o s i g n al t hus p r o du c ed has a n o n u n i f o r m po w er d i s t r i but i on o v er the o cc up i ed c han n el ban d w i d th. it a l s o i n t r odu ce s data de p e n den ci es i n t h e no r m al ope r at i o n of the d e m odu l ato r . t hus i t i s u s e f ul i f the t r an s m i tted da t a i s r a ndom and d c f r ee. f or s u c h pu r po s e s , t w o t e c hn i ques a r e m ade a v a il ab l e i n the p a c k et hand l e r : man c he s ter en co d i ng a n d data w h i t en i ng. p l ea s e no t e t h at on l y one of the t w o m eth o ds s hou l d b e e n a b l ed at a t i m e. 5.5. 6 .1. m a n c h es t er e n c od i n g man c he st er en co d i n g/ d e co d i n g i s e na b l e d b y s et t i ng b i t pk t pa r a m _man ch e s te r _on and ca n o n l y b e us ed i n pa c k et m ode. t he nr z data i s c o n v e r t ed to m a n c he s ter co de b y co d i ng ? 1? as 10 a nd ? 0 ? as 0 1 . in t h i s c a s e, t h e m a x i m u m c h i p r a t e i s the m a x i m u m b i t r a t e g i v en i n the sp e c i fic at i ons s e ct i on a n d t h e a ct ual b i t r ate i s h a l f the c h i p r ate. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 54 of 9 1 rfm63 b 1 /b r ... s y n c 1 /b r p a y l o a d... rf c h i ps @ br ... 1 1 1 0 1 0 0 1 0 0 1 0 1 1 0 1 0 ... u se r/ n rz b i t s m anch e s t e r o ff ... 1 1 1 0 1 0 0 1 0 0 1 0 1 1 0 1 0 ... u se r/ n rz b i t s m anch e s t e r o n ... 1 1 1 0 1 0 0 1 0 0 1 1 ... man c he st er e n c od i ng a n d de c o d i ng i s o nl y a p p l i ed to the p a y l o a d a nd cr c c h e c k s u m w h i l e p r ea m b l e a n d s y nc w o r d a r e k ept nrz . h o w ev e r , the ch i p r a t e f r o m p r ea m b l e to cr c i s t h e s a m e and de f i n ed b y m c p a r a m _br (c h i p r ate = b i t r ate nr z = 2 x b i t r ate m a n c he s te r) . man c he st er en c o d i n g/de co d i n g i s thus m ade t r an s pa r ent f or the u s e r , w h o s t i l l p r o v i de s / r et r i e v es nr z d a ta t o/ f r o m the f i f o . t f i gu r e 46: m a n c he s ter e n c od i ng/ d e c od i ng 5.5. 6 .2. d a t a w h i t e n i n g ano t her te c h n i q ue c a l l ed w h i t en i ng or sc r a m b li ng i s w i de l y u s ed f or r and o m iz i ng the u s er da t a be f o r e r ad i o t r an s m i ss i on. t he data i s w h i t en e d u si ng a r a n dom s equ e n c e o n t h e t x s i de a n d de - w h i t en e d on t h e r x si de u si ng the s a m e s equ e n c e. c o m pa r i ng to m a n c he s ter te c h ni que i t has t he a d v a nta g e of k eep i ng nr z da t a r ate i . e. a c tual b i t r a t e i s not ha lv ed. t he w h i t e n i ng/ d e - w h i te n i n g p r o c e s s i s e na b l ed b y s ett i ng b i t pk t pa r a m _ w h i ten i ng _ on. a 9 - b i t l f sr i s u s ed to gene r ate a r a ndom s eque nc e. t he p a y l o a d a n d 2 - b y t e cr c c he c k s u m i s then xo r ed w i th t h i s r an d om s e q uen c e as s h o w n i n f i gu r e 47. t he data i s d e - w h i te n ed o n t h e r e c e i v er s i d e b y xo r i n g w i th t he s a m e r andom s equ e n c e. p a y l o ad w h i t en i ng / de - w h i t e n i n g i s thus m ade t r an s pa r ent f or the u s e r , w h o s t i l l p r o v i de s / r et r i e v es nr z d a ta t o/ f r o m the f i f o . l f s r p o l y n o m i a l = x 9 + x 5 + 1 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 x 0 t r a n s m i t d a t a w h i t e n e d d a t a f i gu r e 47: data w h i ten i ng 5.5 . 7 . i n t e rrupt si gn a l m a p p i ng t ab l es b e l o w g i v e t he de sc r i pt i on of t h e i nte rr u p ts a v a i l a b l e i n pa c k et m ode. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 55 of 9 1 rfm63 b t ab l e 23: in t e rr upt ma p p i n g i n rx a n d s t by i n p a ck et mode r x _s t b y _i r q_ x rx st b y i r q _ 0 0 0 ( d ) p a y load_ r ead y - 0 1 w ri t e _ b y t e - 1 0 /f i f o e mp t y /f i f o e mp t y 1 1 s y n c o r a d r s_ m a t c h * - i r q _ 1 0 0 ( d ) crc _ o k - 0 1 f i f o f u l l f i f o f u l l 1 0 rss i - 1 1 f i f o_ t h r e sho l d f i f o_ t h r e sho l d * t he l at t er i f a d d r e s s f il te r i ng i s en a b l e d t x i r q _ 0 t x _s t a rt _i r q _ 0= 0 ( d ) f i f o_ t h r e sho l d t x _s t a r t _i r q _ 0 = 1 /f i f o e mp t y i r q _ 1 t x _i r q_1= 0 ( d ) f i f o f u l l t x _i r q_1 = 1 t x _don e t ab l e 24: in t e rr upt ma p p i n g i n t x p a ck et mo d e 5.5 . 8 . uc conn ec t i o ns RFM63B ir q _ 0 i r q _ 1 n s s _ c o nf i g uc n s s _ d a t a s ck m o s i m i s o f i gu r e 48: uc c on n e c t i o ns i n p a ck et mode n ote t hat de p en d i n g u pon t he a pp l i c a t i on, s o m e uc c onne c t i ons m a y not be ne ed ed: ? i r q _0: i f none of the r e l e v a nt i r q s ou r c es a r e u s ed. in th i s c a s e, l e a v e f l oa t i n g . ? i r q _1: i f none of the r e l e v a nt i r q s ou r c es a r e u s ed. in th i s c a s e, l e a v e f l oa t i n g . ? mis o : i f no r ead r e g i s ter a cc e s s i s needed a nd the c h i p i s u s ed i n t x m ode on l y . in th i s c a s e, p u l l up to v d d th r ou g h a 100 k ? r e s i s to r . in a d d i t i o n, d a t a p i n ( unu s ed i n p a c k et m ode) s hou l d be p u l l ed - u p to v d d th r o u g h a 1 00 k ? r e s i s to r . p l e a s e r e f er to t ab l e 13 f or the RFM63B ? s p i n co n f i gu r a t i o n . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 56 of 9 1 rfm63 b t x rx d esc r ip t ion m cp a r a m d a t a_ m od e _ x x x d e f in e s d a ta o pe r a t io n m o d e ( - p acke t ) f i f o _ si z e x x d e f in e s fifo si z e f i f o_ t h r e s h x x d e f in e s fifo t h r e s ho l d i r q p a r a m r x _s t b y _i r q _ 0 x d e f in e s ir q _ 0 sou r c e i n rx & st b y mod e s r x _s t b y _i r q _ 1 x d e f in e s ir q _ 1 sou r c e i n rx & st b y mod e s t x _i r q_ 1 x d e f in e s ir q _ 1 sou r c e i n t x m od e t x _s t a r t _i r q _ 0 x d e f in e s t x s t a rt con d i t i o n a n d ir q _ 0 sou r c e rxp a r a m s y nc_si z e x x d e f in e s s y n c w o rd s i z e s y nc_ t o l x d e f in e s t h e e rr o r t o l e r a n c e o n s y n c w o rd de t e c t i o n syncp a r a m s y nc_ v alu e x x d e f in e s s y n c w o rd v al u e pk t p a r a m m anches t e r _ o n x x e nabl e s m anch e s t e r en c od i n g / de c odi n g p a y load _ len g t h x (1 ) x leng t h i n f i x e d f o r m a t, ma x r x len g th i n v a r ia b l e f o r m a t n ode_ a d r s x d e f in e s n o d e a dd r e s s f o r rx add r e s s f il t e r in g p k t _ f o r ma t x x d e f in e s p a c k e t f o r ma t (f i x e d o r v a r iabl e l e ng t h ) pr eam b le _ si z e x d e f in e s t h e s i z e o f p r e a mbl e t o b e t r an s mi t t e d w hi t e nin g _o n x x e nabl e s w hi t e n ing / de - w hi t en in g p r o ce s s crc _o n x x e n abl e s crc c al c ula t io n / c h e c k a d r s_ f il t x e nabl e s a n d d e f i n e s add r e s s f il t e r i n g crc _au t o c l r x e nabl e s f i fo au t o c l ea r i f crc f ail e d f i f o _ s t b y _ a c c e s s x x d e f in e s fifo a c c e s s i n st b y mod e 5.5 . 9 . pac k e t mode e xam p l e ? c on f i gu r e a l l da t a p r o c e ssi ng r e l ated r e g i s te r s l i s ted be lo w a p p r op r i at el y . in t h i s e x a m p l e w e a ss u m e cr c i s ena b l e d w i th a uto c l ear o n. t ab l e 25: r e l e v a n t c o nf i g u r at i on r e g i s te r s i n p a ck et mode ( da t a p r o c e ss i n g r e l a ted o n l y ) (1) f i x e d f o r ma t o nl y t x mode : ? p r og r am t x s ta r t c o nd i t i o n and i r qs : sta r t t x w hen f i f o not e m p t y ( t x _ s ta r t_ i r q_0 = 1) and i r q_ 1 m apped to t x _done ( t x _ i r q_1 = 1) ? g o to st b y m ode ? w ri te a l l pa y lo ad b y t es i n to f i f o (f i f o_ s t b y _ a cc e ss = 0, st b y i nte rr u pts c an b e u se d i f ne e ded) ? g o to t x m ode. w hen t x i s r ea d y ( au t o m at i c a l l y h an dl ed) t x s ta r ts ( t x _ s ta r t_ i r q_0 = 1 ) . ? w a i t f or t x _done i nte rr upt ( + 1 b i t pe r i od) ? g o to s l e ep m ode r x mod e : ? p r og r am r x /st b y i n t e rr upt s : i r q _0 m apped to / f i f oe m p t y ( r x _ s t b y _ i r q _ 0 = 10) a n d i r q_ 1 m apped to cr c _o k (r x _ s t b y _ i r q_ 1 = 0 0) ? g o to r x ( n o te t hat r x i s n ot r ea d y i m m ed i ate l y , se e s e c t i on 7. 3 .1 ? w a i t f or crc _ o k i nte rr upt ? g o to st b y ? r ead p a y l oad b y t es f r om f i f o unt i l / f i f oe m p t y goes l o w . ( f i f o_ s t b y _ a cc e s s = 1) ? g o to s l e ep m ode 5.5 . 10 . a d d i t i on a l i n f or ma t i o n if the n u m ber of b y te s fi ll e d f or t r an s m i ss i on i s g r ea t er th a n t he a c tu a l l e n gth of the pa c k et to be t r an s m i tted a nd t x _ s ta r t_ i r q_0 = 1, t h en th e f i f o i s cl ea r e d a f ter t h e pa c k et has be e n t r an s m i tted. t hus t he e x t r a b y tes i n t he t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 57 of 9 1 rfm63 b f i f o a r e l o s t. o n t he o th e r hand i f t x _ s ta r t _ i r q_0 = 0 th e n the e x t r a b y tes a r e k ept i nto t h e f i f o . t h i s o p ens up the p o ss i b i l it y of t r an s m i tt i ng m o r e than o ne p a c k et b y f ill i ng t he f i f o w i th m u l t i p l e pa c k et m e s s age s . it i s not po ss i b l e to r e ceiv e m u l t i p l e pa c k et s . o n c e a pa c k et has be e n r e ce i v ed a nd fi ll e d i n t o t h e f i f o a l l i ts c ontent n e eds to be r e ad i . e. t h e f i f o m u s t be e m p t y f or a n e w p a c k et r e c ept i on to be i n i t i at e d. t he p a y l o ad_ r ea d y i n t e rr u pt g oes h i gh w h en the l a s t p a y lo ad b y t e i s a v a il a b l e i n the f i f o a n d r e m a i ns h i g h u n t i l a l l i ts d ata a r e r e a d. s i m il ar be h a v i or i s ap p li ca b l e to a d r s _ m at c h and crc _ o k in te rr upt s . t he cr c r e s u l t i s a v a i l a b l e i n the c rc _ s t a tus b i t as s oon as t h e cr c _ s u cc e ssf ul and pa y lo ad_ r ea d y i n t e rr upt s ou r c es a r e t r i gge r e d. in r x m ode, crc _ s tatus i s c l ea r e d w h e n the c o m p l ete p a y l o a d has be e n r ead f r om the f i f o . if the p a y l oad i s r e a d i n st b y m ode, t h en c r c _ s tatus i s cl ea r ed w h e n t h e us er goes ba c k to r x m ode and a n e w s y nc w o r d i s de t e c ted. t he f i f o_ f ill _ m ethod and f if o_ f il l b i ts d o n ? t h a v e a n y m ea n i ng i n the pa c k et m od e and sh ou l d b e s et t o t h e i r d e f au l t v a l ues o n l y . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 58 of 9 1 rfm63 b 6. co n fi g u r at i on a nd s t a tus reg is te r s 6 . 1. ge n e r al d es c ri p t io n t ab l e 26 s u m s - up the co nt r ol a nd s t a tus r e g i s te r s of t h e RFM63B : t ab l e 26: r e g i s te r s l i s t n am e s i z e a dd r es s d esc r ip t ion m cp a r a m 1 3 x 8 0 - 1 2 m ai n pa r ame t e rs c o m m o n to t r an s mi t an d r ec e i v e m o d e s i r q p a r a m 3 x 8 1 3 - 1 5 i n t e rr u p t r e g is t e rs r x p a r a m 6 x 8 1 6 - 2 1 r ecei v e r p a r a me t e r s s y ncp a r a m 4 x 8 2 2 2 5 p a tt e rn t x p a r a m 1 x 8 2 6 t r ansmi t t e r p a r a m e t e r s o scp a r a m 1 x 8 2 7 cr y s t a l o sc i l l a t o r p a r a m e t e r s pk t p a r a m 4 x 8 2 8 - 3 1 p ac k e t h a nd l e r pa r am e t e rs 6 . 2. m a i n con f i gu r a t i o n r e g i ster - m c pa r am t he deta i l e d d e sc r i pt i on of the m c p a r am r eg i s ter i s g i v en i n t ab l e 27. t ab l e 27: m c p a r a m r e g i s t er de scr i pt i on n am e b i ts a dd r es s ( d ) rw d e sc r ip t ion c hip _ mod e 7 - 5 0 r / w t r anscei v e r mo d e : 00 0 - s lee p m o d e - s lee p 00 1 - s t and - b y mo d e - st b y ( d ) 01 0 - fr e q ue n c y s y n t h e si z e r mod e - f s 01 1 - r e cei v e mod e - rx 10 0 - tr a n s m i t mo d e - t x f r eq_ b an d 4 - 3 0 r / w fr equ e nc y b a nd : 0 0 - 90 2 9 1 5 m hz 0 1 - 91 5 9 2 8 m hz ( d ) 1 0 - 95 0 9 6 0 m hz o r 86 3 - 87 0 m hz (a pplica t io n c i r c u i t d epen d an t ) vc o _ t r i m 2 - 1 0 r / w f in e vco t r i m m in g : 0 0 - vt un e de t e r m i ne d b y t a n k i n du c t o rs v a lu e s ( d ) 0 1 - vt un e + 6 0 m v t y p . 1 0 - vt un e + 1 2 0 m v t y p . 1 1 - vt un e + 1 8 0 m v t y p . rps _sel e c t 0 0 r / w s ele c t io n be t w ee n t h e t w o se t s o f f r eq u enc y d i v ide r s o f t h e p ll , r i / p i / si 0 - r 1 /p 1 /s1 se l ec t ed ( d ) 1 - r 2 /p 2 /s2 se l ec t e d m odul_sel e c t 7 - 6 1 r / w m odula t io n t y p e : 0 1 - oo k 1 0 - fsk ( d ) d a t a_ m od e _ 0 5 1 r / w d a t a o p e r a t i o n mod e l sb (r ef e r to d a t a_ m ode_ 1 (b i t 2 a d d r 1 ) oo k _ t h r esh _ t y p e 4 - 3 1 r / w oo k demo d ula t o r t h r es h ol d t y pe : 0 0 - f i x e d t h r e s ho l d m od e 0 1 - pe a k m od e ( d ) 1 0 - a v e r ag e m o d e 1 1 - r e s e r v e d t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing p a g e 59 of 9 1 rfm63 b d a t a_ m od e _ 1 2 1 r / w d a ta o p e r a t i o n mod e ? s m sb. cf. d a t a _ mo d e_ 0 ( b i t 5 a dd r 1 ) d a t a_m o d e_ 1 bit 2 a ddr 1 d a t a_m o d e_ 0 bit 5 a ddr 1 d a ta o p e r a t ion m od e 0 0 c on t in u o u s ( d ) 0 1 b u ff e r e d 1 x p ac k e t if _g a i n 1 - 0 1 r / w g ai n o n t h e if c ha i n : 0 0 - ma x ima l ga i n ( 0d b) ( d ) 0 1 - - 4 .5 d b 1 0 - - 9d b 1 1 - - 13 .5 d b f r eq_ d e v 7 - 0 2 r / w s ingl e s i d e f r eq u enc y d e v ia t i o n i n fsk t r ans m i t m od e : r e f e r to s e c t i o n s 3 . 3 . 4 a n d 3 . 3 . 5 f de v = f x t a l , 0 d 25 5 , w he re d i s t h e v al u e i n t h e r eg i s t e r . 32 ( d 1) ( d ): d = 0 000 0 011 = > f de v = 10 0 k hz r e s 7 3 r / w r ese r v e d ( d ): 0 br 6 - 0 3 r / w b i t r a te = f xtal , 0 c 127 , w he re c i s t h e v a l u e i n t h e r e g is t e r . 6 4 (c 1 ) ( d ): c = 0 00 0 1 11 = > b i t r a t e = 2 5 kb / s nr z oo k_ f loo r _ t h r e s h 7 - 0 4 r / w f loo r t h r e sho l d i n oo k r x mode . by de f aul t 6 d b . ( d ): 0 0 001 1 00 a s s u m in g 0 .5 d b rssi s t e p f i f o _ si z e 7 : 6 5 r / w fifo si z e se l ec t ion : 0 0 - 1 6 b y t e s ( d ) 0 1 - 3 2 b y t e s 1 0 - 4 8 b y t e s 1 1 - 6 4 b y t e s f i f o_ t h r e s h 5 - 0 5 r / w fifo t h r e sh o l d f o r in t e rr up t s o u r c e (cf s e c t i o n 5 . 2 . 2 . 3 ) ( d ): b = 0 01 1 11 r1 7 - 0 6 r / w r cou n t e r, a c t i v e w he n rps _ s ele c t = 0 ( d ): 77 h ; de f aul t v alu e s o f r 1 , p 1 , s1 g ene r a te 9 15 .0 m h z i n fsk m o d e p1 7 - 0 7 r / w p c ou n t e r, ac t i v e w he n rps _ s ele c t = 0 ( d ): 6 4 h ; d e f au l t v alu e s o f r 1 , p 1 , s1 g ene r a te 9 15 .0 m h z i n fsk m o d e s1 7 - 0 8 r / w s cou n t e r, ac t i v e w he n rps _ s ele c t = 0 ( d ): 3 2 h ; d e f au l t v alu e s o f r 1 , p 1 , s1 g ene r a te 9 15 .0 m h z i n fsk m o d e r2 7 - 0 9 r / w r cou n t e r, a c t i v e w he n rps _ s ele c t = 1 ( d ): 7 4 h ; d e f au l t v alu e s o f r 2 , p 2 , s2 g ene r a te 9 20 .0 m h z i n fsk m o d e p2 7 - 0 1 0 r / w p cou n t e r, ac t i v e w he n rps _ s ele c t = 1 ( d ): 6 2 h ; d e f au l t v alu e s o f r 2 , p 2 , s2 g ene r a te 9 20 .0 m h z i n fsk m o d e s2 7 - 0 1 1 r / w s cou n t e r , ac t i v e w he n rps _ s ele c t = 1 ( d ): 3 2 h ; d e f au l t v alu e s o f r 2 , p 2 , s2 g ene r a te 9 20 .0 m h z i n fsk m o d e r e s 7 - 5 1 2 r / w r ese r v e d ( d ): 0 0 1 pa _ r am p 4 - 3 1 2 r / w r am p c on tr o l o f t h e r i s e a n d f al l t im e s o f t h e tx pa r egula t o r ou t p u t v ol t a g e i n oo k mode : 0 0 - 3u s 0 1 - 8 .5 u s 1 0 - 1 5 u s 1 1 - 2 3 u s ( d ) r e s 2 - 0 1 2 r / w r ese r v e d ( d ) : 000 t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 60 of 9 0 rfm63 b 6 . 3. i n te r r up t con f i gur at i o n p a r ame t e r s - i r qp a r am t he deta i l e d d e sc r i pt i on of the i r q pa r am r eg i s ter i s g i v en i n t ab l e 28. t ab l e 28: ir q p a r am re g i s ter de scr i p t i on n am e b i ts a dd r es s ( d ) rw d esc r ip t ion r x _s t b y _i r q _ 0 7 - 6 1 3 r / w ir q _ 0 sou r c e i n rx an d st a nd b y mod e s : if d a t a _ mo d e ( 1 : 0 ) = 0 0 (c on ti nuo u s m ode ) : 0 0 - s y n c ( d ) 0 1 - rss i 1 0 - s y n c 1 1 - s y n c if d a t a _ mo d e ( 1 : 0 ) = 0 1 (b u f f e r e d m ode ) : 0 0 - - ( d ) 0 1 - w r i t e _b y t e 1 0 - /f i f oe m p t y * 1 1 - s y n c if d a t a _ mo d e ( 1 : 0 ) = 1 x (p ac k e t mo d e ) : 0 0 - p a y loa d _ r e a d y ( d ) 0 1 - w r i t e _b y t e 1 0 - /f i f oe m p t y * 1 1 - s y n c o r a d r s _ ma t c h ( th e la t t e r i f add r e s s f i l t e r i n g i s en abled ) * als o a v ail a b l e i n s t an d b y m o d e (cf s ec t io n s 5 . 4 .4 an d 5 . 5 . 7 ) r x _s t b y _i r q _ 1 5 - 4 1 3 r / w ir q _ 1 sou r c e i n rx an d st a nd b y mod e s : if d a t a _ mo d e ( 1 : 0 ) = 0 0 (c on ti nuo u s m ode ) : x x - dc l k if d a t a _ mo d e ( 1 : 0 ) = 0 1 (b u f f e r e d m ode ) : 0 0 - - ( d ) 0 1 - f i f o f u l l * 1 0 - rss i 1 1 - f i f o _ t h r e sh o ld * if d a t a _ mo d e ( 1 : 0 ) = 1 x (p ac k e t mo d e ) : 0 0 - crc _o k ( d ) 0 1 - f i f o f u l l * 1 0 - rss i 1 1 - f i f o _ t h r e sh o ld * * als o a v ail a bl e i n s t an d b y m o d e (cf s ec t io n s 5 . 4 .4 an d 5 . 5 . 7 ) t x _i r q_ 1 3 1 3 r / w ir q _ 1 sou r c e i n t x mod e : if d a t a _ mo d e ( 1 : 0 ) = 0 0 (c on ti nuo u s m ode ) : x - dc l k if d a t a _ mo d e ( 1 : 0 ) = 0 1 (b u f f e r e d m ode ) o r 1 x (p acke t m o de ) : 0 - f i f o f ul l ( d ) 1 - t x _don e f i f o f u l l 2 1 3 r f i f o f u l l irq sou r c e g oe s h ig h w he n f i fo i s f u l l . /f i f o e mp t y 1 1 3 r /f i f o e mp ty irq s ou r c e g oe s l o w w he n fifo i s e m p t y f i f o _ o v e rr un _ cl r 0 1 3 r / w / c g oe s h ig h w he n a n o v e rr u n e r r o r o c cu rr e d . w ri t i n g a 1 c lea r s f l a g a n d fif o f i f o_ f il l _ m e t h o d 7 1 4 r / w fifo f i l lin g m e t ho d (b u ff e r e d mod e onl y ) : t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 61 of 9 0 rfm63 b 0 - a u t o m a t i ca l l y s t a r t s w he n a s y n c w o rd i s d e t e c t e d ( d ) 1 - m anuall y con t r ol l e d b y f i f o_ f i l l f i f o_ f il l 6 1 4 r / w / c fifo f i l lin g s t a t u s / c o n tr o l (b u f f e r e d mod e onl y ) : ? if f i f o_ f ill _ m ethod = ? 0 ? : ( d) g oe s h ig h w he n f i fo i s be i n g f il l e d ( s y n c w o rd h a s b e e n d e t ec t e d ) w ri t i n g ? 1 ? c lea r s t h e b i t a n d w ai ts f o r a ne w s y n c w o rd ( i f f i f o_o v e rr u n _cl r = 0 ) ? if f i f o_ f ill _ m ethod = ? 1 ? : 0 - st o p f il l in g t h e f i f o 1 - st a rt f i ll i n g t h e f i f o t x _don e 5 1 4 r t x _don e irq sou r c e g oe s h ig h w he n t h e l as t bi t h a s le f t t h e s h i ft r eg i s t e r . t x _s t a r t _i r q _ 0 4 1 4 r / w tx s t a rt con d i t i o n a n d ir q _ 0 s ou r c e : ? if d ata_ m ode ( 1:0) = 01 ( b u f f e r ed m ode ) : 0 - tx s t a rts i f fifo i s f u ll , i r q _ 0 ma p pe d to / f i f o emp ty ( d ) 1 - tx s t a rts i f fifo i s no t e m p t y , ir q _ 0 m a pp e d to /f i f o e m p t y ? if d ata_ m ode ( 1:0) = 1x ( pa c k et m ode ) : 0 - st a rt tr an s m i ss i o n w he n t h e n u mbe r o f b y t e s i n fi f o i s g r ea t e r t ha n o r equa l to t h e t h r e s h ol d se t b y m cp a r am_ f i f o _ t h r es h p a r ame t e r (cf s e c t i o n 5 . 2 . 2 . 3 ), ir q _ 0 ma p pe d to f i f o_ t h r e sh o l d ( d ) 1 - tx s t a rts i f fifo i s no t e m p t y , ir q _ 0 m a pp e d to /f i f o e m p t y r e s 3 1 4 r / w ( d ): 0 , sh o ul d b e se t t o 1 . n o t e : 0 di s abl e s t h e rssi irq sou r ce . it c a n b e le ft en a ble d a t an y t i m e , a n d t h e u se r ca n ch o o s e to ma p t h i s i n t e rr u p t to ir q 0 /ir q 1 o r n o t. rss i _i rq 2 1 4 r / w / c rssi irq sou r c e : g oe s h ig h w he n a s i gn a l a b o v e rssi _i r q _ t h r e s h i s de t e c t e d w ri t i n g ? 1 ? c lea r s t h e b i t p ll_l o c k e d 1 1 4 r / w / c p l l s t a t u s : 0 - no t l o c ke d 1 - lo c ke d w ri t i n g a ?1 ? cl e a rs t h e bi t p ll_l o c k _e n 0 1 4 r / w p ll_l o c k de t ec t f l a g m a p p e d t o pi n : 0 - lo c k d e t e c t d i sa b led , p i n i s h igh - z 1 - lo c k d e t e c t e n abl e d ( d ) rss i _i r q_ t h r e s h 7 - 0 1 5 rssi t h r e s ho l d f o r in t e r r up t ( c ode d a s rss i ) ( d ): 0 0 000 0 00 t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 62 of 9 0 rfm63 b 6 . 4. r ece i v er con f i gur at i o n p a r a met e r s - r xpa r a m t he deta i l e d d e sc r i pt i on of t he r xp a r am r eg i s ter i s g i v en i n t ab l e 29. t ab l e 29: r x p a r a m r eg i s t er de scr i pt i on n am e b i ts a ddr es s ( d ) rw d esc r ip t ion p as s i v e f il t 7 - 4 1 6 r / w t y pica l s i ng l e s ide b an d ba n d w id th o f t h e p a s s i v e lo w - pa s s f i l t e r . p as s i v e f il t = 0 00 0 - 6 5 k hz 0 0 0 1 - 8 2 k hz 0 0 1 0 - 1 0 9 k h z 0 0 1 1 - 1 3 7 k h z 0 1 0 0 - 1 5 7 k h z 0 1 0 1 - 1 8 4 k h z 0 1 1 0 - 2 1 1 k h z 0 1 1 1 - 2 3 4 k h z 1 0 0 0 - 2 6 2 k h z 1 0 0 1 - 3 2 1 k h z 1 0 1 0 - 3 7 8 k h z ( d ) 1 0 1 1 - 4 1 4 k h z 1 1 0 0 - 4 5 8 k h z 1 1 0 1 - 5 1 4 k h z 1 1 1 0 - 6 7 6 k h z 1 1 1 1 - 9 8 7 k h z b u tt e r f i l t 3 - 0 1 6 r / w s e ts t h e r e cei v e r ba n d w id t h . f o r b w i n f o r m a t i o n p le a s e r e f e r t o sec t io n s 3 . 4 .5 ( fsk) a n d 3 . 4 .6 ( oo k) . ( d ): 0 0 11 = > f c f 0 = 1 0 0 k hz p ol y p f il t _c e n t e r 7 - 4 1 7 r / w c en tr a l fr eq u enc y o f t h e p o l y phas e f i l t e r ( 1 00k hz r e co m m en ded ) : f 200 kh z . f x t a l m h z . 1 v a l ( p o l y p filt _ ce n t e r ) 0 1 2 . 8 m h z 8 ( d ): 00 1 1 = > f 0 = 1 0 0 k hz r e s 3 - 0 1 7 r / w r ese r v e d ( d ): 1 0 00 p ol y p f il t _o n 7 1 8 r / w e nabl e o f t h e p ol y ph a s e f il t e r, i n oo k rx mode : 0 - o ff ( d ) 1 - o n b i t s y n c _o ff 6 1 8 r / w b i t s y n c h r o n i z e r: c on tr o l i n c o n t in u ou s rx mode : 0 - o n ( d ) 1 - o ff s y nc_o n 5 1 8 r / w s y n c w o rd r eco g ni t i on : 0 - o ff ( d ) 1 - o n s y nc_si z e 4 - 3 1 8 r / w s y n c w o rd si z e : 0 0 - 8 b i t s 0 1 - 1 6 b i t s 1 0 - 2 4 b i t s 1 1 - 3 2 b i ts ( d ) s y nc_ t o l 2 - 1 1 8 r / w n umbe r o f e r r o rs t ole r a t e d i n t h e s y n c w o rd r e cog n i t i on : 0 0 - 0 e rr o r ( d ) 0 1 - 1 e rr o r 1 0 - 2 e rr o rs 1 1 - 3 e rr o rs r e s 0 1 8 r / w r ese r v e d ( d ) : 0 t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 63 of 9 0 rfm63 b n am e b i ts a ddr es s ( d ) rw d esc r ip t ion r e s 7 - 0 1 9 r / w r ese r v e d ( d ): 0 0 000 1 11 rss i _ v a l 7 - 0 2 0 r rssi ou t p u t, 0 . 5 d b / bi t n o t e : read - o n l y ( no t to b e w r i tt en ) oo k _ t h r esh _ s t e p 7 - 5 2 1 r / w s i z e o f e a c h dec r e m en t o f t h e rssi t h r e s ho l d i n t h e oo k d e mod u la t o r 00 0 - 0 .5 d b ( d ) 10 0 - 3 .0 d b 00 1 - 1 .0 d b 1 0 1 - 4 .0 d b 01 0 - 1 .5 d b 1 1 0 - 5 .0 d b 01 1 - 2 .0 d b 1 1 1 - 6 .0 d b oo k _ t h r esh _ de c _pe r i o d 4 - 2 2 1 r / w p e r io d o f d ec r e me n t o f t h e r s si t h r e sho l d i n t h e oo k dem o dula t o r : 00 0 - o n c e i n e ac h c h i p p e r i o d ( d ) 00 1 - o n c e i n 2 c h i p p e r i o d s 01 0 - o n c e i n 4 c h i p p e r i o d s 01 1 - o n c e i n 8 c h i p p e r i o d s 10 0 - t w ic e i n e a c h ch i p pe r i o d 10 1 - 4 t im e s i n e a c h c h i p pe r io d 11 0 - 8 t im e s i n e a c h c h i p pe r io d 11 1 - 1 6 t i m e s i n e a c h c h i p p e r io d oo k _a v g_ t h r es h _cu t o ff 1 - 0 2 1 r / w c u t o ff fr e qu e nc y o f t h e a v e r agin g f o r t h e a v e r a g e mo d e o f t h e oo k t h r e s hol d i n de m od u la t o r 0 0 - f c br / 8 . ( d ) 0 1 - r ese r v e d 1 0 - r ese r v e d 1 1 - f c br / 3 2 . 6 . 5. s y n c wo r d pa r a m ete r s - sy nc pa r a m t he deta i l e d d e sc r i pt i on of the s y n c pa r am r eg i s ter i s g i v en i n t ab l e 30. t ab l e 30: s y n c p a r a m r e g i s ter de scr i p t i o n n am e b i ts a ddr es s ( d ) rw d esc r ip t ion s y nc_ v alue ( 31 : 2 4 ) 7 - 0 2 2 r / w 1 st b y te o f s y n c w o rd ( d ): 0 0 000 0 00 s y nc_ v alue ( 23 : 1 6 ) 7 - 0 2 3 2 n d b y te o f s y n c w o rd ( onl y u s e d i f s y n c_ s i z e 00 ) ( d ): 0 0 000 0 00 s y nc_ v alue ( 15 : 8 ) 7 - 0 2 4 3 r d b y te o f s y n c w o rd ( o n l y u s e d i f s y n c_ s i z e = 1 x ) ( d ): 0 0 000 0 00 s y nc_ v alue ( 7 : 0 ) 7 - 0 2 5 4 th b y te o f s y n c w o rd ( onl y u s e d i f s y n c_ s i z e = 1 1 ) ( d ): 0 0 000 0 00 t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 64 of 9 0 rfm63 b 6 . 6. t r a n sm i t t er p a r a mete r s - t xpa r am t he deta i l e d d e sc r i pt i on of the t x pa r am r eg i s te r i s g iv en i n t ab l e 31. t ab l e 31: t x p a r a m r e g i s t er de scr i pt i on n am e b i ts a ddr es s ( d ) rw d esc r ip t ion i n t e r p f il t 7 - 4 2 6 r / w tx i n t e r pola t i o n f il t e r c u t o ff f r e que n c y : f c 200 k h z . f x t a l m hz . 1 v a l ( i n t e r p fil t t x ) 1 2 . 8 m hz 8 ( d ): 0 1 11 = > f c = 2 0 0 k hz p ou t 3 - 1 2 6 r / w tx ou t pu t po w e r (1 s t e p 3 d b) : 00 0 - 1 3 d bm 00 1 - 1 3 d bm - 1 s t e p ( d ) 01 0 - 1 3 d bm 2 s t e p s 01 1 - 1 3 d bm 3 s t e p s 10 0 - 1 3 d bm 4 s t e p s 10 1 - 1 3 d bm 5 s t e p s 11 0 - 1 3 d bm 6 s t e p s 11 1 - 1 3 d bm 7 s t e p s r e s 0 2 6 r / w r ese r v e d ( d ): 0 6 . 7. osc i ll at o r pa r a m e te r s - os c pa r a m t he deta i l e d d e sc r i pt i on of the os c p a r am r eg i s ter i s g i v en i n t ab l e 3 2 . t ab l e 32: o s c p a r a m r e g is ter de scr i pt i on n am e b i ts a dd r es s ( d ) rw d esc r ip t ion c lkou t _o n 7 2 7 r / w c lkou t c o n t r o l 0 - d isa b le d 1 - e nab l ed , c l k f r e qu e nc y s e t b y c l k ou t _ f r e q ( d ) c lkou t _ f r e q 6 - 2 2 7 r / w fr equ e nc y o f t h e si g na l p r o v i d e d o n c l k o u t : f c l kou t f x t a l i f c l k ou t _ fr e q = 0 0 000 f f c l kou t xt a l o t he r w is e 2 c l kou t _ f r e q ( d ): 0 1 11 1 (= 42 7 k h z ) r e s 1 - 0 2 7 r / w r ese r v e d ( d ): 00 t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 65 of 9 0 rfm63 b 6 . 8. packet h a ndl i n g p a r amet e r s C p kt pa r am t he deta i l e d d e sc r i pt i on of the pk t pa r am r eg i s ter i s gi v en i n t ab l e 33. t ab l e 33: p k t p a r am re g i s ter de scr i p t i on n am e b i ts a dd r es s ( d ) rw d esc r ip t ion m anches t e r _ o n 7 2 8 r / w e nabl e m anches t e r e n c o din g / dec o di n g : 0 - o ff ( d ) 1 - o n p a y load _ len g t h 6 - 0 2 8 r / w if p k t _ f o r m a t =0 , pa y l o a d l eng t h . if p k t _ f o r m a t =1 , ma x leng t h i n r x , no t u s e d i n t x . ( d ): 0 0 000 0 0 n ode_ a d rs 7 - 0 2 9 r / w n ode ? s l o ca l add r e s s f o r f i l t e r i n g o f r ec e i v e d p a c ke t s . ( d ): 0 0 h p k t _ f o r ma t 7 3 0 r / w p ac k e t f o r ma t: 0 - f i x e d leng t h ( d ) 1 - v a r iabl e l e ng t h pr eam b le _ si z e 6 - 5 3 0 r / w s i z e o f t h e p r e am b l e t o b e t r a ns m i tt e d : 0 0 - 1 b y t e 0 1 - 2 b y t e s 1 0 - 3 b y t e s ( d ) 1 1 - 4 b y t e s w hi t e nin g _o n 4 3 0 r / w w hi t e nin g / de w hi t e n in g p r o ce s s : 0 - o ff ( d ) 1 - o n crc _o n 3 3 0 r / w crc cal c ula t ion / ch e c k : 0 - o ff 1 - o n ( d ) a d r s_ f il t 2 - 1 3 0 r / w a dd r e s s f il t e r in g o f r e cei v e d p ac k e t s : 0 0 - o ff ( d ) 0 1 - n od e _ad r s a cc e p t e d , e l s e r e je c t ed . 1 0 - n od e _ad r s & 0 x 0 0 a c c e p t ed , el s e r e jec t ed . 1 1 - n od e _ad r s & 0 x 0 0 & 0 x ff a c ce p t ed , e l s e r e je c t ed . crc _s t a t u s 0 3 0 r crc che c k r e sul t f o r cu rr e n t p ac k e t (read o n l y ) : 0 - f ai l 1 - p as s crc _au t o c l r 7 3 1 r / w fifo au to c l ea r i f crc f a i le d f o r cu r r en t p a c ke t: 0 - o n ( d ) 1 - o ff f i f o _ s t b y _ a c c e s s 6 3 1 r / w fifo a c ce s s i n s t an d b y mo d e : 0 - w r i te ( d ) 1 - r ea d r e s 5 - 0 3 1 r / w r ese r v e d ( d ): 0 0 0000 t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 66 of 9 0 rfm63 b 7. a pp li c at i on i nf o r mat i on 7 . 1. c r y stal r es on at o r s p ec i f i ca t i o n t ab l e 3 4 s h o w s the c r y s t a l r e s o n ator sp e c i f i c at i on fo r the c r y st al r e f e r en c e o sci ll a tor c i r c u i t of t h e RFM63B . t h i s s pe c i f i c at i o n c o v e r s the f u l l r ange of o p e r at i on of the RFM63B a nd i s e m p l o y e d i n t he r e f e r en c e de s i gn ( s ee s e c t i on 7.5.3 ) . t ab l e 34: c rys tal r e s ona to r s pe ci f i c a t i on n am e d esc r ip t ion m in. t y p. max . u ni t f x t a l n omi n a l f r equ e nc y 9 12 . 8 0 0 1 5 m hz c loa d loa d ca p ac i t a n c e f o r f x t a l 1 0 1 5 16 . 5 p f rm m o t iona l r e s is t a n c e - - 10 0 oh m s co s hun t ca p aci t a n c e 1 - 7 p f f x t a l c alib r a t io n t o l e r a n c e a t 2 5 + / - 3 c - 1 5 - + 1 5 pp m f x t al ( t ) st abi l i ty o v e r t e mpe r a t u re r a n g e [ - 40 c ; + 8 5 c ] - 2 0 - + 2 0 pp m f x t al ( t ) a gein g t o l e r a n c e i n f i r s t 5 y e a r s - 2 - + 2 ppm / y ea r n ote t hat t he i n i t i a l f r eq u en c y t o l e r an c e, t e m pe r atu r e s tab i li t y a nd ag e i ng p e r f o r m an c e s hou l d b e c h os en i n a cc o r dan c e w i th the ta r get ope r a t i n g te m pe r atu r e r a n g e a n d t h e r e c e i v er ba nd w id th s e l e c ted. 7 . 2. s o f t w a r e f o r f r e q u e n c y c a l c u l at i o n t he r 1, p1, s1, a n d r 2, p 2, s2 d iv i de r s a r e c on f i gu r ed o v er the s p i i nte r f a c e a nd p r og r a m m ed b y 8 b i ts ea c h, at add r e ss es 6 t o 1 1. t he f r equen c y p a i r s m a y h en c e be s w i t c hed i n a s i n g l e s pi c y c l e. 7.2 . 1 . g ui t o a i d the u s er w i th c a l cu l a t i ng a pp r o p r i a t e r , p a n d s v a l ue s , s o f t w a r e i s a v a i l a b l e to pe r f o r m the f r e q uen c y c a l c u l a t i o n. t he RFM63B p ll f r equ e n c y c a l cu l ator s of t w a r e c an be d o w n l oa d ed f r om the se m te c h w e b s i te. 7.2 . 2 . . d l l f or a u t o ma t i c p rodu c t i on b e n c h t he d y n a m i c a l l y l i n k ed l i b r a r y (d ll) u s ed b y t h e s o f t w a r e to p e r f o r m the s e c a l c u l a t i ons i s a l s o p r ov i d e d, f r ee of c ha r ge, t o u s e r s , f or i n cl u si on i n a uto m at i c p r odu ct i o n te s t i n g. ke y b e ne f i ts of th i s a r e: ? n o h and t r i m m i ng of the r e f e r en c e f r eq u en c y r eq u i r e d : the a c tu a l r e f e r en c e f r equ e n c y of t h e d e v i c e u n d er t e s t (du t ) c an be ea s i l y m ea s u r ed ( e.g. f r om the c lk o u t output of the RFM63B ) and t h e to o l w i l l c a l cu l a t e t he be s t f r equen c i es to c o m pen s ate f or the c r y st al i n i t i al e rr o r . ? c ha n nel p l ans c an be ca l c u l a t ed and s to r ed i n t h e a pp l i c at i o n ? s m e m o r y , th e n ada p ted t o t h e a c t u al c r y st al o sc il l ator f r equ e n c y . 7 . 3. s w i tc h i n g t i mes a n d p r o ce du r es as an u l t r a - l o w p o w er d evic e, the RFM63B ca n b e co n f i gu r ed f or lo w m i n i m u m a v e r a ge p o w er c on s u m pt i o n. t o m i n i m iz e c on s u m pt i on the f o l lo w i ng op t i m iz ed t r a n s i t i o ns be t w een m odes a r e sho w n. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 67 of 9 0 rfm63 b t m e 7.3 . 1 . o p t imi z e d r e c ei v e c y cl e t he l o w e s t - p o w er r x c y cl e i s the f o l l o w i n g: RFM63B i dd i d dr 3 . 0 m a t y p . i dd fs 1 . 3 m a t y p . i dd s t 65ua t y p . i dd s l 100 n a t y p . r x t i m e i RFM63B c an be put i n a n y o t her m ode w ai t t s _ r e re c e i v er i s r ea d y : - rssi s a m p li ng i s v a l i d a ft er a 1 / f d ev pe ri od - re c e i v ed da t a i s v a li d w a i t t s _ f s s e t RFM63B i n rx m ode w a i t f or re c e i v er s e tt l i ng w ai t t s _ o s c set RFM63B i n f s m ode w a i t f or pll s e tt l i ng s et rf m63b i n s t a n d b y m ode w a i t f or xo s e t t l i ng f i gu r e 49: o pt i m i z e d rx c yc l e n ote: if the l o c k dete c t i n d i c ator i s a v a i l a b l e o n an ex te r nal i n t e rr upt p i n of t h e c o m pan i o n u c , i t c an be us ed to opt i m i z e t s_ f s, w i t h out h a v i ng t o w a i t t he m a x i m u m s pe c i f i ed t s_ f s. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 68 of 9 0 rfm63 b t i m e 7.3 . 2 . o p t imi z e d tr a n s mi t c y cl e RFM63B i dd i ddt 16 m a t y p. @ 1 dbm i ddfs 1 . 3 m a t y p. i ddst 65 u a t y p. i dd s l 100na t y p. tx t i m e RFM63B c an b e p ut i n a n y o t her m o d e w ai t t s_ tr da t a t r a n s mi s s i on c an s t a r t i n con ti nuous and b u f f e r e d m odes w a i t t s _ f s s e t RFM63B i n t x m ode p a c k et m ode s t a r t s i t s o pe r a t i o n w a i t t s _ o s c s et RFM63B i n f s m o d e w a i t f or pll s e tt l i ng set RFM63B i n s t a n d b y m ode w a i t f o r xo s e t t l i ng f i gu r e 50: o pt i m i z e d t x c yc l e n ote: as s tat e d i n the p r e c ed i ng s e c t i o n, t s_ f s t i m e c an be i m p r o v ed b y u s i n g the e x te r nal l o c k dete c tor p i n as e x te r nal i nte rr upt t r i g ge r . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 69 of 9 0 rfm63 b 7.3 . 3 . tr a n smi tt e r fr e q u e n c y hop o p t imi z e d c y cl e RFM63B i d d i dd t 16 m a t y p. @1dbm i d d fs 1 . 3 m a t y p . w a i t t s _ tr RFM63B i s n ow r e a d y f or da t a t r ans m i s s i on t i m e w ai t t s _h op s et RFM63B b ack i n tx m ode RFM63B i s i n t x m ode o n c hannel 1 ( r 1 / p1 / s1) 1. set r 2 / p2 / s2 2. set RFM63B i n f s m ode, chan g e m c pa r a m _band i f needed, t hen s w i t ch f r om r 1 / p1 / s1 t o r 2 / p2 / s 2 f i gu r e 51: t x h op c ycl e t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 70 of 9 0 rfm63 b 7.3 . 4 . r ecei v e r fr e qu e n c y hop o p t imi z e d c y cl e RFM63B i d d i dd r 3 m a t yp i d d fs 1 . 3 m a t y p . w a i t ts _ r e RFM63B i s n ow r e a d y f or da t a r ecep t i o n t i m e w ai t t s _h op s et rfm63 b b ack i n r x m o de RFM63B i s i n r x m ode o n c hannel 1 ( r 1 / p1 / s1) 1. set r 2 / p2 / s2 2. set RFM63B i n f s m ode, chan g e m c pa r a m _band i f needed, t hen s wi t ch f r om r 1 / p1 / s1 t o r 2 / p2 / s 2 f i gu r e 52: rx hop c yc l e n ote: i t i s a l s o po ss i b l e to m o v e f r o m one c hann e l t o the o ther o ne w i t hout h a v i ng to s w i t c h o f f the r e c e i ve r . t h i s m ethod i s f a s te r , and o v e r a l l d r a w s m o r e c u rr ent. f or t i m i ng i n f o r m at i on, p l ea s e r ef er to t s_ r e_ h o p on t ab l e 8. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 71 of 9 0 rfm63 b 7.3 . 5 . r x - tx a nd t x - r x j u m p c y cle s RFM63B i d d i dd t 16 m a t y p. @1d bm i d d r 3 . 0 m a t y p . t i m e w ai t t s _r e RFM63B i s r ea d y t o r ece i v e d a t a w a i t ts _ t r set RFM63B i n r x m ode RFM63B i s n ow r ea d y f or da t a t r an s mi s s i on RFM63B i s i n r x m o de s et RFM63B i n t x m ode f i gu r e 53: rx - t x - rx c yc l e t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 72 of 9 0 rfm63 b undefined w ai t f o r 1 0 m s c hi p i s r e a d y fr o m t hi s po i n t o n 5 m s t hi s po i n t o n h i gh - z 7 . 4. r eset o f t h e ch i p a p o w e r - on r e s et of the RFM63B i s t r i g g e r ed at p o w er up. a d d i t i on a l l y , a m anu a l r e s et c an be i ss ued b y c on t r o l l i ng p i n 13. 7.4 . 1 . po r if the app l i c at i on r e q u i r es t he d i sc o n ne c t i on of v d d f r om the RFM63B , de sp i te of the e x t r e m e l y l o w s l e e p mode c u rr ent, t h e u s er s h o u l d w a i t f or 10 m s f r o m of the end of the p o r c y cl e be f o r e c o m m en c i ng c o m m un i c at i o n s o v er the spi bu s . p i n 13 ( t es t 8) s hou l d b e l e f t f l oat i ng du r i ng t he p o r s e q uen c e. v dd pi n 1 3 ( ou t pu t) f i gu r e 54: p o r t i m i ng d i a g r am p l e a s e n ote t hat a n y c lk o u t a c t ivi t y c an a l s o be u se d to dete c t t hat the c h i p i s r ea d y . 7.4 . 2 . m a nu a l r e s e t a m anual r e s et of the RFM63B i s po ss i b l e e v en f or a p p li ca t i o ns i n w h i c h v d d ca nnot be ph y s i ca l l y d i sco n n e c ted. p i n 13 s ho u l d b e p u l l ed h i gh f or a hund r ed m i c r o s e c ond s , a n d th e n r e l e a s ed. t he u s er s ho u l d t h en w a i t f or 5 m s be f o r e u s i n g t h e c h i p. v dd pi n 13 h i gh - z > 10 0 u s ?? 1 ? ? w ai t f o r c hi p i s r e a d y fr o m ( i nput) f i gu r e 55: m a nu a l re s e t ti m i n g d i ag r a m p l e a s e n ot e t hat w h i l e p i n 13 i s d r i v en h i g h, a n o v er c u rr ent c on s u m pt i on of up to ten m illi a m ps c an be se en o n v dd . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 73 of 9 0 rfm63 b 7 . 5. r efe r e n ce d e s i g n it i s r e c o m m ended that th i s r e f e r en c e de s i gn i s r ep l i c ated i n the f i nal ap p li c a t i on b o a r d to g u a r a n tee o pt i m um pe r f o r m an c e. 7.5 . 1 . a p p lica t i on sc h ema t i c t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 74 of 9 0 rfm63 b a tte nu at i on [ d b ] a t te nu at i o n [ d b ] 7.5 . 4 . s a w f il t e r pl ot t he f o ll o w i ng sc r een sh ot s h o w s t h e p l ot of the s a w f il ter u s ed on t he r e f e r en c e d e s i gn: 0 - 1 0 - 2 0 - 3 0 - 4 0 - 5 0 - 6 0 - 7 0 - 8 0 40 0 60 0 80 0 1 00 0 120 0 140 0 1 60 0 18 0 0 200 0 fr e que n c y [ m h z ] f i gu r e 59: 915 m h z sa w f il t er p l ot 0 - 1 0 - 2 0 - 3 0 - 4 0 - 5 0 - 6 0 - 7 0 - 8 0 40 0 60 0 8 00 100 0 120 0 14 00 1 6 0 0 1 80 0 200 0 f r e q u e n c y [ m h z ] f i gu r e 60: 869 m h z sa w f il t er p l ot t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 75 of 9 0 rfm63 b 7 . 6. r efe r e n ce d e s i g n pe r f o r ma n ce a l l t h e m ea s u r e m ents vi s i b l e o n s e ct i on 7.6 t y p i ca l f i gu r es ob t a i n ed u n der t he f o l l o w i ng c on d i t i on s , u n l e s s othe r w i s e n ote d : ? n o m i nal v d d = 3 . 3 v ? t e s ts pe r f o r m ed at r oom te m pe r atu r e: 25 c + / - 3 c ? c enter f r eq u en c y 869 m h z or 915 m h z ? {r , p, s} t r i p l e ts a r e t ho s e c a l c u l a ted b y the s o f t w a r e de sc r i bed i n s e c t i o n 3 . 2.8. ? a l l r e g i s ter s et t i ngs a r e de f au l t , e xc ept f or t h o s e s tat e d i n the r e l ev ant su b - s e c t i o ns ? ma x i m u m o utput po w er p r og r a m m ed on p o ut te s ts ? a l l s en s i ti vi t i es a r e e v a l ua t e d i n c o nt i nu o us m ode, d e m odu l at i n g a p n 1 5 s e q ue nc e, b e r = 0.1% ? f sk se n s i t iv i t i es m ea s u r ed at 2 5 k bp s , f de v = + / - 50 k h z ? oo k s en s i t i v i t i es m ea s u r ed at 8 k bp s , w i th f o = 1 00 k h z . i f 2 s et to 1 0 0 k h z . ? o n a l l a d j a c ent c h a nn e l r e j e c t i on ( a cr) , b l o c k i ng and spu r i ous r e s p o n s e f r equ e n c y te s t s , t he u n w a n ted s i gn a l i s un m odu l a t ed. ? b i l l of ma t e r i a l s as s h o w n i n s e c t i on 7.5 . 3. i n pa r t i cul a r , a s a w f il ter i s u s ed ( s ee i ts p e r f o r m an c e on s e ct i on 7.5.4) ? t he f il ter s ett i ngs de sc r i b ed on t ab l e 37 a n d t ab l e 38 w e r e u se d f or the m ea s u r e m ents of s e c t i on 7 . 6.5. t ab l e 37: f s k rx fi l te r s vs . b i t ra t e bi t r ate f d ev f i l ter s et t i n g f d ev + r x 3 d b b w m ax. d ri f t a dd r 16 b r/ 2 p r o g r a mm ed a ct u al k b p s +/ - k h z h ex k h z k h z k h z + / - pp m 100 2 0 0 f f 2 5 0 4 00 306 62 6 6 . 67 1 3 3 e 9 16 6 . 7 2 50 214 53 5 0 1 0 0 d 6 1 2 5 1 75 158 37 4 0 80 b 5 1 0 0 1 50 137 41 3 3 . 33 67 a 4 8 3 . 3 1 25 116 36 2 8 . 57 57 a 3 7 1 . 4 1 00 96 27 2 5 50 a 3 6 2 . 5 1 00 96 37 2 2 . 22 44 7 2 5 5 . 6 75 69 15 2 0 40 7 2 50 75 69 21 1 8 . 18 36 7 2 4 5 . 5 75 69 26 1 6 . 67 33 7 2 4 1 . 7 75 69 30 1 5 . 38 33 4 1 41 50 47 7 1 4 . 29 33 4 1 4 0 . 5 50 47 7 12 . 5 33 4 1 3 9 . 6 50 47 8 1 0 33 4 1 3 8 . 3 50 47 10 5 33 4 1 3 5 . 8 50 47 12 2 33 4 1 3 4 . 3 50 47 14 t ab l e 38: oo k rx fi l te r s v s . bi t rate b i t r at e f o + b r f i l t e r se tt i ng r x 3 db b w m a x . dr i f t a d dr 1 6 p rog r a m m e d a ct u a l k bps k h z he x k h z k h z + / - ppm 1 6 . 6 7 1 1 7 c 1 1 5 0 1 5 4 4 1 1 2. 5 1 1 3 c 1 1 5 0 1 5 4 4 6 9 .5 2 1 1 0 a 0 1 2 5 1 2 9 2 2 8 1 0 8 a 0 1 2 5 1 2 9 2 3 4 .7 6 1 0 5 a 0 1 2 5 1 2 9 2 7 2 .4 1 1 0 2 a 0 1 2 5 1 2 9 3 0 1 .5 6 1 0 2 a 0 1 2 5 1 2 9 3 0 t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 76 of 9 0 rfm63 b s e n s i t i v i t y [ d b m ] s e n s i t i v i t y @ b e r = 0 . 1 % s a w r i p p l e [ d b ] s a w r i p p l e [ d b ] 7.6 . 1 . se n si t i v i t y f la t n es s sen s it i v i t y o v er t h e f re qu e n c y b a n d - 9 0 . 0 1 4 . 0 - 9 2 . 0 1 2 . 0 - 9 4 . 0 1 0 . 0 - 9 6 . 0 8 . 0 - 9 8 . 0 6 . 0 - 10 0 . 0 4 . 0 - 10 2 . 0 2 . 0 - 10 4 . 0 0 . 0 - 10 6 . 0 8 6 3 8 6 4 8 6 5 8 6 6 8 6 7 8 6 8 8 6 9 - 2 . 0 8 7 0 fr e que n c y [ m h z ] s en s i t i v i t y s a w r i pp l e f i gu r e 61 : s e n s i t i v i ty a cr o s s the 8 68 m h z b a nd s e n s i t i v it y o ve r t h e f r eque n c y b an d - 90 . 0 14 . 0 - 92 . 0 12 . 0 - 94 . 0 10 . 0 - 96 . 0 8 . 0 - 98 . 0 6 . 0 - 100 . 0 4 . 0 - 102 . 0 2 . 0 - 104 . 0 0 . 0 - 106 . 0 - 2 . 0 9 02 90 4 90 6 9 0 8 91 0 91 2 91 4 91 6 9 18 92 0 92 2 92 4 92 6 92 8 f r e qu e n c y [ m h z ] s en s i t i v i t y sa w r i pp le n ote s : f i gu r e 62: s e n s i t i v i ty a cr o s s the 9 15 m h z b a nd ? mea s u r e d i n f s k m ode o nl y . oo k se n s i t i v i t y c ha r a c t e r i s t i c s w i l l b e s i m il a r . ? t he s en s i t i v i t y d i ff e r en c e a l ong t h e ba n d r e m a i ns i n s i d e the r i p p l e p e r f o r m an c e of the s a w f il ter ( the no m i nal pa ss band of the 869 m h z s a w f il ter i s 8 68 8 7 0 m h z ) ? t he s a w f il ter r i p p l e r e spo n s e i s r e f e r en c ed to i ts i n se r t i on l o s s at 869 m h z a nd 9 15 m h z f or ea c h f il te r . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 77 of 9 0 rfm63 b s e n s i t i v i t y l o s s [ d b ] s e n s i t i v i t y l o s s [ d b ] 7.6 . 2 . se n si t i v i t y v s . lo d r i f t s e n s i t i v i t y l o s s vs . l o d r i f t 6 . 0 5 . 0 4 . 0 3 . 0 2 . 0 1 . 0 0 . 0 - 1 . 0 - 2 5 - 2 0 - 1 5 - 1 0 - 5 0 5 1 0 1 5 2 0 2 5 l o d r i f t [k h z ] f i gu r e 63: f s k s en s i t i v i ty lo s s vs . lo d r i ft s e n s i t i v i t y l o s s vs . l o d r i f t 6 . 0 5 . 0 4 . 0 3 . 0 2 . 0 1 . 0 0 . 0 - 1 . 0 - 1 00 - 8 0 - 6 0 - 4 0 - 2 0 0 2 0 40 6 0 8 0 1 0 0 l o d r i f t [k h z ] n ote s : f i gu r e 64: o o k s en s i t i v i ty lo s s vs . lo d r i ft ? in f s k m od e , t h e de f a u l t f i l ter s ett i ng ( a 3 at a dd r e s s $16) i s k ept, l e a d i ng t o f c= 96 k h z t y p . ? in oo k m o d e, f 3 i s s et at ad d r e s s $ 1 6, l e a d i ng t o (f c - f o ) = 95 k h z t y p . ? t he abo v e e n s u r es that th e c hann e l f il ter i s w i de e n o ugh, t h e r e f o r e c ha r a c te r i z i ng the d e m odu l a t or r e s po ns e, and n o t the f i l ter r e s p o n s e. t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 78 of 9 0 rfm63 b s e n s i t i v i t y i m pr o ve m e n t [ d b ] = > s e n s i t i v i t y i m p r o ve m e n t [ d b ] = > 7.6 . 3 . se n si t i v i t y v s . r ecei v e r bw s e n s iti v i t y vs . f c 1 . 0 0 . 0 5 0 10 0 1 50 20 0 25 0 3 0 0 - 1 . 0 - 2 . 0 - 3 . 0 - 4 . 0 - 5 . 0 - 6 . 0 f c o f a ct i v e f il t e r [k h z ] f i gu r e 65: f s k s en s i t i v i ty vs . rx b w s e n s iti v it y c ha n g e vs . ( f c - f o ) 1 . 0 0 . 0 0 5 0 1 00 15 0 20 0 2 5 0 30 0 3 5 0 - 1 . 0 - 2 . 0 - 3 . 0 - 4 . 0 - 5 . 0 - 6 . 0 f c - f o [k h z ] f i gu r e 66: o o k s en s i t i v i ty cha n ge vs . rx b w t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 80 of 92 rfm63 b 0 2 5 5 0 7 5 1 0 s e n s i t i v i t y i m p r o ve m e n t [ d b ] => s e n s i t i vi t y i m p r o v e m e n t [d b] = > 7.6 . 4 . se n si t i v i t y s t a b ili t y o v e r t em p e r a t ure a nd v o l t a ge s e ns iti v it y s t a b i l i t y 1 . 5 1 . 0 0 . 5 0 . 0 2 . 1 0 2 . 4 0 2 . 7 0 3 . 0 0 3 . 3 0 3 . 6 0 - 0 . 5 8 5 c 2 5 c 0 c - 40 c - 1 . 0 - 1 . 5 - 2 . 0 - 2 . 5 v d d [ v ] n ote: f i gu r e 67: s e n s i t i v i ty s t a b i l i ty ? t he s en s i t i vi t y p e r f o r m an c e i s v e r y s t a b l e o v er t h e v d d r ang e , a n d t he e ff e c t of h i gh te m pe r atu r e i s m i n i m a l . 7.6 . 5 . se n si t i v i t y v s . b i t r a t e 8 .0 s en s i t i v i t y c ha n g e ov e r b r 6 .0 4 .0 2 .0 0 .0 0 - 2 .0 - 4 .0 - 6 .0 - 8 .0 b i t r a t e [ k b / s ] f i gu r e 68: f s k s en s i t i v i ty vs . b r t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 81 of 92 rfm63 b . 5 4 6 . 5 9 1 1 . 5 1 4 1 6 . 5 ac r [ d b ] s e n s i t i v i t y i m pr o ve m e n t [ d b ] = > s ens iti v it y c ha n g e o ve r t h e b r 2 . 0 1 . 5 1 . 0 0 . 5 0 . 0 1 - 0 . 5 - 1 . 0 - 1 . 5 - 2 . 0 - 2 . 5 b i t r a t e [k b p s ] f i gu r e 69: o o k s en s i t i v i ty vs . b r 7.6 . 6 . a d jace nt ch a nn e l r e j ec t i on a c r i n fs k m o d e 7 0 6 0 5 0 4 0 3 0 2 0 1 0 0 - 1 0 0 0 - 8 00 - 6 0 0 - 40 0 - 20 0 0 20 0 4 00 6 0 0 8 0 0 100 0 off s e t [k h z ] f i gu r e 70: a cr i n f s k m o de t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 82 of 92 rfm63 b p o u t [ d b m ] ac r [ d b ] s a w r i ppl e [ d b ] a c r i n oo k m o d e 6 0 5 0 4 0 3 0 2 0 1 0 - 3 00 - 20 0 - 1 0 0 0 0 1 00 20 0 3 0 0 - 1 0 - 2 0 off s e t [k h z ] n ote s : f i gu r e 71: a cr i n oo k m o de ? in f s k m ode, the un w a nt ed s i g nal i s un m odu l ated ( as de sc r i bed i n t h e en 300 - 2 20 v 2.1 . 1 ) . c o - c h a nn el r e j e c t i on (ccr , offs et = 0 k h z ) i s po s i t i v e d u e to the d c c an c e l l a t i o n p r o c e s s o f the z e r o - if a r ch i te c tu r e ? in oo k m ode, t h e p o l y ph a s e f il ter e ff i c i en c y i s li m i ted, t hus li m i t i n g t he ad j a c ent ch an n el r e j e c t i o n a t 2x f o d i s tan ce . 7.6 . 7 . o u t put p o w e r f la t n e s s pou t o v er t he f r e q ue n cy b a n d 1 2 . 0 4 . 0 1 0 . 0 2 . 0 8 . 0 0 . 0 6 . 0 - 2 . 0 4 . 0 - 4 . 0 2 . 0 - 6 . 0 0 . 0 - 8 . 0 86 3 8 64 86 5 86 6 86 7 8 6 8 86 9 87 0 f r e qu e n c y [ m h z ] p o ut sa w r ip p le f i gu r e 72: p o ut for 869 m h z b and o pe r a t i o n t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 83 of 92 rfm63 b p o u t [ d b m ] p ou t [ d b m ] s a w r i ppl e [ d b ] po ut o ver t h e f r e qu e n cy b a n d 1 2 . 00 4 . 0 1 0 . 00 2 . 0 8 . 00 0 . 0 6 . 00 - 2 . 0 4 . 00 - 4 . 0 2 . 00 - 6 . 0 0 . 00 - 8 . 0 90 2 9 04 9 06 9 0 8 91 0 91 2 9 14 9 1 6 91 8 92 0 92 2 9 24 9 2 6 92 8 f r e q u e n c y [ m h z ] p ou t sa w r i pp l e n ote s : f i gu r e 73: p o ut for 915 m h z b and o pe r a t i o n ? as not e d i n s e ct i on 7.5 . 4, the 8 6 9 m h z s a w f il t er does not co v er t h e w h o l e eu r o pe a n 8 6 3 8 7 0 mh z f r equen c y b and w hen u se d i n a 50 o h m s en vi r on m ent. h e n c e t h e ou t put p o w er deg r a da t i on at t h e l o w e s t f r equen c i e s . f or ap p li c a t i o ns i n the 863 8 70 m h z b and i t i s r e c o m m ended that an app r op r i ate s a w f il t er be i m p l e m ented or th a t t h e sa w r e s pon s e tuned b y e x te r nal m at c h i n g. ? t he s a w f il ter r i p p l e r e f e r e n c es a r e t h e i n s e r t i o n l o s s of ea c h s a w at 869 m h z a nd 9 15 mh z . 7.6 . 8 . p out a nd i dd v s . p a se tt i ng 12 . 0 pou t & i d d vs. txp a r a m _ p o u t s e t ti n g 28 . 0 0 8 . 0 26 . 0 0 24 . 0 0 4 . 0 22 . 0 0 0 . 0 20 . 0 0 18 . 0 0 - 4 . 0 16 . 0 0 - 8 . 0 14 . 0 0 12 . 0 0 - 12 . 0 0 1 2 3 4 5 6 7 t xp a r a m _ p o u t [ d ] 10 . 0 0 p ou t i d d f i gu r e 74: p o ut a nd i dd at a l l p a s et t i ng s , 869 m h z t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 84 of 92 rfm63 b . 1 2 . 4 2 . 7 3 . 0 3 . 3 3 p ou t [ d b m ] p o u t i m p r o ve m e n t [ d b ] = > i d d [ m a ] pou t & i d d vs. txp a r a m _ p o u t s e t t i ng 1 2 . 0 1 0 . 0 8 . 0 6 . 0 4 . 0 2 . 0 30 . 0 28 . 0 26 . 0 24 . 0 22 . 0 0 . 0 - 2 . 0 - 4 . 0 - 6 . 0 - 8 . 0 - 1 0 . 0 - 1 2 . 0 0 1 2 3 4 5 6 7 t x p a r a m _ p ou t [ d ] 20 . 0 18 . 0 16 . 0 14 . 0 12 . 0 10 . 0 p o u t id d n ote: f i gu r e 75: p o ut a nd i dd at a l l p a s et t i ng s , 915 m h z ? + 1 0 dbm t y p. o utp u t p o w er i s a c h i e v ab l e, e v e n at s a w f il te r ? s o utp u t. 7.6 . 9 . p out s t a b ili t y o v e r t em p e r a t ure a nd v o l ta ge pou t s t a b ili t y 1 . 0 0 . 5 0 . 0 2 . 6 - 0 . 5 8 5 c 2 5 c - 4 0 c 0 c - 1 . 0 - 1 . 5 - 2 . 0 v d d [ v ] f i gu r e 76 : p o ut s ta b i l i ty t he output p o w er i s n ot se n s i t i v e to t he s u p p l y v o l ta g e, a n d i t de c r e a s es s li g ht l y w hen te m pe r atu r e r i s e s . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 85 of 92 rfm63 b 7.6 . 10 . tr a n smi tt e r s p ec t r a l p ur i t y f i gu r e 77: 869 m h z s pe c t r al p u r i ty d c - 1 g h z f i gu r e 78: 869 m h z s pe c t r al p u r i ty 1 - 6 g h z t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 86 of 92 rfm63 b 7.6 . 11 . oo k ch a nn e l b a n d wi d t h t he oo k b i t r ate r an g es f o r m 1.56 to 1 6.7 k bp s . it i s i nte r e st i ng to no t e t h at, f or the l o w e s t b i t r a t e s , a c han n el s pa c i ng app r oa c h i ng 200 k h z i s a c h i e v ab l e: f i gu r e 79: o o k s pe c t r um - 2 k bps f i gu r e 80: o o k s pe c t r um - 8 k bps n ote s : f i gu r e 81: o o k s pe c t r um - 16.7 k b ps ? t he te s t c ond i t i o ns a r e: f d e v = 1 0 0 k h z , t x pa r a m _inte r p f i l t = 2 0 0 k h z t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 87 of 92 rfm63 b 7.6 . 12 . f s k s p ec t rum i n e u r ope f i gu r e 82 s h o w s t h e m i n i m al s pe c t r al o cc upat i on ac h i e v a b l e i n the eu r op e an band, k eep i n g i n m i nd that the m i n i m u m f r equen c y de vi a t i on that a RFM63B r e ce i v er c an a cc ept i s 33 k h z . if the c o m pan i on r e c e i v er ca n bear s m a ll er f r equen c y d e v i a t i o ns , the r a n ge of m odu l a t i o n ban d w i d th c an be f u r t h er d e c r ea s ed. f i gu r e 82: f s k - 1. 5 6 k bps - + / - 33 k h z t he de f au l t co n f i gu r a t i on of the RFM63B y i e l ds t he b a nd w i d th vi si b l e on f i g u r e 8 3: f i gu r e 83: f s k - 25 k b ps - + / - 50 k h z f i gu r e 84 s h o w s t he m a x i m al b i t r ate a nd f r eq u en c y de v i a t i o n t h at c an f i t i n t h e 868 t o 8 6 8.6 m h z e u r op ea n s ub - ban d : f i gu r e 84: f s k - 40 k b ps - + / - 40 k h z t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 88 of 92 rfm63 b 7.6 . 13 . d i g i t a l modu la t i on s c h eme s fc c pa r t 15 . 247 a ll o w s f or s y s te m s e m p l o y i n g d i g i t a l m odu l at i on t e c h n i q u es to t r an s m i t up to 1 w , p r o v i d e d th a t the 6 db b an d w i dth of the s i gn a l i s at l e a s t 500 k h z a nd t h at t h e p o w er s pe c t r al den s i t y d oes n o t e xc eed 8 dbm i n a n y 3 k h z b a n d w i d t h. t he RFM63B c an a c tu a l l y m eet the s e c on s t r a i nts w h ils t t r an s m i tt i ng at t he m a x i m u m output p o w er of the d e v i c e of t y p. 1 0 db m , than k s to the b u i l t - i n w h i te n i ng p r o c e s s d esc r i bed i n s e c t i on 5 .5. 6 .2: f i gu r e 85: d t s 6 d b b and w i dth c on d i t i on s : ? pout = + 1 0. 6 dbm ? f dev = + / - 2 00 k h z f i gu r e 86: d t s p o w er s p e c t r al den s i ty ? b r = 100 k bps (c h i p r a t e =1 00 k c p s , as data w h i te n i n g i s ena b l ed) ? pa c k et m ode, d a ta w h i t en i ng e na b l ed n ote: m an c he st er en c o d i n g a l lo w s m eet i ng an e v e n l o w er po w er s pe c t r al den sit y , at t h e e x p e n s e of the b i t r ate e ff i c i en c y . t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 89 of 92 rfm63 b i f s [ m a ] i s l e ep [ n a ] i t x [ m a ] txlvl =0 0 0 i r x [ m a ] i s t by [ u a ] 7.6 . 14 . curr e nt s t a b ili t y o v e r t em p e r a t ure a nd v o l t a ge 1 2 0 0 s l ee p m od e c u rr e n t 1 00 s t a ndb y m od e c u rr e n t 90 1 0 0 0 80 8 0 0 6 0 0 4 0 0 60 8 5 c 2 5 c 50 0 c - 40 c 40 30 8 5 c 2 5 c 0 c - 40 c 2 0 0 10 0 2 . 1 2 . 4 2 . 7 3 3 . 3 3 . 6 v d d [ v ] 0 2 . 1 2 . 4 2 . 7 3 3 . 3 3 . 6 v d d [ v ] 2 . 0 0 f s m od e c u rr e n t 4 . 0 0 r x m od e c u r r e n t 1 . 8 0 1 . 6 0 1 . 4 0 1 . 2 0 1 . 0 0 0 . 8 0 0 . 6 0 0 . 4 0 0 . 2 0 8 5 c 2 5 c 0 c - 40 c 3 . 0 0 2 . 5 0 2 . 0 0 1 . 5 0 1 . 0 0 0 . 5 0 8 5 c 2 5 c 0 c - 40 c 0 . 0 0 2 . 1 2 . 4 2 . 7 3 3 . 3 3 . 6 v d d [ v ] 0 . 0 0 2 . 1 2 . 4 2 . 7 3 3 . 3 3 . 6 v d d [ v ] t x m o de c u rr e nt ( m a x o utp u t p o w e r ) 3 0 . 0 25 . 0 20 . 0 15 . 0 8 5 c 2 5 c - 4 0 c 0 c 10 . 0 5 . 0 0 . 0 2 . 1 2 . 4 2 . 7 3 . 0 3 . 3 3 . 6 v d d [ v ] f i gu r e 87: idd vs . t e m p a nd v dd t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 90 of 9 1 rfm63 b 8. p ackag i ng i nfo r mat i on f i gu r e 8 8 : s2 package dimensions t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// a d v a nc e d c o mm uni c a t i o ns & s e n s ing pa g e 91 of 9 1 rfm63 b 9 . ord er i ng i nfo r mat i on part nu mber=module type p/n: RFM63B - 868 s2 RFM63B module at 868mhz band , smd package p/n: RFM63B - 915 s2 RFM63B module at 915 mhz band , smd package hope microelectronics co.,ltd add: 2/f, building 3, pingshan private enterprise science and technology park, lishan road, xili town, nanshan district, shenzhen, guangdong, china tel: 86 - 755 - 82973805 fax: 86 - 755 - 82973550 email: sales@hoperf.com website: http://www.hoperf.com http://www.hoperf .cn this document may contain preliminary information and is subject to change by hope microelectronics without notice. hope microelectronics assumes no responsibility or liability for any use of the information contained herein. nothing in this document shall operate as an express or implied license or indemnity under the intellectual property rights of hope microelectronics or third parties. the products described in this document are not intended for use in implantation or other direct life support app lications where malfunction may result in the direct physical harm or injury to persons. no warranties of any kind, including, but not limited to, the implied warranties of mechantability or fitness for a articular purpose, are offered in this document. ?2006, hope microelectronics co.,ltd. all rights reserved. package operation band mode type t e l: +86 - 7 55 - 8 2973805 f ax: +86 - 755 - 8 29 7 3550 e - mail: sales@hope r f . c o m h t tp://ww w . hope r f . com free datasheet http:/// |
Price & Availability of RFM63B |
|
|
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] |