<?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>i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/27627/i-cant-able-to-communicate-with-ds1307-and-89v51rd2fbc-can-any-one-help-me</link><description> 
void main(void)
{
 unsigned char sec, min, hour, date, month, year;
 Sys_Init();
 watch_dog();
 DS1307_init();
 //DS1307_settime(0x67,0x45,0x00); /* Set Time (hh:mm:ss) */
 //DS1307_setdate(0x03,0x08,0x06); /* Set Date (dd/mm/yy) */
 while (1)
 {
 watch_dog</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/150812?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2011 23:10:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fcaabffd-0a00-473a-8929-ed0f8b1fb676</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Before you expect more help, how about contributing?&lt;/p&gt;

&lt;p&gt;

&lt;a href="http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/now-help-others.html"&gt;homepage.ntlworld.com/.../now-help-others.html&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/145187?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2011 21:55:09 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c396840d-d049-4d6d-bbf5-7a8deb38e698</guid><dc:creator>Scripture k</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;a href="http://www.keil.com/forum/19535/"&gt;http://www.keil.com/forum/19535/&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/142988?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2011 03:45:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7fad6838-9cbc-497a-9477-00107a23ab08</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
What pin?&lt;/p&gt;

&lt;p&gt;
What was the problem?&lt;/p&gt;

&lt;p&gt;
Please share for the benefit of others who might have the same
problem...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/140054?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2011 03:37:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e33c48d2-edbf-464d-b051-8e5ba57be89f</guid><dc:creator>pradee kumar</dc:creator><description>&lt;p&gt;&lt;p&gt;
thank u sir.there is one problem with the pin in hardware i got
the output thank u..........&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/136599?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2011 01:22:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fd0bb0af-2e19-4f85-addc-95b0eeef92dd</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
You really, &lt;i&gt;really&lt;/i&gt; need a &lt;b&gt;strategy&lt;/b&gt; when
debugging;&lt;br /&gt;
again, see: &lt;a href="http://www.8052.com/faqs/120313"&gt;www.8052.com/.../120313&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;It sounds like you have made some random tests and then
instantly jumped to this forum&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Indeed.&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;Please list the tests you have done, and give a good
description of the outcome of these tests&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
And also describe &lt;b&gt;&lt;i&gt;your&lt;/i&gt; conclusions&lt;/b&gt; from those
outcomes;&lt;br /&gt;
ie, what do you think the test results are telling you? Andy why do
you think that?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;have you double-checked your code&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
I think you are jumping to a conclusion that it&amp;#39;s the code.&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Why&lt;/b&gt; do you think it&amp;#39;s the code?&lt;/p&gt;

&lt;p&gt;
What have you done to rule-out the possibility that it&amp;#39;s a
&lt;b&gt;hardware&lt;/b&gt; issue?&lt;/p&gt;

&lt;p&gt;
The code can&amp;#39;t work if the underlying hardware isn&amp;#39;t working - so
you really need to &lt;b&gt;rule out hardware issues &lt;i&gt;first&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/145189?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2011 01:16:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7a2af5bf-91fd-4688-91b0-0f11a9969d2c</guid><dc:creator>pradee kumar</dc:creator><description>&lt;p&gt;&lt;p&gt;
the CH bit must be 0 to set the osc.i have made that as shown in
the code below.is there any correction in it.&lt;br /&gt;
DS1307_ID=0xD0;&lt;/p&gt;

&lt;p&gt;
I2C_start(); I2C_write(DS1307_ID); I2C_write(0x00);
I2C_write(0x00); I2C_stop();&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/127088?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2011 00:56:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:af7ce65d-4c2a-4b48-ba1b-7a5003b3588b</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
No. It really does not sound like you have made a checklist, and
then walked through that checklist item-by-item.&lt;/p&gt;

&lt;p&gt;
It sounds like you have made some random tests and then instantly
jumped to this forum.&lt;/p&gt;

&lt;p&gt;
Please list the tests you have done, and give a good description
of the outcome of these tests.&lt;/p&gt;

&lt;p&gt;
By the way - what equipment do you have access to?&lt;/p&gt;

&lt;p&gt;
And - as Andy notes - have you double-checked your code against
datasheet and application notes?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/142987?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2011 00:54:39 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:40fcbc35-a18b-48b4-ad27-110394fa9de7</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
So have you checked the &lt;b&gt;Datasheet&lt;/b&gt;?&lt;/p&gt;

&lt;p&gt;
Have you checked the &lt;b&gt;Maxim&lt;/b&gt; website for further guidance,
Appliication Notes, etc?&lt;br /&gt;
(there is one Application Note specifically mentioned in the
Datatsheet - have you read it?)&lt;/p&gt;

&lt;p&gt;
Have you followed all the &lt;b&gt;hardware&lt;/b&gt; design guidelines?&lt;br /&gt;
(that Application Note again).&lt;/p&gt;

&lt;p&gt;
What &lt;b&gt;software&lt;/b&gt; options control the oscillator?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/140055?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2011 00:44:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:89211092-a4df-4c76-88b4-71d2a598b2e1</guid><dc:creator>pradee kumar</dc:creator><description>&lt;p&gt;&lt;p&gt;
i tested with cro i does not got the osc in pin2.i getting the
return value as F after reading from the rct.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/136598?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2011 00:12:38 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:be7e7c04-14b4-41c6-a263-8514d1a686ba</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
What capacitor?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/127086?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2011 00:06:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:85d1c463-4054-43ea-99eb-78d4a2f7401f</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
How did you test/measure that?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/119461?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2011 00:00:00 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:25ef666d-fddf-4a1c-b36a-fec18b1f992f</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;i think so&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Why do you think so?&lt;/p&gt;

&lt;p&gt;
What does the DS1307 &lt;b&gt;Datasheet&lt;/b&gt; tell you about software
control of the oscillator?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;in my program the DS1307 is initialized&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
But is it initialised &lt;i&gt;&lt;b&gt;correctly&lt;/b&gt;&lt;/i&gt;?&lt;br /&gt;
Again, what does the DS1307 &lt;b&gt;Datasheet&lt;/b&gt; tell you?&lt;/p&gt;

&lt;p&gt;
Have you looked at examples, application notes, etc, from the chip
manufacturer (Maxim)...?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/116497?ContentTypeID=1</link><pubDate>Sun, 11 Sep 2011 23:31:55 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8c129399-b260-45f7-a0e4-b29a1994fdd2</guid><dc:creator>pradee kumar</dc:creator><description>&lt;p&gt;&lt;p&gt;
i have tested the hard ware connection it is correct.i am getting
the clock in SCL_1 pin and some data signal in SDA_1 pin.but in the
DS1307 pin 2 i am getting only 1.44volt there is no oscillation in
that pin...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/105257?ContentTypeID=1</link><pubDate>Sun, 11 Sep 2011 23:25:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:77d98028-b1ae-4f07-ba39-3e3479d23cc0</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
So - what have you done to debug?&lt;/p&gt;

&lt;p&gt;
Checked that everything is correctly connected?&lt;/p&gt;

&lt;p&gt;
Checked signals?&lt;/p&gt;

&lt;p&gt;
Correct speed?&lt;/p&gt;

&lt;p&gt;
Correct levels?&lt;/p&gt;

&lt;p&gt;
Tried to look at a snapshot to see if the communication at least
starts as expected?&lt;/p&gt;

&lt;p&gt;
Tested what parts of your code that gets executed - what does your
software thinks happens?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/105271?ContentTypeID=1</link><pubDate>Sun, 11 Sep 2011 23:22:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6b0c03ee-2b0a-423f-b8ce-1c04956e9203</guid><dc:creator>pradee kumar</dc:creator><description>&lt;p&gt;&lt;p&gt;
i think so...in my program the DS1307 is initialized....but the
osc is not working....&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/79572?ContentTypeID=1</link><pubDate>Sun, 11 Sep 2011 23:20:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:80f37d8d-07d4-4743-9bf5-1bed708e2dc8</guid><dc:creator>pradee kumar</dc:creator><description>&lt;p&gt;&lt;p&gt;
i am pradeep,i am using 89v51rd2 to display the time and date to
UART.i interfaced DS1307with it.i am getting the output in uart as
0xFF.the osc in DS1307 is not oscillating but i initialized.can any
ony tell me what is the problem with the code..&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/91218?ContentTypeID=1</link><pubDate>Sun, 11 Sep 2011 23:19:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3f8f5b70-e15e-4a5d-b17e-5b941744470c</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Is that likely to be a software issue?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/59824?ContentTypeID=1</link><pubDate>Sun, 11 Sep 2011 23:10:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6d92197e-85e1-4e93-ad3b-93ca3522ca6b</guid><dc:creator>pradee kumar</dc:creator><description>&lt;p&gt;&lt;p&gt;
in my program the osc in DS1307 is not oscillating.i have changed
the crystal,rtc and changed capacitor fron 12pf to 15pf.....please
can any one help me this is the code....&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i cant able to communicate with DS1307 and 89v51rd2fbc.can any one help me</title><link>https://community.arm.com/thread/66908?ContentTypeID=1</link><pubDate>Sun, 11 Sep 2011 23:06:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:70e2ab29-f94e-4577-b45a-281d2968b1d7</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;a href="http://www.8052.com/faqs/120313"&gt;www.8052.com/.../120313&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.catb.org/~esr/faqs/smart-questions.html#beprecise"&gt;www.catb.org/.../smart-questions.html&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>