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 16270 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

    Forgot to add this to the main content:

    I tried the MXO 4 'scope as a spectrum analyzer, and it's brilliant at the frequencies at which it can work at. The result is as good as the spectrum analyzer (except that the SA has more configuration options since it is dedicated for that task! so it's not a fully like-for-like comparison, and one would definitely miss those capabilities so it can't fully replace a SA). The update rate however was 50-100 times faster than the real SA.

    The MXO 5 probably will work quite decently as an occasional 2 GHz spectrum analyzer, again not for complete SA replacement. I wonder if in later generations, the MXO could be sold as a complete spectrum analyzer (maybe that's still 5-10 years away until technology reaches that!).

    image

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

    Hi Gene,

    Thanks!

    I've never needed to explore beyond a few GHz before either, but I figured the board could be useful for generating frequencies in the VHF and sub-GHz ballpark, for mixing those signals into a more usable 10.7 MHz or lower, for easy experimenting with a 'scope.

    I don't need anywhere near 6 GHz, but was surprised that the performance was very decent even at those frequencies, with that almost fully-integrated frequency synthesizer chip (just add 25 MHz xtal, a few Rs and Cs, and SPI interfaced microcontroller.

    Also, it was interesting that the GD32F103 chip was so similar, that when the debug tools (OpenOCD) were set to STM32F103, it successfully read and wrote the device. I had half expected it to become bricked! : )

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

    Thanks for sharing!  Very informative and interesting.  If I every need to play around in these frequency ranges, I be sure to follow your recommendations.

    • Cancel
    • Vote Up 0 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