Page 1 of 1

Pi counter random values?

Posted: 09 Sep 2021, 07:42
by toklobuc
Hello,

we are using RPi Core3+ to monitor our machine values - using input signals and pi counter.
The problem is the inputs get some random values every couple of shifts, so our data is not reliable. The power to the pi is constant and uninterruptable. The Pi also has its own electrical closet.
Recently I started logging the values and here are the results:
Image

So after normal operation until 21:40 everything was fine, but at 21:41 Counter_3 and Counter_4 got annomalius values. Why?

You can see it on my chart also, along with other input signals annomaly:
Image

Here is my pictory:
Image

Re: Pi counter random values?

Posted: 09 Sep 2021, 15:10
by RR4711
Are you running the latest Firmware on the DIO? And did you update to the latest Kernel / Buster Image?

Re: Pi counter random values?

Posted: 10 Sep 2021, 07:45
by toklobuc
I have made update, upgrade and dist-upgrade on Pi in 12/2020. Can you explain how to upgrade the firmware of DIO?

Re: Pi counter random values?

Posted: 10 Sep 2021, 09:10
by RR4711
Place it as the only module to the left of the RevPi and then

Code: Select all

$ sudo apt-get update

$ sudo apt-get install revpi-firmware

$ piTest -f