Joachim Päper

PCF8583 use as counter with Interrupt each 1, 100, 10.000 or 1.000.000 counter events

Discussion created by Joachim Päper on Feb 6, 2018
Latest reply on Feb 13, 2018 by David Diaz Marin



I want to use a PCF8583 only as pulse-counter. That works...

For each pulse the countervalue (01h-03h) increase as expected. It works to set a alarmvalue (09h-0Bh) and get a Interrupt on Pin 7 when the countervalue is the same as the alarmvalue.


But what I don't get working ist to use the timeralarm.

I understand that I must

- set bit 0-2 in 08h > 0

- set bit 3 and bit 6 in 08h to 1


But I don't get an Interrupt in this configuration...

Is it possible at all to get an interrupt each 1, 100, 10.000 or 1.000.000 pulses in the counter-mode?

Must something set in 07h (timer)?


Joachim Päper