Skip to content

This repository contains drivers for ADF4351 and a ESP32 example.

License

Notifications You must be signed in to change notification settings

Ryushane/ADF4351-ESP32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ADF4351 controlled with ESP32

This repository contains drivers for ADF4351 and a ESP32 example.

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.

    ESP32 ADS4351 Description
    GND GND Ground
    VSCK/HSCK CLK SPI Clock
    MOSI DATA Master Out Slave In
    SS LE Load Enable
    Any GPIO pin and set to OUTPUT mode and HIGH CE Chip 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

About

This repository contains drivers for ADF4351 and a ESP32 example.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages