<?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>routines for LPC &amp;amp; I2C</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/15630/routines-for-lpc-i2c</link><description> Does anyone know where 
I can get working I2C routines 
for Philips LPC in Keil C ? 
The version from Keil&amp;#39;s site 
does not read data correctly. 
I can not get it to work. 
Thanx in advance. </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: routines for LPC &amp; I2C</title><link>https://community.arm.com/thread/121612?ContentTypeID=1</link><pubDate>Thu, 26 Jun 2003 21:06:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a5214ce2-32f9-4927-9756-e68fb3ec8e2a</guid><dc:creator>Bauke Siderius</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
Thanks for the info, looks like a nice product.&lt;br /&gt;
&lt;br /&gt;
You are right that the bitwise and bytewise I2C implementation are incompatible.&lt;br /&gt;
&lt;br /&gt;
Just a little comment.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;problem with I2C bitwise&lt;br /&gt;
hardware is speed, it can&lt;br /&gt;
never reach speeds up&lt;br /&gt;
to 400 kB/sec.&lt;br /&gt;
So master must be able to&lt;br /&gt;
detect a slave&amp;#39;s clock-&lt;br /&gt;
stretch. Not all masters&lt;br /&gt;
can do this.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bitwise I2C does require a lot more CPU power. But if an I2C master does not allow a slave to stretch the clock then it does not truely comply to the I2C spec.&lt;br /&gt;
&lt;br /&gt;
The bytewise has lower overhead for the CPU, also the LPC9xx core is a 2 clk core and more powerfull.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
Bauke&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: routines for LPC &amp; I2C</title><link>https://community.arm.com/thread/109825?ContentTypeID=1</link><pubDate>Fri, 13 Jun 2003 08:16:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5f1ab8fc-7a64-4ecc-902e-26f9ca54cd72</guid><dc:creator>geert starre</dc:creator><description>&lt;p&gt;Yes Bauke, this is for 900 series,&lt;br /&gt;
900 series has bytewise i2c,&lt;br /&gt;
87LPC76x has bitwise i2c hardware&lt;br /&gt;
so they are incompatible.&lt;br /&gt;
&lt;br /&gt;
I posted the question long&lt;br /&gt;
time ago (2001). Now the project&lt;br /&gt;
is completed, I made it available&lt;br /&gt;
for anyone on my site.&lt;br /&gt;
( it&amp;#39;s in zip and documented as pdf)&lt;br /&gt;
&lt;br /&gt;
name of project:&lt;br /&gt;
I2C - LCD driver for TXT displays&lt;br /&gt;
Control a std LCD module ( based on HD44780 ) with a 20 pins microcontroller using I2C&lt;br /&gt;
&lt;br /&gt;
url:&lt;br /&gt;
&lt;a href="http://www.microllix.nl/main.html" target="_blank"&gt;http://www.microllix.nl/main.html&lt;/a&gt;&lt;br /&gt;
use link online info&lt;br /&gt;
&lt;br /&gt;
problem with I2C bitwise&lt;br /&gt;
hardware is speed, it can&lt;br /&gt;
never reach speeds up&lt;br /&gt;
to 400 kB/sec.&lt;br /&gt;
So master must be able to&lt;br /&gt;
detect a slave&amp;#39;s clock-&lt;br /&gt;
stretch. Not all masters&lt;br /&gt;
can do this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: routines for LPC &amp; I2C</title><link>https://community.arm.com/thread/84104?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2003 11:00:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f2ef31c3-660c-49bf-b8f1-bee75ee09f2f</guid><dc:creator>Bauke Siderius</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
The Appnote for I2C routines in C for the LPC932 can be found at:&lt;br /&gt;
&lt;a href="http://www.semiconductors.philips.com/acrobat/applicationnotes/AN10155_1.pdf" target="_blank"&gt;http://www.semiconductors.philips.com/acrobat/applicationnotes/AN10155_1.pdf&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Bauke&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: routines for LPC &amp; I2C</title><link>https://community.arm.com/thread/53707?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2001 09:50:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8bd871e1-0a4e-4b7a-8697-5060f84edc5b</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;the path to the &amp;quot;general&amp;quot; IIC appnotes on the philips website is somewhat obscure, but here it is: &lt;a href="http://www-us.semiconductors.philips.com/i2c/support/#appnotes." target="_blank"&gt;http://www-us.semiconductors.philips.com/i2c/support/#appnotes.&lt;/a&gt;  You will find a plethora (I love that word) of routines there.&lt;br /&gt;
&lt;br /&gt;
Have fun,&lt;br /&gt;
&lt;br /&gt;
Erik&lt;br /&gt;
&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: routines for LPC &amp; I2C</title><link>https://community.arm.com/thread/37579?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2001 09:07:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dd5d31c6-9caf-4027-8801-72f560370663</guid><dc:creator>Daniel Stanciu</dc:creator><description>&lt;p&gt;Her you will find a UV2-Project that has each I2C-routines for LPC-Controller:&lt;br /&gt;
&lt;a href="http://www.c51.de/c51.de/Dateien/MEBA/87LPC762.zip" target="_blank"&gt;http://www.c51.de/c51.de/Dateien/MEBA/87LPC762.zip&lt;/a&gt;&lt;br /&gt;
(german site)&lt;br /&gt;
&lt;br /&gt;
Daniel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>