<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>example for i2c and s132</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15922/example-for-i2c-and-s132</link><description>Hello everyone, 
 there is so much i2c code in the nrf52_bitfields.h (s132). 
 Is there any example for i2c and s132? 
 Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Aug 2016 07:23:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15922/example-for-i2c-and-s132" /><item><title>RE: example for i2c and s132</title><link>https://devzone.nordicsemi.com/thread/60745?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 07:23:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2b78e35-9cbb-49ba-8792-7967ebcf0b6f</guid><dc:creator>Nitram</dc:creator><description>&lt;p&gt;Thanks for help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: example for i2c and s132</title><link>https://devzone.nordicsemi.com/thread/60747?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 06:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ceff47dc-8b0f-4420-a526-3e2c6f4b203e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;You can add C++ files and libraries to your Keil project. However, I am not sure it will make your job easier. Remember that you must interface with the TWI master peripheral on the nRF, and this is most easily done using the TWI master driver. I think you will use more time trying to port an existing driver for the MCP9808 to the nRF rather than just making your own &amp;quot;library&amp;quot; based on the TWI master driver and the specific code needed to configure and read temperature from the sensor (you can always find inspiration from other existing libraries).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: example for i2c and s132</title><link>https://devzone.nordicsemi.com/thread/60744?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 06:23:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c8a042f-d1d0-407d-ae41-7736f4f1a6fe</guid><dc:creator>Nitram</dc:creator><description>&lt;p&gt;Is it possible to add a c++ library (i2c mcp9808) in Keil?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: example for i2c and s132</title><link>https://devzone.nordicsemi.com/thread/60746?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 12:24:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d5a2365-ee14-40ed-9b8e-90d4e4d06449</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Not a templet project per se, but the TWI Sensor Example is a demonstration of how the nRF can be configured to act as a I2C master. You can copy the code into your applications and make the required modifications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: example for i2c and s132</title><link>https://devzone.nordicsemi.com/thread/60748?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 12:06:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6f5981e-4bfe-49a1-8edf-cf943b96cd08</guid><dc:creator>Nitram</dc:creator><description>&lt;p&gt;Isn&amp;#39;t there any template project for master i2c?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: example for i2c and s132</title><link>https://devzone.nordicsemi.com/thread/60743?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 09:01:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7f3543b-91ad-4f1b-a3f6-21c209830678</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;There are several TWI examples in the SDK, and the most relevant is often the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/twi_sensor_example.html?cp=6_0_0_4_5_28"&gt;TWI Sensor Example&lt;/a&gt;, which uses the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/hardware_driver_twi.html?cp=6_0_0_2_16"&gt;TWI master driver&lt;/a&gt;. The example does not use a SoftDevice, but you can use the exact same method in an application that use a SoftDevice.&lt;/p&gt;
&lt;p&gt;(TWI is the same as I2C, but there are legal reasons for not using that name.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>