AnsweredAssumed Answered

Compensation for Flash Stalling on STM32F103

Question asked by elia.st on Apr 21, 2015
Latest reply on Apr 21, 2015 by Clive One
Hello Guys,

Working with multiple tasks in my project and one of the tasks measuring zero-crossings of power line mains with 5000 smaples/s and delivering detected zero-crossing to another task to be counted. I'have still other task doing other jobs. Some of the tasks are also writing also log data into flash which is also managed with some kind of wear-leveling algo.

The problem is that i'm losing some of the input signal's zero crossings (do not know how many exactly) while one or multiple flash pages are erased (flash stalling).

How should I workaround it? (hint: I have also RTC module that could be used to mease some elapsed time.) What do you think?

Any help is appreciated.


Outcomes