Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540


Discussion Groups

Discussion Groups | TMS320C54x | Re: [Fwd: Re: code working on simulator but not on device?]

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

Re: [Fwd: Re: code working on simulator but not on device?] - megha daga - May 16 19:58:05 2006



   Dear Jeff
Thanks. Thight might help. i will read and follow that. 
I had one question. In functions like butter (for filters) we declare a variable Wn (the cut
off frequency). ex: [B,A] = BUTTER(N,Wn). In this Wn value is between 0 and 1, where 1 means
half of sampling rate. What I am not understanding is where is it getting sample rate value
from. I saw some codes and in that the sample rate value is not declared before using the
command. Directly the command is used. Where is it getting sample rate value from? 
What I understand is suppose I have to run that filter design on an AIC. And AIC is set at some
sampling rate ex 48KHz. Then the code is understanding that sample rate and setting Wn
accordingly. Kindly correct me if I am wrong.
Another thing, suppose dont have sample rate of device and I want to provide one. How will I
provide the sampling rate and then Wn?
Kindly reply.
Thanking You
Megha Daga
		
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.


(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )