Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560


Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C6x | downsampling in c6713

Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

downsampling in c6713 - waji...@hotmail.com - Dec 26 9:05:07 2006

HI EVEYONE.I am trying to implement iir filter on c6713.MY Signal has a
bandwidth of 150hz.The minimum sampling rate of c6713 is 8khz.I need to sample
at 1khz.This means i have to downsample it.
My code is interrupt based.What i want to ask is  whether i will downsample
before or after filtering.Any sample code regarding downsampling would be of
great help.
Any response in this regard would be of great help.
Thanks .
wajahat.

______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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

Re: downsampling in c6713 - Jeff Brower - Dec 27 8:21:12 2006

Wajahat-

> HI EVEYONE.I am trying to implement iir filter on c6713.MY Signal has a
bandwidth of 150hz.The minimum sampling rate
> of c6713 is 8khz.I need to sample at 1khz.This means i have to downsample
it.
> My code is interrupt based.What i want to ask is  whether i will downsample
before or after filtering.Any sample code
> regarding downsampling would be of great help.

First apply FIR lowpass filter (maybe something like 450 Hz cutoff frequency),
then decimate (take every 8th sample).

One of the tradeoffs is that the closer you want the cutoff to be ideal 500 Hz,
the sharper the FIR filter rolloff and
more the number of FIR filter taps.  More filter taps means less real-time
processing for other algorithms and more
signal delay.

-Jeff

______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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

Re: downsampling in c6713 - marc...@gmail.com - Jan 14 23:24:47 2007

You need do do the filtering prior to downsampling to avoid aliasing. Be
sure to have a good filtering in the stopband region (or above the Nyquist rate
fc/2). If you want to reduce computation you can use multirate techniques but
they are easily applicable only to fir filters. They make it possible to invert
the operations of filtering and downsampling (via poliphase decomposition) so
the filter operates at the low sampling rate. If speed is not a problem use an
iir lowpass filter followed by a decimator if phase distortion is allowed,
otherwise use a linear phase fir(higher cost).

______________________________
Start your Android Ice Cream Sandwich development on TI's AM35x Sitara ARM Cortex-A8 processor today.



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