{"id":591,"date":"2025-07-21T07:21:25","date_gmt":"2025-07-21T05:21:25","guid":{"rendered":"http:\/\/www.f4irx.com\/wordpress\/?p=591"},"modified":"2025-07-21T07:21:25","modified_gmt":"2025-07-21T05:21:25","slug":"adf4351-controlled-with-esp32","status":"publish","type":"post","link":"http:\/\/www.f4irx.com\/wordpress\/index.php\/2025\/07\/21\/adf4351-controlled-with-esp32\/","title":{"rendered":"ADF4351 controlled with ESP32"},"content":{"rendered":"\n<p>ref : <a href=\"https:\/\/github.com\/Ryushane\/ADF4351-ESP32\">https:\/\/github.com\/Ryushane\/ADF4351-ESP32<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/dfannin\/adf4351\">https:\/\/github.com\/dfannin\/adf4351<\/a><\/p>\n\n\n\n<p>code test :<\/p>\n\n\n\n<p>#include \u00ab\u00a0ADF4351.h\u00a0\u00bb<\/p>\n\n\n\n<p>#include &lt;SPI.h&gt;<\/p>\n\n\n\n<p>#define clock 4<\/p>\n\n\n\n<p>#define data 6<\/p>\n\n\n\n<p>#define LE 7<\/p>\n\n\n\n<p>#define CE 10<\/p>\n\n\n\n<p>ADF4351 adf4351(clock,data,LE,CE); \/\/ declares object PLL of type ADF4351<\/p>\n\n\n\n<p>void setup() {<\/p>\n\n\n\n<p>&nbsp; Serial.begin(115200);<\/p>\n\n\n\n<p>&nbsp; adf4351.begin();<\/p>\n\n\n\n<p>&nbsp; \/\/ ref =25Mhz freq :41Mhz<\/p>\n\n\n\n<p>&nbsp; adf4351.WriteRegister(0x00580005); \/\/ &nbsp;R5<\/p>\n\n\n\n<p>&nbsp; adf4351.WriteRegister(0xEC81FC); \/\/ R4<\/p>\n\n\n\n<p>&nbsp; adf4351.WriteRegister(0x000004B3); \/\/ &nbsp;R3<\/p>\n\n\n\n<p>&nbsp; adf4351.WriteRegister(0x4E42); \/\/ &nbsp;R2<\/p>\n\n\n\n<p>&nbsp; adf4351.WriteRegister(0x80080C9); \/\/ &nbsp;R2<\/p>\n\n\n\n<p>&nbsp; adf4351.WriteRegister(0x3400C0); \/\/ &nbsp;R1<\/p>\n\n\n\n<p>&nbsp; Serial.println(\u00ab\u00a0All registers have benn written!\u00a0\u00bb);<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>void loop() {<\/p>\n\n\n\n<p>&nbsp; \/\/ put your main code here, to run repeatedly:<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"481\" height=\"640\" src=\"http:\/\/www.f4irx.com\/wordpress\/wp-content\/uploads\/2025\/07\/thumbnail_IMG_5263.jpg\" alt=\"\" class=\"wp-image-592\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>ref : https:\/\/github.com\/Ryushane\/ADF4351-ESP32 https:\/\/github.com\/dfannin\/adf4351 code test : #include \u00ab\u00a0ADF4351.h\u00a0\u00bb #include &lt;SPI.h&gt; #define clock 4 #define data 6 #define LE 7 #define CE 10 ADF4351 adf4351(clock,data,LE,CE); \/\/ declares object PLL of type ADF4351 void setup() { &nbsp; Serial.begin(115200); &nbsp; adf4351.begin(); &nbsp; \/\/ ref =25Mhz freq :41Mhz &nbsp; adf4351.WriteRegister(0x00580005); \/\/ &nbsp;R5 &nbsp; adf4351.WriteRegister(0xEC81FC); \/\/ R4 &nbsp; adf4351.WriteRegister(0x000004B3); [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-591","post","type-post","status-publish","format-standard","hentry","category-projet"],"_links":{"self":[{"href":"http:\/\/www.f4irx.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.f4irx.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.f4irx.com\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.f4irx.com\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.f4irx.com\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=591"}],"version-history":[{"count":1,"href":"http:\/\/www.f4irx.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/591\/revisions"}],"predecessor-version":[{"id":593,"href":"http:\/\/www.f4irx.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/591\/revisions\/593"}],"wp:attachment":[{"href":"http:\/\/www.f4irx.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.f4irx.com\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=591"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.f4irx.com\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}