Can someone help me with BS2 code to program the hmc830 for 2300 MHz?
Please see the post at https://ez.analog.com/message/257133#comment-257133 .
Thank you for your help with the 2300MHz program. It works great.
I am having trouble with coding one for 868MHz. I wonder if you can
generate the codes required for the HMC830 for it?
I have spent a lot of time trying to get the hittite software to run on my
machine, but it hangs up. Also the Matlab MCR code is for 64 bit and won't
install and I can't seem to find the 32 bit version.
Anyway, I am under a time crunch for the 868MHz pll and your print out will
give me what I need.
Thank you in advance.
On Thu, Jun 9, 2016 at 10:22 AM, dyoung1 <
For 868MHz output you need to run the PLL VCO at 1736MHz and turn on the output divide-by 2.
Fvco=1736MHz so assuming 50MHz reference, N=1736/50=34.72.
Use the same configuration as before but make the following changes:
Reg 0x05=0xE110. turn on the output divide-by 2,
Reg 0x05=0x00, this must be the last write to register 5
Reg 0x06= 0x30F4A, turn on fractional-N mode
Reg 0x03=0x22, set Nint
Reg 0x04=0xB851EC, set Nfrac
Since the above postings, I have switched to the ADF4350. It programs much easier. It's 435x software even works to display the register codes without the eval board. The eval board is recommended with one modification. Add header pins instead of the zero ohm resistors for LE, CLK, and DATA. Also add a three header pins in the holes for programming with offboard chips. If you need to go back to the software and eval board programming, simply put the jumpers on. Actually, I have forgotten to take them off and still programmed with the Basic Stamp, but then it has pretty robust output pins.
Since I am only interested in programming a single frequency for an L.O., I don't care how fast the spi is, so, since I had trouble with the adf4350 spi.h and all the spi examples from AD, I went to the shiftout command. In the case of the Arduino and the PicAxe, I had to break the 32 bit long variable down into 4, 8bit bytes. Still the code is considerably shorter than the AD adf4350.h and adf4350.cpp method of programming the chip. Other benefits are you don't have to include the spi.h and you can define any pin you want to use, not restricted to spi pins 10,11,12,13. The Arduino (and the attiny85) have weak output pins and picks up rfi from the PLL which prevents you from successfully loading your program. This was solved by more robust external pull-up resistors of 470 ohm and series 150 ohm from the arduino board to the eval board. If you really want to isolate you can split the 150 ohms into two 75 ohms with a 1000pf cap between them to act as a Tee RC low pass filter. If you have enough board space, a more elegant way is to use a hex inverter with two inverters in series for each of the 3 control lines.
I will gladly share software code with anyone that wants to use the Arduino, ATtiny85, picaxe, or BS2.
Retrieving data ...