This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem in calculate time interval of plus!!!

Hello,

I am working on nRF52832 using SDK 15.3.0 in segger studio.

In my application I am calculate time interval of plus, In which i am given plus to the board pin no p0.02.

In my program I take this pin as interrupt pin, when first falling edge detect at that time I start timer of 1 millisecond and then second falling edge detect at that time I calculate time duration using count which is incremented every 1 millisecond.

My problem is when ever I use i2c peripheral for read other sensor value for that process MCU take 0.5second at that time I am not getting correct time duration of plus.

So, give some suggestion for another way to calculate time interval of plus.

Regards,

Urvisha Andani

Parents Reply Children
No Data
Related