Questions tagged [embedded-systems]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
94 views

Phase Vocoder Pitch Shift Phase Artifacts (Embedded C++)

I'm working on a phase vocoder pitch shifter running in C++ on an embedded microcontroller platform. I've successfully written the phase vocoder using the optimized FFT library, and it appears to be ...
Emmett Palaima's user avatar
1 vote
1 answer
109 views

STM32H7 I2S to TLV320DAC32 Setup Issues

I designed a board with an STM32H7, an ADC, and a TLV320DAC32. I'm in the stages of just getting a straight audio passthrough working. I am now getting signal output but it's all jumbled, and not at ...
Michael Beckwith's user avatar
0 votes
0 answers
42 views

Converting simulink PID block to C code

I have implemented and tuned a PID block in a simulink model and now i want to convert this block to C code to use on my micro controller I have taken the discrete equation of the PID block and the ...
Boody Alyehia's user avatar
1 vote
1 answer
39 views

Line sensor data generating data array

I have a line sensor with a $n$ number of detector elements, pixels. This line sensor should be used to capture data while moving so that later from the captured data images can be generated. The ...
ulix's user avatar
  • 11
0 votes
0 answers
51 views

What are noise reduction techniques implemented in code, if not graph beautifiers?

How does Noise Reduction techniques implemented in code help us? I am working on an analog accelerometer and while I log the data, I see noise in the data values that is almost constant and in the ...
Diracx's user avatar
  • 1
1 vote
1 answer
240 views

Using Zero-Phase Anti-Causal Filters in Real-Time Embedded Systems

Wanted to know the feasibility and usefulness of implementing Zero-Phase Anti-Causal filters such as those mentioned at this link in modern embedded signal processing applications given the ...
malik12's user avatar
  • 488
1 vote
2 answers
98 views

How do I use this bandpass filter? [closed]

I found this free DSP book by Rutgers University professor Sophocles J. Orfanidis. The book is called Introduction to Signal Processing and the link contains many different implementations of common ...
yellow_watermelon's user avatar
3 votes
1 answer
384 views

pocketfft delivers wrong values

does anyone understand how to use the pocketfft by martin reinecke? Link: https://gitlab.mpcdf.mpg.de/mtr/pocketfft Basically it's just this snipped of code: ...
jp21's user avatar
  • 31
1 vote
1 answer
169 views

increasing fft size on an embedded implementation

Say I have nRF52840 with 1 MB flash and cortex m4. Assume that I have a vector of $10^5$ int16 samples on which I would like to implement an RFFT. Now, Cimsis-DSP has an implementation for real fft, ...
Gideon Genadi Kogan's user avatar
0 votes
1 answer
89 views

What ADC precision and sampling rate for record sound?

What ADC precision and sampling rate would you choose and why if You wish to record sound that has frequency components are 200 to 2000 Hz. And the signal-to-noise ratio of your microphone is 50 dB?
Rowaida's user avatar
  • 11
1 vote
1 answer
255 views

How to apply hann window to unsigned integer ADC

I am using Arm-Cortex M3 Microcontroller and CMSIS for FFT, my microcontroller does not support floating point unit therefore I have to use fixed point (Q15 or Q31) for calculation. Before calculate ...
lojos's user avatar
  • 13
4 votes
1 answer
289 views

STM32F7 Discovery board vs dsp kit tms320c6713 vs Rasberry Pi?

We want to design dsp kit Labs for our undergraduate students for following tasks/topics. 1)Sampling and Quantization of real time Audio Signals on DSP Kit ; analyze the effect of Aliasing and ...
jojo's user avatar
  • 83
1 vote
2 answers
529 views

best way to converting data from uint16_t to q15 for least saturation error

Q15 standard is fixed point fraction from -1 to 1 represented by 15 bit, and uint16 is numbers from 0 to 2¹⁶. I have data range from 0 to 2¹², I can directly cast them to Q15 and all the data will ...
mohammadsdtmnd's user avatar
1 vote
0 answers
54 views

Sparse Fourier Transform for Sparse Pulse Trains

So I have signals for the form: $$x_{k}(t) = \sum_{n=0}^{N} a_{k,n} \cdot \delta(t - nT_k)$$ that I receive as a superposition: $$x(t) = \sum_{k=0}^{K} \sum_{n=0}^{N} a_{k,n} \cdot \delta(t - nT_k)$$ ...
The Dude's user avatar
  • 632
0 votes
1 answer
83 views

Composing digital filters

I'm interested in composing filters for realtime audio processing on an microcontroller (MCU). Ideal frequency response is unity as a default, with deviations up and down at specific freq-domain ...
Turtles Are Cute's user avatar
1 vote
1 answer
434 views

IIR design: SciPy CMSIS-DSP coefficient format

How do you reconcile Scipy.signal's IIR design with CMSIS-DISP's API? Scipy.signal outputs in one of 3 forms: Numerator/denominator Pole Zero Second-Order-Sections. CMSIS requires an array of length ...
Turtles Are Cute's user avatar
0 votes
0 answers
25 views

Is the discrete or continuous-time state-space model most appropriate for implementing an embedded Kalman filter? [duplicate]

I'm writing down a state-space model of a mathematical pendulum, in order to estimate the system parameters in an embedded simple Kalman filter. So far I'm just modeling the system in Matlab and haven'...
Anna's user avatar
  • 357
2 votes
2 answers
2k views

Calculate amplitude in dB and dBA from audio signal

Progress I'm a product developer so kind of light on DSP inner workings. I have captured an audio signal - 1024 samples at a time. What I want to know is the amplitude of the wave in dB, and in dBA. ...
monkey's user avatar
  • 123
4 votes
1 answer
202 views

Recommendations for learning and getting hands-on Real Time Signal processing

I know this is not a technical question, but wanted to get some opinion on how to get some hands-on experience on embedded DSP / real-time signal processing I am comfortable with DSP and wireless ...
Saira's user avatar
  • 94
2 votes
2 answers
2k views

DIY DSP projects ideas

I have a Masters Degree in DSP but all I learnt there is theory. I would like to complete some projects at home which I can add in my resume to showcase my skills and to get jobs in industry. But I ...
Anudocs's user avatar
  • 129
0 votes
2 answers
146 views

Hardware kits for DSP Lab?

I have been assigned responsibility as Lab instructor of DSP at undergrad Level and so i have to equip my lab,please recommend which processors should i purchase for hardware implementation of dsp ...
Matlab_lover's user avatar
2 votes
3 answers
392 views

Confusion understanding digital signal processor?

I am reading wikipedia article about digital signal processor and as shown in end of attached snapshot ." Most general-purpose microprocessors can also execute digital signal processing ...
DSP_CS's user avatar
  • 1,850
0 votes
1 answer
624 views

general purpose microprocessor vs DSP(digital signal processor)?

I know that DSPs are specialized processors but i want to know what will happen if DSPs are replaced by general purpose processor in their applications? I know one application,mobile phone,will that ...
DSP_CS's user avatar
  • 1,850
1 vote
1 answer
340 views

simulator for dsp kit tms320c6713?without using actual hardware kit tms320c6713?

As you know, most universities across the globe are closed due to pandemic and people are unable to acess research facilites ,so in such a scenario one wants to improve his dsp hardware programming ...
DSP_CS's user avatar
  • 1,850
1 vote
0 answers
73 views

Hilbert Transform on split datastream produces phase flip

this is my first post here! I'm trying to do phase correction on a signal from a linear CCD (2048 pixels, 10bit per pixel, 250kHz linerate) in an FPGA. Therfore I need to generate an analytical ...
Konstantin Werner's user avatar
0 votes
1 answer
2k views

How to generate IQ samples of a signal?

I am using a HW with LMS7002 RF transceiver chip. This chip takes IQ values as an input. 1. Can anyone point me to a sample IQ value generator? That I can use to test. 2. What will be the IQ values ...
tue2017's user avatar
  • 11
0 votes
0 answers
30 views

Understanding shift in Q values?

Can any one help me understand why there is a shift in Q values? It seems there is a DC offset/bias. How do I remove it or set it accordingly to make it equal to the I values/waveform? I am using a ...
tue2017's user avatar
  • 11
1 vote
2 answers
99 views

Neural networks in system identification - What type of activation functions?

I made a free software for all operative systems, even Android. It's called Deeplearning2C. It can train a neural network and generate C code and MATLAB-code. C-code for embedded systems and MATLAB-...
euraad's user avatar
  • 403
0 votes
1 answer
119 views

Sampling rate issue in microcontroller

I am using a 3-axis LIS2D12H accelerometer interfaced with NRF51832 through the SPI interface. The sensor has a sampling-rate from 1 Hz to ...
user11747319's user avatar
0 votes
1 answer
200 views

Can I implement a LP filter using DMA?

This questions seems to be a little strange but bear with me. I have an application that needs a digital filter to be implemented in a microcontroller. What I want to do I want to use the DMA to ...
morcillo's user avatar
  • 103
0 votes
1 answer
50 views

Confusion regarding a library of Digital Signal Controller

I'll be using a NXP DSC with 56800Ex core and my aim is to implement a Elliptic IIR Filter in it. The User Reference Manual of the 'General Digital Filters Library' (which is available here) has ...
Ritik Madan's user avatar
0 votes
1 answer
228 views

Time series forecasting on dsp embedded systems

I have a time series analysis algorithm that uses arima modeling and fits a model to the time series and gets the residual values. It is more of a statistical signal processing algorithm than a ...
Giselle's user avatar
1 vote
1 answer
152 views

Implementation of IIR Filter in dsPIC 33EP - Q15

I am implementing an IIR controller in dsPIC 33EP (16-bit, fixed-point, two's complement, wrap-around, 40-bit accumulator, 32-bit multiply, 12-bit ADC) and I am using cascaded, Direct Form I second ...
Ben's user avatar
  • 33
2 votes
1 answer
372 views

Implementation of IIR Filter in dsPIC 33EP - Scaling

I have to implement an IIR controller in dsPIC 33EP (16-bit, fixed-point, two's complement, wrap-around, 40-bit accumulator, 32-bit multiply, 12-bit ADC) and I am using cascaded, Direct Form I second ...
Ben's user avatar
  • 33
2 votes
1 answer
218 views

Orthogonal signal generator using integer arithmetic

I have a problem with implementing an orthogonal signal generator (OSG) algorithm on a microcontroller using integer arithmetic. I use this algorithm for a single-phase phase-locked loop (PLL) ...
Marko Gulin's user avatar
0 votes
1 answer
667 views

Doing audio processing with DFT on a microcontroller

I have written an audio processing application in C++ which runs on a desktop windows computer. My next step is to implement this on an embedded system using a microcontroller, preferably arm-based. ...
Engineer999's user avatar
0 votes
1 answer
364 views

Long burst of high amplitude noise removal

I have a setup with an embedded DSPIC. This is used to link multiple audio inputs to the outputs and changed between them either when told to, or when one is active. This changing takes place on a ...
user1571959's user avatar
2 votes
2 answers
1k views

Recommendations for DSP Hardware

I'm trying to figure out what a good DSP unit would be to try and learn how to do some embedded programming on? I would like something relatively inexpensive but that still has a decent amount of "...
Alex Zywicki's user avatar
0 votes
2 answers
437 views

Why do we follow Shannon's Theorem in audio sampling?

My professor told me that in sampling a signal, is not usual to respect the Shannon theorem because the interpolation formula contains sines and fractions which are difficult to calculate with a ...
fortea's user avatar
  • 103
1 vote
1 answer
767 views

Comparing two sound files in embedded-systems (C language)

what would be the most efficient ("cheap" in terms of system resources etc.) way to compare 2 sound files? Here is the scenario. Sound A comes as an input. There is sound B stored in memory. We need ...
Stpn's user avatar
  • 113
8 votes
1 answer
619 views

Which digital modulation scheme would be suitable for transmitting digital data through the output of a PC soundcard

I need to output a data stream at $40\textrm{ kbit/s}$ or faster out of a computer system whose only accessible output peripheral is the audio interface. This interface has reasonable specs, $96\...
pichenettes's user avatar
  • 19.4k