<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Need help for the PCF8583 (I²C chip)</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/15390/need-help-for-the-pcf8583-i2c-chip</link><description> I write a simulation for this chip in the &amp;#181;Vision2 simulation. Unfortunatly the Philips documentation for this chip is not complete. Philips also can not help me. 
I have some questions for the event-counter mode. Has anybody experience in this mode</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Need help for the PCF8583 (I²C chip)</title><link>https://community.arm.com/thread/137636?ContentTypeID=1</link><pubDate>Sat, 02 Nov 2002 02:30:30 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7fa55074-3b09-4251-a3f2-48f9c343319f</guid><dc:creator>Michael Baldischweiler</dc:creator><description>&lt;p&gt;Hi Mark,&lt;br /&gt;
&lt;br /&gt;
thanks for your help. I write only simulation DLLs for the µVision2 simulator (see &lt;a href="http://www.c51.de/c51.de/Dateien/uVision2DLLs.php3?Spr=EN)" target="_blank"&gt;http://www.c51.de/c51.de/Dateien/uVision2DLLs.php3?Spr=EN)&lt;/a&gt;. &lt;br /&gt;
I don&amp;#39;t have hardware for this functionality (signal generator, ...). &lt;br /&gt;
Do you have an example for me to test my simulation (PCF8583 event-counter) or can you test my DLL ??&lt;br /&gt;
&lt;br /&gt;
Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help for the PCF8583 (I²C chip)</title><link>https://community.arm.com/thread/134115?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2002 14:38:10 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0a78c99f-6677-4953-96f9-681aa0a8cb98</guid><dc:creator>Mark H</dc:creator><description>&lt;p&gt;Hi Michael,&lt;br /&gt;
&lt;br /&gt;
The event counter stores up to 6 digits of data which are stored as 6 hexadecimal values located in locations 1,2 and 3. thus upto 1 million events may be recorded (this is in section 7.8). For this to be true, the number MUST be in BCD format.&lt;br /&gt;
I dont think you can use the alarm timer or timer in event count mode because the &amp;#39;alarm&amp;#39; registers are used as the event counter alarm match and the timer register can be used to generate interrupts every 1, 100, 10000 or 1000000 events.&lt;br /&gt;
&lt;br /&gt;
Hope this helps,&lt;br /&gt;
Mark.&lt;br /&gt;
&lt;br /&gt;
P.S. Can you not try it on &amp;#39;real&amp;#39; H/W?&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help for the PCF8583 (I²C chip)</title><link>https://community.arm.com/thread/121854?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2002 02:50:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dd943112-661d-468d-9c23-77fdc2e5b2de</guid><dc:creator>Michael Baldischweiler</dc:creator><description>&lt;p&gt;Hi Mark,&lt;br /&gt;
&lt;br /&gt;
you will also find in chapter 7.4 (Philips PCF8583 docu) the following information: &lt;b&gt; In the event-counter mode events are stored in BCD format &lt;/b&gt;. What is correct ??. &lt;br /&gt;
You find in table 1 the cycle length from the clock mode. What is the cycle length in the counter mode (store in BCD format) ??&lt;br /&gt;
Is it allowed to use the timer and the alarm timer in the event-counter mode ?? I found no information about this point ?? How does this timer counts ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help for the PCF8583 (I²C chip)</title><link>https://community.arm.com/thread/110141?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2002 17:58:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3db4ae60-2673-490b-8780-263185084766</guid><dc:creator>Mark H</dc:creator><description>&lt;p&gt;Hi Michael,&lt;br /&gt;
&lt;br /&gt;
I havent used the PCF8583 as an event counter but I am currently using it as a RTC, but this is from the data sheet PCF8583_5.pdf available from the Philips web site.&lt;br /&gt;
&lt;br /&gt;
7.8 Event counter mode&lt;br /&gt;
Event counter mode is selected by bits 4 and 5 which are&lt;br /&gt;
logic 1, 0 in the control/status register. The event counter&lt;br /&gt;
mode is used to count pulses externally applied to the&lt;br /&gt;
oscillator input (OSCO left open-circuit).&lt;br /&gt;
&lt;br /&gt;
The event counter stores up to 6 digits of data, which are&lt;br /&gt;
stored as 6 hexadecimal values located in locations 1, 2,&lt;br /&gt;
and 3. Thus, up to 1 million events may be recorded.&lt;br /&gt;
An event counter alarm occurs when the event counter&lt;br /&gt;
registers match the value programmed in locations 9, A,&lt;br /&gt;
and B, and the event alarm is enabled (bits 4 and 5 which&lt;br /&gt;
are logic 0, 1 in the alarm control register). In this event,&lt;br /&gt;
the alarm flag (bit 1 of the control/status register) is set.&lt;br /&gt;
The inverted value of this flag can be transferred to the&lt;br /&gt;
interrupt pin (pin 7) by setting the alarm interrupt enable in&lt;br /&gt;
the alarm control register. In this mode, the timer&lt;br /&gt;
(location 07) increments once for every one, one-hundred,&lt;br /&gt;
ten thousand, or 1 million events, depending on the value&lt;br /&gt;
programmed in bits 0, 1 and 2 of the alarm control register.&lt;br /&gt;
In all other events, the timer functions are as in the clock&lt;br /&gt;
mode.&lt;br /&gt;
&lt;br /&gt;
Hopefully if you d/l the pdf you should be able to find all the info you need on how to use this chip.&lt;br /&gt;
Mark.&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help for the PCF8583 (I²C chip)</title><link>https://community.arm.com/thread/84337?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2002 12:19:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a4a0f48a-eafb-4d32-a37d-6c4691784c15</guid><dc:creator>Geert Vancompernolle</dc:creator><description>&lt;p&gt;Michael,&lt;br /&gt;
&lt;br /&gt;
Can you send your questions to me?  I&amp;#39;ll try to get this information for you directly via Philips.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
Geert&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help for the PCF8583 (I²C chip)</title><link>https://community.arm.com/thread/54773?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2002 11:35:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e9a07a02-9410-4d4e-a6de-6547bbbbf527</guid><dc:creator>Michael Baldischweiler</dc:creator><description>&lt;p&gt;I checked this Appnotes, but no information about the event-counter mode are included.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help for the PCF8583 (I²C chip)</title><link>https://community.arm.com/thread/39337?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2002 11:18:39 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0db7fe48-e382-4ed0-b95e-b213c1c11d35</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;check the Philips appnotes 425, 911007, 95068 and 96119.  They all drive the PCF8583.&lt;br /&gt;
&lt;br /&gt;
A simple search on the Philips website ysing &amp;#39;PCF8583&amp;#39; will locate them for you.&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>