<< Chapter < Page Chapter >> Page >

Spectral copies

Spectral Copies: The digital-to-analog converter on the DDS is unfiltered, which means that there is no anti-imaging filterto remove the spectral replicas. To see this, plug the output of the DDS board directly into the vector signal analyzer(VSA), and observe the spectrum. Use 104.9 MHz as the center frequency, and set the span wide enough so that you can seethe spectra of the replicas to the left and right of the 104.9 MHz signal. Use the marker to find the peaks of the otherreplicas, and record their frequencies. Once you've done that, reattach the antenna to the DDS output, and tune thereceiver to the frequencies you just recorded. You should be able to hear your audio on each of the other frequencies.

The clock rate of the DDS is 60MHz, which corresponds to 2 in digital frequency.
Therefore, the 104.9 MHz signal you just listened to is roughly equivalent to 7 2 in digital frequency. What are the digital frequencies of the other copies you saw on the VSA?

How to use the dds

The DDS has several different modes of operation: single-tone, unramped Frequency Shift Keying ( FSK ), ramped FSK, chirp, and Binary Phase Shift Keying ( BPSK ). In this lab we will use the DDS in single-tone mode. Single-tone mode is easy touse, and is powerful enough to create many different kinds of waveforms, including FM and FSK.

Fm code

The FM code you just ran (also listed here ) is fairly straightforward. The program first calls the radioinit subroutine. This routine sets the DDS to single-tone mode and turns off an inverse-sinc filterto conserve power. Following radioinit , the setcarrier subroutine is called. This routinesets the frequency of the DDS output by writing to the two most significant 8-bit frequency registers of the 48-bitfrequency-tuning word on the DDS

Communication between the DSP and the DDS is done through a parallel bus.
. Although the frequency-tuning word on the DDS has 48 bits of resolution,the upper 16 bits provide us with enough resolution for the purposes of this lab, and so we will only be writing to thetwo most significant registers. See page 26 in the DDS data sheet for a layout of the frequency-tuningword.

To set the carrier frequency, we first need to determine what frequency word has to be written to the frequency registers onthe DDS. This can be done using :

Frequency word baseband frequency 60 MHz 2 48
where baseband frequency corresponds to the desired frequency that lies in the range of 0-30 MHz. Forexample, to get the DDS to transmit at 104.9 MHz, you would choose the baseband frequency to be 15.1 MHz since 104.9 MHzis one of the unfiltered spectral replicas of 15.1 MHz. Then, using , the frequency word for 15.1 MHz (and 104.9 MHz) would be equal to 406D 3A06 D3D4h . But since we only write to the two most significant registers of the frequency-tuning word, we onlyneed the first 4 hexadecimal numbers of this result, i.e. 406Dh . The first two of those, 40h , need to get written to the most significant 8-bit frequency register, while the second twohex numbers, 6Dh , need to get written to the second-most significant 8-bit frequency register. This iswhere the 40h and 6Dh in the setcarrier subroutine of the FM code come from.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Ece 320 spring 2004. OpenStax CNX. Aug 24, 2004 Download for free at http://cnx.org/content/col10225/1.12
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Ece 320 spring 2004' conversation and receive update notifications?

Ask