<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>ColdFire/68K Microcontrollers and ProcessorsのトピックHandle rtc chip on i2c bus</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Handle-rtc-chip-on-i2c-bus/m-p/130945#M815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported&amp;nbsp;from the WildRice - Coldfire forum.&amp;nbsp; Freescale has received the approval from the WildRice administrator on seeding the Freescale forum with messages.&amp;nbsp; The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value as you search for answers to your questions.&amp;nbsp; Freescale assumes no responsibility whatsoever with respect to Posted Material.&amp;nbsp; For additional information, please see the&lt;/SPAN&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fabstract%2Fhelp_page%2FTERMSOFUSE.html" rel="nofollow" target="_blank"&gt;&lt;SPAN style=": ; color: #000000;"&gt;Terms of Use - Message Boards and Community Forums&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style=";"&gt;.&amp;nbsp; Thank You and Enjoy the Forum!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;HR /&gt;&lt;BR /&gt;Dec 6, 2005, 3:30 PM&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Post #1 of 2 (42 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;[ColdFire] Handle rtc chip on i2c bus&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Hi:&lt;BR /&gt;For 5475 EVB board, there is a rv5c387 rtc chip. In rv5c387-rtc.c, the&lt;BR /&gt;"init" function calls "i2c_add_driver" to add an i2c driver and&lt;BR /&gt;"misc_register" to add a misc driver.&lt;/DIV&gt;&lt;DIV&gt;When I open the misc driver to read/write to the rtc chip, the read/write&lt;BR /&gt;functions returns error. I am confused here because there are 2 drivers for&lt;BR /&gt;1 rtc chip. Which driver should I open to access the chip?&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Shiyuan&lt;BR /&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Dec 6, 2005, 5:15 PM&lt;/DIV&gt;&lt;DIV&gt;Post #2 of 2 (42 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] Handle rtc chip on i2c bus [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;gt;Hi:&lt;BR /&gt;&amp;gt;For 5475 EVB board, there is a rv5c387 rtc chip. In rv5c387-rtc.c, the&lt;BR /&gt;&amp;gt;"init" function calls "i2c_add_driver" to add an i2c driver and&lt;BR /&gt;&amp;gt;"misc_register" to add a misc driver.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;When I open the misc driver to read/write to the rtc chip, the read/write&lt;BR /&gt;&amp;gt;functions returns error. I am confused here because there are 2 drivers for&lt;BR /&gt;&amp;gt;1 rtc chip. Which driver should I open to access the chip?&lt;/DIV&gt;&lt;DIV&gt;Logic's BSP already has support for the RTC on the eval board, using&lt;BR /&gt;the I2C driver. It supplies a /dev/rtc driver for other&lt;BR /&gt;utilities(such as hwclock) to access the rtc.&lt;/DIV&gt;&lt;DIV&gt;--&lt;BR /&gt;Peter Barada&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-03-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:56 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-04-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:13 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Apr 2006 07:34:20 GMT</pubDate>
    <dc:creator>Dietrich</dc:creator>
    <dc:date>2006-04-01T07:34:20Z</dc:date>
    <item>
      <title>Handle rtc chip on i2c bus</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Handle-rtc-chip-on-i2c-bus/m-p/130945#M815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported&amp;nbsp;from the WildRice - Coldfire forum.&amp;nbsp; Freescale has received the approval from the WildRice administrator on seeding the Freescale forum with messages.&amp;nbsp; The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value as you search for answers to your questions.&amp;nbsp; Freescale assumes no responsibility whatsoever with respect to Posted Material.&amp;nbsp; For additional information, please see the&lt;/SPAN&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fabstract%2Fhelp_page%2FTERMSOFUSE.html" rel="nofollow" target="_blank"&gt;&lt;SPAN style=": ; color: #000000;"&gt;Terms of Use - Message Boards and Community Forums&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style=";"&gt;.&amp;nbsp; Thank You and Enjoy the Forum!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;HR /&gt;&lt;BR /&gt;Dec 6, 2005, 3:30 PM&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Post #1 of 2 (42 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;[ColdFire] Handle rtc chip on i2c bus&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Hi:&lt;BR /&gt;For 5475 EVB board, there is a rv5c387 rtc chip. In rv5c387-rtc.c, the&lt;BR /&gt;"init" function calls "i2c_add_driver" to add an i2c driver and&lt;BR /&gt;"misc_register" to add a misc driver.&lt;/DIV&gt;&lt;DIV&gt;When I open the misc driver to read/write to the rtc chip, the read/write&lt;BR /&gt;functions returns error. I am confused here because there are 2 drivers for&lt;BR /&gt;1 rtc chip. Which driver should I open to access the chip?&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Shiyuan&lt;BR /&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Dec 6, 2005, 5:15 PM&lt;/DIV&gt;&lt;DIV&gt;Post #2 of 2 (42 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] Handle rtc chip on i2c bus [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;gt;Hi:&lt;BR /&gt;&amp;gt;For 5475 EVB board, there is a rv5c387 rtc chip. In rv5c387-rtc.c, the&lt;BR /&gt;&amp;gt;"init" function calls "i2c_add_driver" to add an i2c driver and&lt;BR /&gt;&amp;gt;"misc_register" to add a misc driver.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;When I open the misc driver to read/write to the rtc chip, the read/write&lt;BR /&gt;&amp;gt;functions returns error. I am confused here because there are 2 drivers for&lt;BR /&gt;&amp;gt;1 rtc chip. Which driver should I open to access the chip?&lt;/DIV&gt;&lt;DIV&gt;Logic's BSP already has support for the RTC on the eval board, using&lt;BR /&gt;the I2C driver. It supplies a /dev/rtc driver for other&lt;BR /&gt;utilities(such as hwclock) to access the rtc.&lt;/DIV&gt;&lt;DIV&gt;--&lt;BR /&gt;Peter Barada&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-03-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:56 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-04-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:13 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Apr 2006 07:34:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Handle-rtc-chip-on-i2c-bus/m-p/130945#M815</guid>
      <dc:creator>Dietrich</dc:creator>
      <dc:date>2006-04-01T07:34:20Z</dc:date>
    </item>
  </channel>
</rss>

