pll tuning uses wrong crystal fq or c code??

The operation of transmitters designed to jam or block wireless communications is a violation of the Communications Act of 1934, as amended ("Act"). See 47 U.S.C. Sections 301, 302a, 333. The Act prohibits any person from willfully or maliciously interfering with the radio communications of any station licensed or authorized under the Act or operated by the U.S. government. 47 U.S.C. Section 333. The manufacture, importation, sale or offer for sale, including advertising, of devices designed to block or jam wireless transmissions is prohibited. 47 U.S.C. Section 302a(b). Parties in violation of these provisions may be subject to the penalties set out in 47 U.S.C. Sections 501-510. Fines for a first offense can range as high as $11,000 for each violation or imprisonment for up to one year, and the device used may also be seized and forfeited to the U.S. government.

Moderators: adafruit_support_bill, adafruit

pll tuning uses wrong crystal fq or c code??

Postby inh » Thu Nov 01, 2007 5:19 am

Hi there - I've noticed that I am jamming some cell channels effectively, but not others, so I checked the voltage ranges going into the VCOs of my 2 working units so far. The voltages should be 4-6v on VCO2, and 2-6v on VCO1, for fq jamming of 860-960Mhz and 1640-2220Mhz respectively - read from the VCO datasheets.

Actually on both units I am getting different ranges - 3-4.5v on VCO2 and 4-7v on VCO1. Because this is happening on both units, I am suspicious of the pll tuning...

I have an Aaronia spectrum analyser arriving next week, but I thought I'd check the PLL code anyway. I am not a good c programmer (more VB), but I notice that main.c calls pll_init, and when you look inside pll.c, you can see that pll_init has a reference to a 1Mhz clock. Could it be that we should use a 1Mhz clock???

Anyone who understands this code better than me would be very useful to hear from...
thanks
Ian
inh
 
Posts: 102
Joined: Mon Aug 27, 2007 5:49 am
Location: london

Postby Lanmasterd » Thu Nov 01, 2007 8:16 am

ive never really looked at any of the files apart from trhe main.c file..
but yeah u are rite i have a 1mhz ref too.. me thinking maybe this might be a typo or mistake.. im wounder would it cause damage to change this to a 10mhz.. ???
im new myself to the pll code but im gonna spend the next 2 days looking into it..
ill be doing up my work lab in my home pffice too so ill have results of my test too i hope..
oh and inch nice catch on the gain block u mentioned.. i replyed to it on the wavecaster forum
Lanmasterd
User avatar
Lanmasterd
 
Posts: 88
Joined: Tue Feb 27, 2007 4:53 pm
Location: Ireland, Waterford

1 vs 10 Mhz

Postby inh » Thu Nov 01, 2007 9:45 am

Hi Lanmasterd - please note that I don't fully understand the c code for the pll_init routine (also 1Mhz is mentioned in the pll_set_rcounter routine). In fact I can only see it mentioned in the commented out notes, so I don't know whether it is a choice which is even relevant in the actual compiled code. But it may be...

In my next digikey order I'm going to get some 1Mhz crystals (and some of those SXB-4089Zs) and see if anything changes if I substitute them - maybe it'll get the voltages going into the VCOs in the right range, maybe not...

In the mean time - we need to understand whether the c code controlling the pll is explicitly telling the pll to refer to a 1Mz signal, when we infact are giving it a 10Mhz signal...
thanks
Ian
inh
 
Posts: 102
Joined: Mon Aug 27, 2007 5:49 am
Location: london

r8/9 ?

Postby inh » Sat Nov 03, 2007 11:28 am

could it be that r8 and r9 are needed to pull VCO1 and VCO2 DCADJ to gnd? ie not let voltages on c22/c23 stay high - the VCOs wont drain much away... Looks like the principle of a SMPS without r8 and r9...

I haven't installed them...
any suggestions for values?
thanks
Ian
inh
 
Posts: 102
Joined: Mon Aug 27, 2007 5:49 am
Location: london


Return to Wave Bubble

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]