Friday, June 8, 2012

DDS Updated:EEPROM Memory- 8th June 2012

Greeting Everyone.....

We have just updated the DDS yet again to keep it alive and not forgotten.

What is change log?

Previously, we had fine tuned the DDS to change with 54Hz frequency and changed the time delay to 0.5 seconds. Now the new DDS update has a new feature where the previously set frequency can be loaded back.

To explain in simple terms, you have set a particular frequency and would like to retain the same frequency when you switch off and back on, well now its possible. Earlier when you switch off the DDS, an initially programmed frequency would be loaded in the AD9833. But now you can have previously set frequency once you switch on the DDS. 

So how did we do it. We used the EEPROM available in the PIC16F628A to write the present frequency and again read the EEPROM to load the frequency. Hence even when the DDS is cut-off from the supply, the frequency will remain in the EEPROM Memory and will be loaded once the power is wupplied back to the DDS.

The program as the subroutines for the EEPROM read and write separately andmore details are provided in the datasheet of the PIC16F628A. The DDS program is available for download in the below links as well as the DOWNLOAD tab.

The DDS program is provide below for use:

Version 3.0 Click Here (ASM) and Click Here (HEX) .

Complete project file Click Here 

No comments:

Post a Comment