develop88

Sampling frequency for amplitudes of each frequency of 150Hz to 3kHz

Discussion created by develop88 on Aug 24, 2011
Latest reply on Oct 5, 2011 by vinodbableshwar
Branched from an earlier discussion

thank you very much for your reply.

I try to  generate the fft of any signal in the range of and

calculate the magnitude of each frequency

I use the SPI link between ADC and DSP Blackfin 533.

I want to know what value of sampling frequency should I use? (knowing that I

want to measure the amplitudes of each frequency of 150Hz to 3kHz)

Which registers do I put this value?

 

 

What is the values of registers SPI_BAUD, PLL_DIV?

how to calculate?

 

here the code for the initialization of the register SPI I use:

void Setup_SPI(void)

{

 

*pSPI_BAUD=0x0004;  // !!!

*pSPI_CTL=0x110a;  }

 

/ / in the main:

  • pPLL_DIV = 6;

 

 

PS: Blackfin DSP 533, ADC = AD7982.

 

I have read the datasheet, but I can not find the solution.

Please help me

 

2011/8/17 AndreasL <analog@sgaur.hosted.jivesoftware.com>

 

**

     Analog Devices EngineerZone <http://ez.analog.com/index.jspa>  varing

results with rfft_fr16 reply from AndreasL<http://ez.analog.com/people/AndreasL>in

VisualDSP++ Development Tools - View the full discussion<http://ez.analog.com/message/30651#30651>

 

Outcomes