<?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>No TWI connection with s100, Dev Kit and BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7569/no-twi-connection-with-s100-dev-kit-and-ble</link><description>Dear all, 
 I&amp;#39;m trying to connect the NRF51-DK (PCA10028) with a LSM330DLC accelerometer over TWI (I2C). I&amp;#39;m using the ble_app_uart example, included the twi_master.h file and selected the twi_master (software) in the Run-Time environment. 
 I call</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Jul 2015 07:56:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7569/no-twi-connection-with-s100-dev-kit-and-ble" /><item><title>RE: No TWI connection with s100, Dev Kit and BLE</title><link>https://devzone.nordicsemi.com/thread/26962?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2015 07:56:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a6cf712-3f28-490f-82d7-1eb4187410b5</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Pim, can you please update us with your status? Did you manage to fix your issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No TWI connection with s100, Dev Kit and BLE</title><link>https://devzone.nordicsemi.com/thread/26961?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 07:35:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb7e8a59-58dd-446b-9f94-0e8fce116afc</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;It looks like the I2C address you used is wrong. You have to shift it one bit left&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// LSM330D I2C address
// Accelerometer = 001100xb
#define LSM330D_A_ADDR0     0x30  // SA0=0(GND)
#define LSM330D_A_ADDR1     0x32  // SA0=1(VDD)
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No TWI connection with s100, Dev Kit and BLE</title><link>https://devzone.nordicsemi.com/thread/26960?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2015 16:08:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae60ddbf-4b5a-4889-938c-f9609b871f44</guid><dc:creator>i_am_trying</dc:creator><description>&lt;p&gt;I&amp;#39;m hoping you wouldn&amp;#39;t mind...you&amp;#39;re a spot farther with TWI than i am. i am having trouble adding twi to an (example) app. i try both twi_master.h as well as nrf_drv_twi.h..but the build environment (I am using Keil MDK) can&amp;#39;t find the files. I add them which adds a slew more of files not found.&lt;/p&gt;
&lt;p&gt;Are you using Keil? Could you please share your setup? thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No TWI connection with s100, Dev Kit and BLE</title><link>https://devzone.nordicsemi.com/thread/26959?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2015 13:59:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c22a35c-d302-42a8-9755-2b46adec5e9f</guid><dc:creator>Pim</dc:creator><description>&lt;p&gt;Alex, I think I did. Default pins according to &lt;code&gt;twi_master_config.h&lt;/code&gt; are 24U for Clock Pin and 25U for Data pin. However, on the development board pin 24 is used for the LED so I changed &lt;code&gt;twi_master_config.h&lt;/code&gt; to make sure that Clock pin is now 25U and Data pin is 28U. These pins are connected to the LSM.
Do I need to change / declare these pins anywhere else?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No TWI connection with s100, Dev Kit and BLE</title><link>https://devzone.nordicsemi.com/thread/26958?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2015 13:50:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95199643-03a6-4039-929a-da29d18701cf</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Are you sure you defined the same pins for TWI communication as LSM connected on PCB?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>