Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

calculating carrier frequncy for wireless module RF96

sairfan1

Full Member level 1
Joined
Jun 12, 2010
Messages
97
Helped
4
Reputation
8
Reaction score
7
Trophy points
1,288
Location
Regina, Canada
Activity points
2,371
I was reading datasheet for module RF96 (datasheet attached), by reading the datasheet I understand that we have to set register values to set carrier frequency as descrubed on the page 103, this topic is also described in some other sections of the datasheet like Pages, 13, 53, 77, 88

Formula described to calculate configuration value for registers RefFrLsb, RefFrMid, RefFrMsb is as below (ref page 103)
fRF = (XOSC) * Fr f / 2^19

Where they did not described what are these variables RF and Fr, through different tables in the datasheet I took the idea and tried to calculate the value as they described in the example:
OSC = 32MHz
Frequncy = 434 MHz

fRF = 32,000,000 * 434,000,000 / 524288

fRF = 13,888,000,000,000,000 / 524288

fRF = 26,489,257,812.5

which is 0x6 2AE1 FF54 and it does not match with the example in datasheet calculated value 0x6C 8000

I'm looking for help where am I making mistake. Thanks
 

Attachments

  • RFM95_96_97_98W.pdf
    1.9 MB · Views: 44
Solution
I was reading datasheet for module RF96 (datasheet attached), by reading the datasheet I understand that we have to set register values to set carrier frequency as descrubed on the page 103, this topic is also described in some other sections of the datasheet like Pages, 13, 53, 77, 88

Formula described to calculate configuration value for registers RefFrLsb, RefFrMid, RefFrMsb is as below (ref page 103)
fRF = (XOSC) * Fr f / 2^19

Where they did not described what are these variables RF and Fr, through different tables in the datasheet I took the idea and tried to calculate the value as they described in the example:
OSC = 32MHz
Frequncy = 434 MHz

fRF = 32,000,000 * 434,000,000 / 524288

fRF = 13,888,000,000,000,000 / 524288

fRF...
I was reading datasheet for module RF96 (datasheet attached), by reading the datasheet I understand that we have to set register values to set carrier frequency as descrubed on the page 103, this topic is also described in some other sections of the datasheet like Pages, 13, 53, 77, 88

Formula described to calculate configuration value for registers RefFrLsb, RefFrMid, RefFrMsb is as below (ref page 103)
fRF = (XOSC) * Fr f / 2^19

Where they did not described what are these variables RF and Fr, through different tables in the datasheet I took the idea and tried to calculate the value as they described in the example:
OSC = 32MHz
Frequncy = 434 MHz

fRF = 32,000,000 * 434,000,000 / 524288

fRF = 13,888,000,000,000,000 / 524288

fRF = 26,489,257,812.5

which is 0x6 2AE1 FF54 and it does not match with the example in datasheet calculated value 0x6C 8000

I'm looking for help where am I making mistake. Thanks
Just had a go at it:

dec2hex(434000000*2^19/32000000) = 0x6c8000
 
Last edited:
Solution
But you are not using the formula as sown in the datasheet? is there some math rule am I missing? I wanted to learn what made you understand to modify the formula and its till valid, and why i was not able to calculate by following what is said in the datasheet

fRF = (XOSC) * Fr f / 2^19


RF96_Freq.png
 
But you are not using the formula as sown in the datasheet? is there some math rule am I missing? I wanted to learn what made you understand to modify the formula and its till valid, and why i was not able to calculate by following what is said in the datasheet

fRF = (XOSC) * Fr f / 2^19


View attachment 185545
page 32:
FRF = Fstep × Frf(23,0)
and Fstep = Fxosc/2^19

Hence FRF = Fxosc/2^19 x Frf
Hence Frf(i.e. register value) = FRF*2^19/Fosc
 

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top