cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f4 timer based interrupt function execution

_kalpesh
Associate III

hey!
im working on data logging and want to store all data in text file
where i want to save date and time with the use of RTC clock and external interrupt based on timer with gap of 1 sec i have things configured correctly for the RTC which works fine 
but its logging duplicate entries 

how to solve this error or can you point me in the right direction?

4 REPLIES 4
TDK
Guru

> is this behaviour normal 

It is not normal behavior to store 2 entries when you only want 1.

Likely your code has a bug in it which causes this behavior. Debug your code to find the issue and fix it.

If you feel a post has answered your question, please click "Accept as Solution".
Pavel A.
Evangelist III

Hi,

Generally if something does not work as you want, yes you have to do some changes. If you can delegate the work to somebody else, this is also an option.

Here are tips how to ask a good question on a technical forum such as this one:

https://princetonuniversity.github.io/PUbootcamp/sessions/technical-questions/HowToAskQuestions2018Bootcamp.pdf

 

 

yes sir i have followed given link and will improve things from now on!
thank you for suggestions and 
if possible can you point me in the right direction for my question

Pavel A.
Evangelist III

Here is an opensource project that you can use as inspiration: https://github.com/d-ronin/openlager