- init() - initialise the device and communications
- setFreq(freq, channel) - calculate the ADF4351 register values
- update() - update the device registers
There are also simple functions to set the power output and enable/disable to output. Full details of the Arduino code and a description of how the code works is at M0IFA.me. Here's a block diagram of the ADF4351 with the register names (e.g register2, position 25 on 32bit word). You can see the complexity of programming to get everything right in these 6 x 32 bit registers.
There are essentially three parts to the diagram. Generating Fpfd from the RFin (the xtal 10MHz). Dividing down the RFout to feed the phase comparator, and the phase comparator and VCO. All this is explained is a tech article on my web site here.
The module is from eBay ADF4351 module
And the Arduino is from eBay also Funduino
No comments:
Post a Comment