Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dsp]

DSP stands for Digital Signal Processing or Digital Signal Processor.

1
vote
1answer
31 views

Interpretation of I2S data

I am working with a TI PCM1807 ADC (datasheet: https://www.ti.com/lit/ds/symlink/pcm1807.pdf) and try do some signal processing on a FPGA. The PCM1807 output is I2S. I was wondering how to interpret ...
2
votes
1answer
2k views

How to take z-transform of a function with an absolute exponent value?

Can you help me find the z-transform of the impulse response below: $$h(n) = (\frac{1}{2})^{|n-1|} + (\frac{1}{2})^{|n|} $$ I know the z-transform of $$(\frac{1}{2})^{n}$$ is equal to: $$(\frac{...
1
vote
2answers
84 views

increase the ADC resolution using oversampling [duplicate]

To increase the ADC resolution, oversampling technique can be used which must be followed by decimation (average) method. Oversampling is just take several samples within time period. Unlike the ...
0
votes
1answer
348 views

Anti-Aliasing Filter example

I need help in solving the below question. Bandwidth of the signal is 1KHz. Use a 12-bit ADC with SNR of 78dB for sampling. the sampling frequency is 12KHz. Choose suitable filter order and cut-off ...
0
votes
2answers
659 views

How to improve my digital filter to extract DC from noises?

Digital filter description: The filter's input are sensor data and output will be provided to a PID controller. Sampling rate: 64kHz Noises spectrum: from DC to 10kHz Filter target: to get DC ...
3
votes
4answers
783 views

Is there an efficient way for synchronising audio events real-time with LEDs using an MCU?

I'm working on a project in which LED lights synchronise with audio events. I'm not referring to reactive LED projects that read the ADC from audio amplitude or spectrum, but about having some ...
0
votes
1answer
73 views

Translating/reverse engineering firmware commands

I'm trying to build my own Hi-Fi system. So, I recently ordered this Japanese DSP that's able to process Dolby audio. I was all excited until the part had arrived and I found something in the ...
0
votes
1answer
342 views

3 phase BLDC sinusoidal drive using PWM controller and/or DSP?

My background is mechanical engineering (robotics). I apologize in advance. I have a sensitive torque ripple (Vibrations) application and would like to use sinusoidal drive to run a 3 phase BLDC ...
0
votes
0answers
80 views

Time delay using IIR filters

I am trying to implement a cardioid pattern with two microphones. I was reading this paper titled "Digital Filter Array Optimization for Directivity Pattern". The link to download the paper is this. ...
0
votes
2answers
598 views

How has this Daikin control signal been encoded?

I just installed a Daikin split system (AC/Heat Pump) and would like to control it remotely. There are similar units available which can be controlled with an IR remote, but mine does not support this ...
9
votes
2answers
2k views

Is it possible to create an IIR filter in an FPGA that's clocked at the sample frequency?

This question is about implementing a IIR filter in a FPGA with DSP slices, with very specific criteria. Lets say you're making a filter with no forward taps and only 1 reverse tap, with this ...
0
votes
1answer
100 views

PLDs, DSPs, MCUs, MPUs and SoCs Typical Application [closed]

PLDs, DSPs, MCUs, MPUs and SoCs are all embedded devices, they can be programmed / configured to achieve a specific application. I've worked with MCUs and FPGAs in the past and realized that they are ...
1
vote
1answer
174 views

Best Approach Methods for Signal Processing

I'm looking for some advice, I am hoping one of the many forum experts could help me with some advice on the sampling and processing of signals. I am using an STM32F4 processor with 12 bit ADC and DSP ...
2
votes
1answer
102 views

Are digital signal processors categorised in ASIPs?

Reading Wikipedia, it seems like DSPs use short instruction sets specialized for digital signal processing with hardware designed to specifically accelerate these instructions (e.g. multiplying, ...
0
votes
1answer
37 views

Discrepancy in my dB SPL calculations

Having read through this post I tried an experiment. I connected a Extech sound level calibrator to a Type 4189 microphone. The output sensitivity of the microphone is 50 mV/Pa,-26 dB ± 1.5 dB re ...
0
votes
0answers
54 views

Amplitude-Frequency spectrum

I am tasked to find the amplitude of the first harmonic of a square wave. I did a time domain fourier series and plot a frequency spectrum I also did a frequency domain fourier series and plot a ...
1
vote
3answers
164 views

Sharp and Simple Analog Filter suggestions

I'm looking for schematics of some simple opamp-based analog filter, which has a sharp band-pass functionality. I want it to control small robot with sounds of different pitch. The matter is like ...
1
vote
2answers
161 views

problem with fixed point butterworth implementation

I have designed a 2nd order Butterworth filter with MATLAB fdatool for VHDL implementation. the cuttoff frequency is less than Fs/10, which should be okay since fdatool uses prewarping. Indeed, the ...
0
votes
2answers
28 views

Load vs LDAC pins

Alright, so I'm using a TLV5628 Octal 8 bit DAC with my stm32f4-Nucleo and I'm kind of confused about the difference between LDAC and Load. I am also trying to figure out the clock rate and I might ...
2
votes
3answers
116 views

FIR Filter on Cortex M0

Is it possible to implement basic DSP (such as an FIR Filter) on a Cortex M0 or is the architecture too limited?
0
votes
2answers
102 views

Hardware audio mixing [closed]

I'm having a hard time trying to understand some basic sound engineering concepts. From https://en.wikipedia.org/wiki/Original_Chip_Set#Paula: Paula has four DMA-driven 8-bit PCM sample sound ...
1
vote
1answer
172 views

DSP Library not working in MPLAB X

I have to make a digital filter with a dsPIC30F4011 (I'm completely new to microcontrollers). I was reading the documentation about the DSP Library to figure out how to use it. I created a simple C ...
1
vote
1answer
35 views

Continuous, frequency-domain digital equalizer

I'm facing a real case of DSP application. I have a basic knowledge of digital filtering and telecommunication issues. The input of my "black-box" is a digital audio signal (say a common WAV file, ...
1
vote
3answers
65 views

Inherent DC Bias in ADC sampling

I was just simulating the quantization behavior of ADCs of different bits, on data sampled by a 24-bit ADC. What I noticed that as we go towards ADCs with less bits a DC bias in the signal becomes ...
1
vote
1answer
101 views

How can I Access Tiger Sharc DSP processor through host pc?

I am working on designing of a test board which involves both FPGA(Xilinx- Kintex 7) and DSP(Tiger Sharc) based signal processing. Now the end user wants to access the DSP processor programming ...
1
vote
2answers
66 views

Signal Strength to ADC quantisation levels

According to the excellent site of AB4OJ, the Icom 7300 in summary has a 14bit analogue to digital converter with a 1.5 volt peak to peak input (LTC2208-14). I make this to be 91.5uV per quantisation ...
8
votes
3answers
5k views

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'...
-2
votes
2answers
72 views

dsPIC33E ADC to FFT help

I am sampling an audio range signal with a bandwidth of 3100Hz and then applying a FFT using the DSP library example from Microchip to determine the most dominant frequency of the signal. On the last ...
2
votes
2answers
119 views

What is the easiest way to add noise to a circuit?

I'd like to have a sinousid wave with some noise. Then use that signal as input for an arduino, visualize that signal in Matlab and use a simple filter (moving average, for example) to remove the ...
1
vote
2answers
254 views

When is proper to use <= or = assigments in Verilog

I have not clear at all this part of Verilog when using <= or when = I have some always blocks that make some adds, subtracts and multiplies an example is like this: ...
0
votes
1answer
125 views

Voice playback IC

I was looking for cost effective voice playback IC and came up to ISD 1700 series. Another brief datasheet is here. I don't believe with the same footprint and only for 3-4 bucks I can get up to 16 ...
12
votes
3answers
2k views

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. ...
-2
votes
1answer
671 views

What are advantages of 1's complement over 2's complement in DSP? [closed]

I wanted to know about the advantages of 1's complement over 2's complement in DSP applications.
1
vote
2answers
369 views

Designing circuit with a FIR filter with feedback

I am trying to implement a VHDL circuit similar to the one in this image: This Simulink simulation works as expected, but trying to implement the same in VHDL is another issue. The problem is that ...
0
votes
1answer
49 views

Running DSPIC33FJ64GP802 at high temperature

Has anyone run this part to its rated temperature of 150 Celsius? We are able to run up to and beyond this temperature, but if power is cycled the part will not start reliably. We have tried running ...
0
votes
1answer
36 views

Can I2S tdm interface send more channels with less sampling frequency?

We have a arm SoC(system on chip) connected with I2S to a DSP (digital signal processor). SoC and DSP both support 48khz, 8 channel and 16bits in TDM mode. Is it possible to use this interface to ...
2
votes
2answers
139 views

Digital Audio Effects Design [closed]

I've recently graduated university with an MEng degree in Electrical and Electronic Engineering. As a third year project, I've used an ST-Microelectronics ARM Cortex-M4 based Nucleo microcontroller ...
1
vote
2answers
72 views

Configuring Frequency Bandwidth and Input Signal for Bandpass filter circuit

How do I set and configure the frequency bandwidth I want the filter to output to a device? I am using a physical passive bandpass filter which I intend to take the signal in and filter it and output ...
0
votes
1answer
412 views

To convert Volts in dB SPL confusion

I wanted to convert volts into dB SPL. Thankfully, I found this article convert Volts into dB SPL While trying to understand why he was adding the mic sensitivity along with 94 dB SPL, I found ...
0
votes
1answer
126 views

Signal processing of an IVQ-3005 Radar Module

I'm going to use that module for detecting range, velocity and angle, for that radar. https://www.innosent.de/fileadmin/media/dokumente/datasheets/180222_Datenblatt_IVQ-3005.pdf So I have read a lot ...
3
votes
1answer
107 views

Understanding digital filters, specifically their effects on time domain information, how to preserve the waveform of a signal being filtered?

According to Steven W. Smith, in his book: The Scientist and Engineer's Guide to Digital Signal Processing, when designing a digital filter, "Good performance in the time domain results in poor ...
1
vote
0answers
342 views

Wrong FFT result when using rfft function on STM32F4

I'm trying to use rfft function in STM32F407G and I am getting wrong results when I compare it with an online fft calculator . I give a sample input as {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,...
3
votes
3answers
161 views

How does playback rate of an arbitrary waveform generator determine frequency content of that signal?

I'm trying to clear up some conceptual confusion I have about digital signal processing. Say I have a 1000 point digital signal (stored in the memory of my arbitrary waveform generator "AWG"), and I ...
12
votes
3answers
14k views

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 ...
0
votes
1answer
569 views

Question about Bluetooth Version 5.0 and Version 4.1 hardware backwards compatibility

I am reading some general information about Bluetooth 5.0 improvements here: https://www.itechtics.com/bluetooth-4-vs-bluetooth-5-feature-comparison/ It says clearly that Bluetooth 5.0 is not ...
5
votes
4answers
10k views

Avoiding echo/feedback on speaker-phones, how?

Even a $20 mobile phone with a speakerphone has no problems of feedback. While I understand that companies like Mediatek have use crazy volumes to bring down mobile chipset prices so low, but reading ...
1
vote
1answer
940 views

Guitar signal preamplifier - ADC input to STM32F4

This is for a DSP project. I am trying to prepare my guitar signal for as best as possible ADC response in order to detect harmonics to the 5th of the highest note of the guitar (1175 Hz for 22 frets),...
1
vote
3answers
99 views

Low frequency present on sampled waveform

I am trying to sample a 50kHz sinewave @ 200 ksps using a 16-bit ADS8517 ADC. I am having a problem in that there is a lower frequency signal present on my input signal as shown: I have scoped the ...
0
votes
1answer
136 views

dspic30f4011 crystal oscillator configuration confusion

I am using a dspic30f4011 controller. I am confused about the oscillator frequency. According to the datasheet, it can support 4 to 10 MHZ. I have 8 MHZ and 11.0529 M HZ crystal oscillator. I know, ...
9
votes
2answers
7k views

How to select frequency resolution and window size in FFT?

I am doing spectrum analysis of a time varying signal with frequency changing from 200Hz to 10kHz. I am using the FFT for analyzing the frequency component in the signal. My questions are: How to ...