Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
ADSP-21369 SPORT problem
Hello!
I have got a problem with serial port of ADSP-21369. I'm trying to send data with DMA via SPORT interface and except of my data there some extra bit, which I don't need.
This is my configuration of SPORT:
static void InitSPORT (void)
{
unsigned CLKDIV =...
No, unfortunately I don't have any ways to cheat and I need to get new measure every 50 ms.
The final result is the same as I've got it using CCP unit of timer. FFT could be better in this issue, but I think only for signals with very low SNR.
Thank you for your help!
Ok, thank you! I will try to do it.
Yes, I am. I'm not good in electronics and there are some problems for me with that signal (at some moments amplitude excursion of signal is very high), so I tried to do it with square wave.. :-)
I think that one of the best books for DSP beginners is "The Scientist and Engineer's Guide to Digital Signal Processing" by Steven W. Smith, Ph.D. as mentioned Mohammed_Verification.
Ok, I have gone another way and done these steps with a square wave:
1. Reduce the sampling frequency to 21.3 kHz, so it gives 1067 samples on 50 ms cycle
2. Pad it with zeroes to 2048 samples and take an FFT
3. Calc the frequency with parabolic interpolation
So, now I have 0.213 Hz standard...
The main problem is time for measuring period of signal. I have only 50 ms to do it and this measurement results in about only 100 measured periods(integer values) in output array. Input signal is noisy. Smoothing this array with moving average and than getting average of the whole array gives...
Hello!
I am working around a project, in which I have to measure a frequency of the signal coming to STM32 microprocessor. The frequency is about 2210 Hz.
I have done it by measuring period of square wave (sine wave passed through comparator) with Timer and then I have tried to appoximate it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.