Questions tagged [dsp]

DSP stands for Digital Signal Processing or Digital Signal Processor.

DSP stands for Digital Signal Processing. DSP relies heavily on discrete time mathematics.

DSP can be implemented on general purpose microcontrollers or special Digital Signal Processors (also called DSPs), which have instructions for often used functions like MACs (Multiply-and-ACcumulate) or bit reversal.

For software-related DSP questions, consider the DSP Stack Exchange.

400 questions
91
votes
6 answers

What is the difference between a DSP and a standard microcontroller?

I understand that a DSP is optimized for digital signal processing, but I'm not sure how that impacts to the task of choosing an IC. Almost everything I do with a microcontroller involves the processing of digital signals! For example, let's…
Kevin Vermeer
  • 19,989
  • 8
  • 57
  • 102
86
votes
7 answers

What is the relation between FFT length and frequency resolution?

If I have sampled a signal using proper sampling methods (Nyquist, filtering, etc) how do I relate the length of my FFT to the resulting frequency resolution I can obtain? Like if I have a 2,000 Hz and 1,999 Hz sine wave, how would I determine the…
Kellenjb
  • 17,509
  • 5
  • 51
  • 87
39
votes
18 answers

What are good microcontrollers available today?

I have experience with assembly and C programming for microcontrollers, but I'm not familiar with the various MCU and DSP families offered by today's companies. (eg: Texas Instruments, Atmel, Renesas) I'd like to know about the good microcontrollers…
Edward
  • 1,339
  • 3
  • 17
  • 24
30
votes
10 answers

When can FPGA's be used and Microcontrollers/DSPs not?

I have to choose between a course on advanced microcontrollers and a course on advanced FPGA's. I have had introductory courses in both subjects, and what troubles me now is that I am already pretty good at firmware development for…
Jolle
  • 537
  • 2
  • 6
  • 13
30
votes
2 answers

How can the GPS position update rate be 10 Hz?

Based on stuff on the web (Wikipedia and others) the GPS navigation message bit rate is 50 bit/s. That includes all data needed for user position calculation (time, ephemeris, almanac, etc.) It seems that the packet from a satellite should be much…
Alihaji
  • 446
  • 4
  • 7
21
votes
3 answers

What actually is a shadow register?

I noticed the term Shadow Register while going through a datasheet of a TMS320F28335 DSP. What does it actually mean? Does it have a physical location in the CPU as the general purpose registers have?
noufal
  • 1,575
  • 3
  • 20
  • 25
18
votes
8 answers

Writing DSP algorithms directly in C or assembly?

I m working on a DSP project(IIR filtering) on an Analog Devices digital signal processor(BF706) with the compiler suite coming with it, CrossCore Studio. It has some examples for simple DSP stuff like FIR and IIR filters and library functions for…
doubleE
  • 709
  • 1
  • 11
  • 19
17
votes
9 answers

DSP recommendation for beginners

I am considering a project involving a fair share of digital signal processing. As far as I know, the best type of IC suited for this are the Digital Signal Processors. I have never worked with them before - can you recommend me any model that is…
Dominik
  • 404
  • 4
  • 7
13
votes
2 answers

What's the sharpest frequency response for a non-causal low-pass filter whose step response doesn't overshoot?

Butterworth, Bessel, Chebychev, and sinc low-pass filters are used in various cases where there are different tradeoffs between having a uniformly-decreasing frequency response, a uniform phase response, a steep cutoff, or "brick-wall" response. I…
supercat
  • 45,939
  • 2
  • 84
  • 143
12
votes
3 answers

What is the "Nyquist" rate for sampling the derivative of a signal?

Background: I'm sampling the current through a capacitor. The signal of interest is the voltage across the capacitor. I will digitally integrate the current measurement to obtain the voltage. Question: Given that the voltage across the capacitor is…
VIANDERN
  • 283
  • 2
  • 11
12
votes
3 answers

What's so great about PPC? There's gotta be something

With this question in mind (the first one that stackexchange is offering me right now among the "Questions with similar titles"), I'd like to steal the idea of the question and ask it about PPC. What's so great about it? All other chips I've seen -…
doppelfish
  • 243
  • 2
  • 6
12
votes
6 answers

Code example for FIR/IIR filters in VHDL?

I'm trying to get started with DSP in my Spartan-3 board. I made a AC97 board with a chip from an old motherboard, and so far I got it to do ADC, multiply the samples for a number <1 (decrease volume) and then DAC. Now I'd like to do some basic DSP…
hjf
  • 1,069
  • 2
  • 14
  • 24
11
votes
4 answers

What can the dsPIC do which the humble PIC microcontroller cannot do?

I have not used a DSP chip as of yet. All I know is that their architecture is such that they can carry out calculations quite fast, usually within a clock cycle, they have multiply-accumulate instructions in their instruction set and they have DMAs…
quantum231
  • 11,218
  • 24
  • 99
  • 192
11
votes
5 answers

VHDL: Using '*' operator when implementing multipliers in design

Present day FPGAs have built in DSP blocks, the latest FPGAs even have built in IEEE-754 compliant floating point units. It is possible to create DSP entity/module using a GUI after selecting the required parameters in it, and then instantient it in…
quantum231
  • 11,218
  • 24
  • 99
  • 192
10
votes
3 answers

Why is a signal that is finite in time domain, infinite in its frequency domain?

Why does every single band-limited signal in frequency have an infinite time domain and vice versa (As it's a symmetric relation, inf in one is finite in the other). I understand how a digital signal with an infinite slope needs infinite amount of…
JustLearning321
  • 109
  • 1
  • 5
1
2 3
26 27