<?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>How to use Adafruit sensors with nrf52 through TWI/I2C?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20279/how-to-use-adafruit-sensors-with-nrf52-through-twi-i2c</link><description>Hello, 
 I would like to make use of an Adafruit sensor Adafruit_TSL2591 connected to my nrf52 through the TWI interface. I have seen the example TWI master device, in that example the sensor is addressed directly, however this adafruit sensor has already</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Mar 2017 13:08:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20279/how-to-use-adafruit-sensors-with-nrf52-through-twi-i2c" /><item><title>RE: How to use Adafruit sensors with nrf52 through TWI/I2C?</title><link>https://devzone.nordicsemi.com/thread/78986?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2017 13:08:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5944a2f0-5def-49da-91d2-3ec5387347f6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I did not try with Segger Embedded Studio, but I have tried this with the Makefiles in our SDK. Which errors are you getting when trying to compile? The library you uploaded is for Arduino boards, you need to edit it to use the TWI driver to work with nRF devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use Adafruit sensors with nrf52 through TWI/I2C?</title><link>https://devzone.nordicsemi.com/thread/78987?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2017 21:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41ca486a-8683-49cf-b313-adc2037a81a1</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;Hi Jorgen, I have tried it but I could make it work, I just took the TWI master example and I added this library(attached in the main post) for a mpu9250. I couldn&amp;#39;t make it compile with SEGGER Embedded studio :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use Adafruit sensors with nrf52 through TWI/I2C?</title><link>https://devzone.nordicsemi.com/thread/78984?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2017 15:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba4e6595-5cab-4bc7-8291-d373b437c00e</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;Hi Jorgen, I will try to do it and come back to this post. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use Adafruit sensors with nrf52 through TWI/I2C?</title><link>https://devzone.nordicsemi.com/thread/78985?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2017 09:42:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95b479bd-a824-4e71-8f68-ada8f5d5685d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It should be possible to use the library written in C++, but you will have to integrate the TWI driver into all functions using TWI. The Makefiles in SDK 12.2 should support C++ file. Just try it out, and I will help you if you are encountering any problems.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>