element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Test & Tools
  • Technologies
  • More
Test & Tools
Blog Using a MAX2870 Frequency Synthesizer / Signal Generator
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 19 Feb 2024 9:20 PM Date Created
  • Views 16259 views
  • Likes 13 likes
  • Comments 18 comments
  • signal generator
  • MAX2870
  • frequency_generator
  • frequency synthesizer
  • rf
  • MAX2871
Related
Recommended

Using a MAX2870 Frequency Synthesizer / Signal Generator

shabaz
shabaz
19 Feb 2024

Table of Contents

  • Introduction
  • What Is It?
  • Is it a Sine Wave?
  • Using It
  • Measurements
  • Problems
  • Recommended or Not?
  • Summary

Introduction

I have a few simple tools for generating RF signals, and they all have benefits and disadvantages. I recently decided to give a frequency synthesizer a shot. Could it be used as a crude RF signal generator tool? Time to investigate! This blog post shows the key findings.

image

As will be seen, the results are generally very good, however, there are some problems too, and in terms of price-performance, I have alternative suggestions that I think are much better.

What Is It?

It’s a board based around a MAX2870 frequency synthesizer chip (PDF datasheet), which generates a signal at a chosen frequency in the range of 23.5 MHz to 6 GHz. That’s it, pretty much! The touch-screen menu allows users to choose a fixed frequency or perform a sweep operation. Several output power levels are selectable (four settings, supposedly in steps of 3 dB). The device is powered via USB. It should be possible to control the device frequency via USB, but I could not figure that out.

Internally, the MAX2870 uses a phase-locked loop (PLL) and it contains an integrated oscillator (VCO), so that very little external parts are needed; the main external thing that is required is the PLL loop filter (a network of resistors and capacitors).

image

The underside of the device has a removable PCB cover. In the photo below, the right side of the board contains the MAX2870 chip. Underneath the LCD flat-flex, is a GD32F103 chip (near-identical to STM32F103).

image

Is it a Sine Wave?

It is not. And that’s quite normal. It is closer to a square wave. Sometimes, you might actually want a square wave, for instance, if you’re driving some RF mixers. Furthermore, it’s often not such a big deal to convert to a sine wave by filtering off the harmonics. What can be more important is where the ‘spurs’ are, which are spurious unwanted signals that could be more difficult to filter out easily. Unfortunately most frequency synthesizers will generate spurs, and often the desire is to try to aim to have the spurs at frequencies that matter less.

Using It

It’s ultra simple to operate. I plugged a USB Type A to USB-C cable into a phone charger, and used it to power up the board (Note: a USB-C to USB-C cable will not work; the board is not wired up for that unfortunately).

Immediately, a menu appears, and it’s all self-explanatory. This is an instrument that can be learned and operated within seconds.

image

Measurements

I connected the output of the MAX2870 board to the spectrum analyzer (through a 20 dB attenuator since it’s good to be overly cautious when connecting something unknown; the measurements are compensated for that, so you don’t need to add 20dB to the values!).

The board has a 25 MHz crystal, and there is undoubtedly noticeable drift as expected while the board warms up, so it’s best not to use it for ten minutes or so.

First off, I decided to look at things from a distance, i.e., across a very wide frequency spectrum, to observe the level of harmonics where possible and just to see if there was anything too unusual going on! All looked good.

image

image

Next, it was time to zoom in and see things close-up; I used the same spot frequencies. The charts below show 100 kHz of spectrum, apart from the last trace, which shows 200 kHz of spectrum.

image

image

As can be seen from those spectrum traces, the fundamental output is quite constant. There isn’t much variation (about 1 dB) across almost the entire range of the frequency synthesizer. There’s only slightly more drop beyond 4 GHz, but it’s not much. For these measurements, I used a 0.6 m length of double-shielded RG316 coax, so there will be some loss there too. The visible spurs are quite low, they don't have a lot of power, especially for the low frequencies, and VHF. 

For all the measurements above, I used the maximum output setting on the board, which is labeled +5 dBm, which isn’t actually the case, as can be seen. I’m not sure of the reason (the MAX2870 datasheet is confusing; it suggests that the single-ended output power is the same as the differential configuration). The four overlaid traces show the effect of the four configurable output levels at four close-together spot frequencies. At this frequency range ballpark, the output measured from -6 dBm to +0.25 dBm across the four configurable levels.

image

Problems

I think these are the main problems with the device:

1. From the menu, frequencies can be entered in steps of 10 kHz, however, beyond some point past a GHz (I didn’t try to narrow it down) only 20 kHz steps are supported, even though the user can still enter values with 10 kHz steps. For those keen to use the board as a frequency synthesizer for radio communication, the 10 kHz minimum granularity could be an issue (it depends on whether the demodulation method will be analog, or software-defined).

2. The sweep function (see the photo below to see how part of the configuration is set) isn’t as useful as it could have been. It only works in steps of 1 MHz, even though the user can enter values with 10 kHz granularity. It’s also buggy, for instance, the start and stop frequencies are never reached, just the in-between values, and sometimes I needed to restart the unit when reconfiguring the settings. If 1 MHz or higher sweep steps are acceptable, then the MAX2870 is quite fast at switching frequencies. It was possible to step across large frequency ranges (hundreds of MHz) with steps of just a few milliseconds.

3. The output could have been much better. The design uses a single-ended output. It would have improved the signal quality if there had been a transformer on the differential output.

4. The lack of documentation about the USB control!

5. Not a top-quality design. If you tap the device, it affects the output slightly. The loop filter capacitors could be upgraded to NP0/C0G, perhaps.


There are a few minor issues, too; for instance, there was a typo on the main menu! The button to stop the output was labeled ‘Quite’. There’s actually a quick fix for that; the microcontroller isn’t protected, and it is possible to read the contents (using any 'SWD' programming tool), and edit the text string in the binary data, and then re-write it to the chip. Mine is now labelled ‘Halt ‘.

image

There are also a few minor software bugs, but powering off/on solves that. Incidentally, the device remembers the previous settings, so they are stored in non-volatile memory.

image

Recommended or Not?

For the above reasons, I’d have to say no. While it is a very convenient-to-use device, with actually very decent signal quality, and with a nice simple user interface, I don’t think it is worth the 45 GBP asking price. I think it would be far better to buy a MAX2870 board (or just the chip, but availability isn’t always good) and add your own microcontroller to it. The photo below shows there's really not much to it. Another benefit of doing that is then the frequency selection granularity can be increased, rather than be restricted to 10 kHz steps. If a custom board was to be made, then the MAX2871 is pin and software compatible, but with better performance.

image

There are also other options. For low frequencies, up to a few tens of MHz, direct digital synthesis is low-cost. Typical ICs to check out are AD9850 and AD9834. The AD995x series (e.g. AD9954) are great for up to 100 MHz or so.

For frequencies up to about 200 MHz, the Si5351 is usually an excellent choice. There’s some maths involved to control it, but it’s a solved problem, with plenty of open source code available.

Summary

The MAX2870 board that I tried had decent signal quality, and had an easy-to-use touchscreen interface, but it doesn’t justify the cost. It’s great to be able to have the access to signals across a huge range (21.5 to 6000 MHz), but there are better ways to get this capability. Personally I think it’s more worthwhile to buy a MAX2870 IC or a breakout board for it, and then add your own microcontroller and user interface.

Thanks for reading!

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 2 years ago +1
    I figured it is possible to do much better than that design, with some teamwork.. It would be awesome to have 10 GHz or so (there is a ham band of interest there!), but the freq synth chips for that…
  • shabaz
    shabaz over 2 years ago in reply to Jan Cumps

    That was my mistake for writing vaguely. It's a good idea though! After you mentioned it, I was set to do it, since all the signals were inputs (there is no read capability for the registers inside the MAX2870/1), however I'm extending the design a bit and will need some bidirectional signals, so to save on parts it will just be 3.3V control signals, which should suit most users anyway.  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 2 years ago in reply to shabaz

    I think I had misread your original text. I thought that with "5V input and the control signals", you meant you wanted 5 V I/O

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 2 years ago in reply to Jan Cumps

    I could for sure add 5V-tolerant input buffers, it would be a nice simple thing. The MAX chip operates down to 3V, but I wanted a stable 3.3V supply for the crystal oscillator, so figured a nominal 5V supply is best (and any 3.3V logic or 5V logic microcontroller can be used). 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 2 years ago in reply to shabaz

    > 5V input and the control signals, so that users can add the microcontroller of their choice

    With a level translator for the control signals? The data sheet indicates
    Vcc <= 3.9V,
    data in high <= Vcc + 0.3 V
    data out high: >= Vcc - 0.4 V

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 2 years ago

    I figured it is possible to do much better than that design, with some teamwork..

    It would be awesome to have 10 GHz or so (there is a ham band of interest there!), but the freq synth chips for that are too pricey. People could pull off a harmonic for that so it's maybe not a huge issue.

    I'm thinking it would be good to have a board with 5V input and the control signals, so that users can add the microcontroller of their choice. If the connector is in a well defined position, it could be a plug-on microcontroller board with pin headers.

    It looks like others felt a transformer on the output would be good too, I took their suggestion of the MiniCircuits transformer, it's a bit pricey (£10) but only one could be populated. I still need to sort out the oscillator (I'm thinking there should be an option for external reference too; it would be easy to do this with logic gates or an RF switch). Any other ideas welcome (and if anyone is interested in assembling it, it would be good to know. Most of the discrete are 0402-sized, and the MAX chip is 0.5mm-pitch QFN, but all this is totally doable).

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube