# Questions tagged [embedded-systems]

The tag has no usage guidance.

32 questions
Filter by
Sorted by
Tagged with
51 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?
• 11
1 vote
98 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 ...
• 13
126 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 ...
• 53
1 vote
57 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 ...
1 vote
41 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)$$ ...
• 580
58 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 ...
1 vote
101 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 ...
24 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'...
• 357
616 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. ...
• 123
157 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 ...
• 134
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 ...
• 129
107 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 ...
292 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 ...
• 968
456 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 ...
• 861
1 vote
182 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 ...
• 861
1 vote
57 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 ...
1k 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 ...
• 11
23 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 ...
• 11
1 vote
73 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-...
• 389
76 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 ...
173 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 ...
• 103
48 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 ...
208 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 ...
1 vote
114 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 ...
• 33
335 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 ...
• 33
208 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) ...
• 163
593 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. ...
• 139
332 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 ...
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 "...
• 211
384 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 ...
• 103
1 vote
706 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 ...
• 113
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\...