<?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>Connect ADXL345 with nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39545/connect-adxl345-with-nrf52832</link><description>I want to connect Connect ADXL345 with nRF52832 to read movement of ADXL345. I am using example code ADXL375_I2C.zip 
 1. Please let me know the wired connection diagram between ADXL345 and nRF52832. 
 2. In this code I am seeing 
 #define TWI_SCL_M 3</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Oct 2018 13:43:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39545/connect-adxl345-with-nrf52832" /><item><title>RE: Connect ADXL345 with nRF52832</title><link>https://devzone.nordicsemi.com/thread/153665?ContentTypeID=1</link><pubDate>Fri, 19 Oct 2018 13:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72db1497-7de5-488d-82b9-e4109c46f054</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;It looks like you are using a Fanstel&amp;nbsp;EV-BT832 devlopment kit?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Both the Fanstel and Nordic nRF5x DK kits allow you to attach Arduino form factor shields to them. That is why the kits are designed this particular way and why some pins are labeled SCL, SDA, A0, etc:&lt;br /&gt;&amp;quot;Universal&amp;quot; Arduino pinout:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-6d60acb270074db384551604db8ab226/pastedimage1539955932513v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Fanstel:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-6d60acb270074db384551604db8ab226/pastedimage1539956008165v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Nordic:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-6d60acb270074db384551604db8ab226/pastedimage1539956076507v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Anyway, as&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt; says, you are free to use&amp;nbsp;whatever GPIOs you like for TWI, as long as the pin is not used for something else. Just match the pin values in your code with how you wire it up.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect ADXL345 with nRF52832</title><link>https://devzone.nordicsemi.com/thread/153646?ContentTypeID=1</link><pubDate>Fri, 19 Oct 2018 12:59:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:765cb935-0bff-4595-b53e-3dd19dce4395</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Which raises the further question:&lt;/p&gt;
[quote userid="69684" url="~/f/nordic-q-a/39545/connect-adxl345-with-nrf52832/153559"]FYI, I am using&amp;nbsp;&lt;span&gt;Nordic Development Kit,&lt;/span&gt;[/quote]
&lt;p&gt;So are you&amp;nbsp;really&amp;nbsp; using a &lt;em&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Nordic&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt; Dev Kit - or are you actually using a &lt;strong&gt;Fanstel&lt;/strong&gt; kit ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect ADXL345 with nRF52832</title><link>https://devzone.nordicsemi.com/thread/153643?ContentTypeID=1</link><pubDate>Fri, 19 Oct 2018 12:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5e5999e-b353-4c15-9f5a-4b821d1d83c3</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;That&amp;#39;s not the &lt;strong&gt;nRF52832&lt;/strong&gt; datasheet - is it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That&amp;#39;s a 3rd-party module&amp;#39;s datasheet!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you have doubts about &lt;strong&gt;Fanstel&amp;#39;s&lt;/strong&gt; documentation, then you need to contact &lt;em&gt;&lt;strong&gt;Fanstel&lt;/strong&gt; &lt;/em&gt;for clarification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect ADXL345 with nRF52832</title><link>https://devzone.nordicsemi.com/thread/153636?ContentTypeID=1</link><pubDate>Fri, 19 Oct 2018 12:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab3bf27d-d9d1-414e-bb0c-9518c0c621d3</guid><dc:creator>Ashiq Mohammed</dc:creator><description>&lt;p&gt;Thanks Awneil. Answer to your question - &lt;span&gt;Where, exactly, did you see that?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please refer page#10 and #11&amp;nbsp;from below PDF link for SDA &amp;amp; SCL pins.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://static1.squarespace.com/static/561459a2e4b0b39f5cefa12e/t/5ba2903321c67cdb52f1c1fc/1537380406677/BlueNor_BT832_datasheets.pdf"&gt;BT832_datasheets.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect ADXL345 with nRF52832</title><link>https://devzone.nordicsemi.com/thread/153623?ContentTypeID=1</link><pubDate>Fri, 19 Oct 2018 11:43:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9a3417e-6d87-4310-a84b-4e76305a25bc</guid><dc:creator>awneil</dc:creator><description>[quote userid="69684" url="~/f/nordic-q-a/39545/connect-adxl345-with-nrf52832/153559"]in nRF52832 Data sheet pins P0.26 &amp;amp; P0.27&amp;nbsp; for SDA and SCL[/quote]
&lt;p&gt;Where, exactly, did you see that?&lt;/p&gt;
&lt;p&gt;The latest Product Specification (ie, &lt;strong&gt;datasheet&lt;/strong&gt;) is v1.4:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/chips/nrf52832_ps.html"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/chips/nrf52832_ps.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The TWIM section states (emphasis mine):&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;The GPIOs used for each two-wire interface line can be chosen from &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;any GPIO&lt;/strong&gt;&lt;/span&gt; on the device and are independently &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;configurable&lt;/strong&gt;&lt;/span&gt;. This enables &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;great flexibility&lt;/strong&gt;&lt;/span&gt; in device pinout and efficient use of board space and signal routing.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/twim.html?cp=2_1_0_32#concept_scx_f5p_xr"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/twim.html?cp=2_1_0_32#concept_scx_f5p_xr&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/chips/nrf52832.html"&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect ADXL345 with nRF52832</title><link>https://devzone.nordicsemi.com/thread/153559?ContentTypeID=1</link><pubDate>Fri, 19 Oct 2018 07:14:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ca5900a-bd53-4cac-a64b-9c3f5fe34ab9</guid><dc:creator>Ashiq Mohammed</dc:creator><description>&lt;p&gt;Awneil,&lt;/p&gt;
&lt;p&gt;My question is in nRF52832 Data sheet pins P0.26 &amp;amp; P0.27&amp;nbsp; for SDA and SCL respectively but int the above example&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ADXL375_5F00_I2C.zip"&gt;ADXL375_I2C.zip&lt;/a&gt;&amp;nbsp; for&amp;nbsp; the same nRF52832 Pin P0.3 and P0.4 are used for SDA and SCL.&lt;/p&gt;
&lt;p&gt;in the above Example ....&lt;/p&gt;
&lt;p&gt;#define TWI_SCL_M 3 //!&amp;lt; Master SCL pin&lt;/p&gt;
&lt;p&gt;#define TWI_SDA_M 4 //!&amp;lt; Master SDA pin&lt;/p&gt;
&lt;p&gt;I am confusing here, need your help&amp;nbsp;for exact wired connection.&lt;/p&gt;
&lt;p&gt;FYI, I am using&amp;nbsp;&lt;span&gt;Nordic Development Kit,&amp;nbsp;BT832(nFR52832) and ADXL345. I am not using any Arduino. I hope e BT832 as master.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ashiq Mohammed.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect ADXL345 with nRF52832</title><link>https://devzone.nordicsemi.com/thread/153137?ContentTypeID=1</link><pubDate>Wed, 17 Oct 2018 07:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd034873-2a3b-4f46-8d41-b508ede28214</guid><dc:creator>awneil</dc:creator><description>[quote userid="69684" url="~/f/nordic-q-a/39545/connect-adxl345-with-nrf52832"]Please let me know the wired connection diagram between ADXL345 and nRF52832.[/quote]
&lt;p&gt;That&amp;#39;s up to &lt;em&gt;&lt;strong&gt;you&lt;/strong&gt; &lt;/em&gt;to do - that is part of &lt;em&gt;&lt;strong&gt;your&lt;/strong&gt; &lt;/em&gt;design!&lt;/p&gt;
&lt;p&gt;The ADXL345 &lt;strong&gt;datasheet&lt;/strong&gt; will tell you what connections it &lt;em&gt;requires&lt;/em&gt;. You then need to study the&amp;nbsp;&lt;span&gt;nRF52832&amp;nbsp;documentation, and choose suitable pins to meet those requirements.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s the same process for &lt;em&gt;&lt;strong&gt;any&lt;/strong&gt; &lt;/em&gt;project:&amp;nbsp;&lt;a href="http://www.8052mcu.com/forum/read/160143"&gt;http://www.8052mcu.com/forum/read/160143&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Are you using a Nordic Development Kit, or 3rd party board/module? If so, you will have to study its documentation to see what pins it makes available (and what pins are used by other functions).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>