Search This Blog

Radio Guy Tees

Radio Guy Tees
Radio Guy T-Shirts
Showing posts with label ADF5355. Show all posts
Showing posts with label ADF5355. Show all posts

Thursday, 2 January 2020

More ADF5355

Well,

Following on from my great invention last time, I've been fiddling some more with the ADF5355 that we used here. This will generate RF from 54MHz all the way up to 13.6 GHz (which is simply amazing).

I've done something that feels a little silly, but is working:
  • I have developed some code for the MicroMite to do touch screen control
  • That communicates over a serial connection with a SAMD21 ARM Cortex M0 which does the complex double precision maths needed for the ADF5355
It feels a little silly to be using two processors, but:

  • The MicroMite doesnt support the double precision maths needed for the ADF5355
  • I can't find an easy-to-use library to do the graphics and touch screen gubbins on the SAMD21
So we have two pieces of software.

The ADF5355 board is from Amazon and looks like this:


You can get one here.

If you want to play along at home, I have also developed a macro based excel sheet using VBA to do the maths here; that will calculate the register values for a given target frequency. Once you have those, you could use my simple code to send the register values to the board over SPI. I've used a Arduino Zero clone, which you can get here. We need double precision floating point maths for this job.

This board is supported by the Arduino IDE as-is and looks like this:


The connector labeled ICSP is used for the SPI comms.

Once you understand all that gubbins, you could start to play further. Here's how I've got the bits and bobs hooked up:


The touch screen in the LCD BackPack provides the facility to view the current selected frequency:


and enter a new one:


Once you have entered the required frequency the MicroMite sends the selected frequency as a string to the SAMD21 processor which then does the necessary maths to generate the 13 register values used by the ADF5355 and squirts them over the SPI interface.

The ADF5355 uses a 100 MHz clock which is generated using the ADF4351 from last time which in turn is clocked by the shack 10MHz frequency reference.

The initialisation of the ADF4351 is done by the MicroMite over SPI, the SPI to the ADF5355 is from the SAMD21 processor.

Here is an example of the 13 register values being sent:


and a close up of one of them:

This will need boxing and turning into bench test gear.

I did quite a bit of reading up on the Arduino SPI library during this project; if you are interested in programming the ADF5355, please pay attention to the SPI library calls in this code as good practise.

The Basic code that runs on the MicroMite is here and the code for the SAMD21 (using the Arduino IDE) is here.

I've done a video of all this:



Here is the very lovely Miss Luna Cat who has assisted throughout:


Friday, 28 June 2019

13GHz Sig Gen - you can't be serious?

Well,

You may recall back here when I became very inspired by a project by GM8BJF using some eBay sourced Chinese modules to create an ADF4351 based signal generator.

There's another variation on that theme that has been published in the May 2019 Scatterpoint. Scatterpoint is the journal of the UK Microwave group, membership is about 3 bob and a conker so you have no excuses for not joining.

This time it uses an ADF5355 to generate signals from 52MHz all the way up to 13.6GHz.

The 4.4GHz generator has proved extremely useful, this one is a must.

I've modified the design and the software a little so that the 100MHz clock is generated by am ADF4351, rather than an OCXO as per Brian's design.

Brian has made the software available here, and my modified version is here. The AD4351 is a version of the evaluation board from SV1AFN - and it gets its reference from my 10MHz shack frequency reference.

The software runs on a SAMD21 ARM Cortex M0 which runs at a 48 MHz clock rate. This is supported by the Arduino IDE but is not something I had used before.


Its still WIP, but the project is up and running OK.


How cool is this?

Here's Miss Maggie Cat and Miss Pepper Cat doing what they do best: