Posted on April 04, 2014 at 13:03Hey, Does anybody know a DSP-Function for a medianfilter? with filterlength of 5 points. At the moment I have written the filter with for-loops, and it is too slow for my application. Thank you, Michael #m
Posted on January 27, 2014 at 11:46Hey at all, First of all I want to say that my english isn't the best. I have got a new project to do it on a STM32F405 controller. I must measure two frequencies: 1. f1 = 13 to 16MHz 2. f2 = 10 to 13MHz my plan to...
Posted on February 10, 2014 at 13:26hey, I came to the result, that it isn't possible to disable the MasterMode via ''TIM_SelectMasterSlaveMode(TIMx, TIM_MasterSlaveMode_Disable)'' in an interrupt routine. At the moment I use TIM_DeInit and configur...
Posted on February 07, 2014 at 12:22
static void TIM2_Time_Base(void)
{
static unsigned short frequency = 0, PSC = 0;
static unsigned long ARR = 0;
// calculate ARR and PSC by given frequency
frequency = 10000; // 1kHz
PSC = 0;
ARR = (84000000 / ...
Posted on February 07, 2014 at 12:17I don't want to be interrupted every 0.1ms. But if the frequency increases it is okay if the program is interrupted! the frequency increases only about for max. 100ms. after this time i have to make some calculat...
Posted on February 07, 2014 at 10:34hey... my problem is: the master timer resets the slave timer every update event. And I want to read the counter value from the slave timer every update event of the master timer. But the slave counter value is 0...
Posted on February 05, 2014 at 11:48At the moment I can count the external pulses. And calculate the Frequency of the external Signal. But I do this at the moment with Interrupts of my TimeBase generator. And thats happens every 100µs. :\ What I wan...