ADF4351 controlled with ESP32

This repository contains drivers for ADF4351 and a ESP32 example.
Github: https://github.com/Ryushane/ADF4351-ESP32

Usage

  • Follow the ADF4351example.ino, first instantiate a ADF4351 object.
ADF4351 adf4351(clock,data,LE,CE); // declares object PLL of type ADF4351
  • Then use adf4351.begin(); to initialize the adf4351 object, including setting the pinMode and the initial state of four pins(SCLK, DATA, LE, CE)
  • Finally load the data into corresponding registers, then ADF4351 will work.

Connection

ADF4351-ESP32-Connection

  • There are five lines to connect.

    ESP32ADS4351Description
    GNDGNDGround
    VSCK/HSCKCLKSPI Clock
    MOSIDATAMaster Out Slave In
    SSLELoad Enable
    Any GPIO pin and set to OUTPUT mode and HIGHCEChip Enable

Frequency Calculation

Using ADI ADF4351 Evaluation Board Software, we can conveniently calculate the registers.

https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-adf4351.html#eb-overview

Software

  • Then just fill in the registers on given example.

example

Last modification:September 8, 2019
恰饭环节