Shop OBEX P1 Docs P2 Docs Learn Events
Propeller and the ADF4350 PLL — Parallax Forums

Propeller and the ADF4350 PLL

SYKOgirl85SYKOgirl85 Posts: 6
edited 2013-04-20 11:21 in Propeller 1
Im currently working on a 2 meter Ham radio design project to graduate, however, my instructor made my partner and I use an ADF4350 PLL synth chip to lock in the frequency settings. It uses SPI to communicate with the propeller, but I am at a stand still on how to program this thing. I've searched and downloaded multiple objects from object exchange for the quad encoder (for changing the frequency), a button (for what I'm not sure..future expansion to the radio maybe?), SPI driver, and LCD HD44780 driver. While I have all these objects working individually I've yet to be able to get them all loaded on the EEPROM. I'm guessing I'm going to have to write a top level program that ties them all together.

MY MAIN QUESTION is "How do I program the ADF4350?" Analog devices can't help me, trust me I've called and posted. AND>>> "How would I take the HEX value corresponding with the PLL frequency to display the decimal frequency on the LCD?"

Main Formulas on data sheet
RF VCO Frequency
RFOUT = fPFD
1024 x 973 - 74K

Comments

  • Christof Eb.Christof Eb. Posts: 1,201
    edited 2013-04-19 03:54
    Hi,
    perhaps you can use the gnu c-compiler (cmm-Mode?!) for the prop and start from a source like:
    http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/ab207bece948af27e4772cb482ba9a7973b9565e/entry/usrp2/firmware/lib/adf4350.c
    Best luck, Christof
  • LawsonLawson Posts: 870
    edited 2013-04-20 11:21
    SYKOgirl85 wrote: »
    While I have all these objects working individually I've yet to be able to get them all loaded on the EEPROM. I'm guessing I'm going to have to write a top level program that ties them all together.
    Yes, you need to make a high level program to tie these objects together and implement the desired program flow and user interface. Finite State machines and Flow Charts are good design tools for interface logic that can be "mechanically" converted to program code.
    SYKOgirl85 wrote: »
    MY MAIN QUESTION is "How do I program the ADF4350?" Analog devices can't help me, trust me I've called and posted. AND>>> "How would I take the HEX value corresponding with the PLL frequency to display the decimal frequency on the LCD?"

    Main Formulas on data sheet
    RF VCO Frequency
    RFOUT = fPFD
Sign In or Register to comment.