Quantcast
Channel: G0MGX In the Shack
Viewing all articles
Browse latest Browse all 215

More ADF5355

$
0
0
Well,

Following on from my great invention last time, I've been fiddling some more with the ADF5355 that we used here.

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.

The touch screen proides the facility to view the current selected frequency:


and enter a new one:


Once you have entered the 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.

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

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



Viewing all articles
Browse latest Browse all 215

Trending Articles