Posted on October 29, 2013 at 16:57I'm unsure on how to use the FIR interface. From the provided example: int a[N];/*filter output vector*/ short x[M+N-1] = {x0,x1...,xM+N-1};/*filter input vector*/ short h[M]={h0,h1...,hM-1};/*filter coefficients v...
Posted on October 18, 2013 at 10:21Say on my device, in DMA ch1 i can have 3 periphs, plus possibly mem2mem. If I installed an isr how do I check from which periph (or mem) it came from, by reading DMA_CPARx PA bits ? #dma
Posted on October 17, 2013 at 10:03I have about 2 - 3 channels which I need to sample differently , as in, say: ch1 : at 400 Hz, batch processing samples at 100, (possibly one more chan like that) ch2, 3: one sample every 100 is ok. The ADC sampl...
Posted on October 11, 2013 at 16:46For example i want to use TIM9_CC2 event trigger. I don't understand when does this event happens & triggers the ADC to start sampling. I thought one controls it with TIM9->CCR2 value, but thought wrong - unless i...
Posted on October 09, 2013 at 15:26Where can I download this ST library? Here is the doc describing it, but no link/url to where to get it ! http://users.ece.utexas.edu/~valvano/EE345M/UM0585.pdf
Posted on November 14, 2013 at 14:58Decided to share on using the STM's FIR in my project, vs the simplest (dumb) FIR implementation. (Still hope to improve on the use if the lib, and not sure using it best way...)///Performance (=cycles) of FI...
Posted on November 08, 2013 at 10:33If you commend out the f10xxx includes, then it also builds and runs on other models. I'm currently using it on stm32l15 device .
Posted on November 01, 2013 at 16:26answering myself, if using in continuous mode you have to shift delay line yourself, the lib doesnt do it :\ and i only saw now that the latest/newest sample has to go first in input array array, and same for ou...
Posted on October 23, 2013 at 16:08Turns out my asm 'skills' are even more absent than I thought.. (And basic understanding of C arrays too ... urgh :\ dumb ass on my part)