<?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 nRF DevKit (WSM-BL241-ADA-008DK) to Accelerometer (STEVAL-MKI197V1).</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71094/connect-nrf-devkit-wsm-bl241-ada-008dk-to-accelerometer-steval-mki197v1</link><description>We want to physically connect our nRF muRata dk (WSM-BL241-ADA-008DK) to the ST Accelerometer eval board (STEVAL-MKI197V1). We are assuming the connection takes place on the JP4 pads but can&amp;#39;t find a 3.3v power output pin and don&amp;#39;t want to guess. The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Feb 2021 08:24:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71094/connect-nrf-devkit-wsm-bl241-ada-008dk-to-accelerometer-steval-mki197v1" /><item><title>RE: Connect nRF DevKit (WSM-BL241-ADA-008DK) to Accelerometer (STEVAL-MKI197V1).</title><link>https://devzone.nordicsemi.com/thread/292388?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 08:24:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74bd590b-8521-46d6-ab44-659036dc851c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I do not have knowledge of the muRata board and its components, these will need to be directed to muRata directly.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;For the nRF5 SDK and the nRF52832 I will try to give an answer that will help you using the breakaway module.&lt;/p&gt;
[quote user="briangraph"]The SPI struct (nrfx_spi_config_t) looks like it will take any general purpose gpio that&amp;#39;s available for SLC, MISO, MOSI, CS. &lt;span style="background-color:rgba(255, 255, 0, 1);"&gt;&lt;strong&gt;(Is this correct??)&lt;/strong&gt;&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;First of all, I see you are using an older version of nRF5 SDK. v12, is there a reason for this? &lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_nrf5_latest.html"&gt;Why not use a newer SDK i.e. nRF5 SDK v17?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The pins of the SPI module is configured in sdk_config.h found under PCA10040 (nRF52832).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//==========================================================
// &amp;lt;h&amp;gt; SPI_CONFIGURATION - Spi configuration

//==========================================================
// &amp;lt;o&amp;gt; SPI_SCK_PIN  - Pin number
 
// &amp;lt;0=&amp;gt; 0 (P0.0) 
// &amp;lt;1=&amp;gt; 1 (P0.1) 
// &amp;lt;2=&amp;gt; 2 (P0.2) 
// &amp;lt;3=&amp;gt; 3 (P0.3) 
// &amp;lt;4=&amp;gt; 4 (P0.4) 
// &amp;lt;5=&amp;gt; 5 (P0.5) 
// &amp;lt;6=&amp;gt; 6 (P0.6) 
// &amp;lt;7=&amp;gt; 7 (P0.7) 
// &amp;lt;8=&amp;gt; 8 (P0.8) 
// &amp;lt;9=&amp;gt; 9 (P0.9) 
// &amp;lt;10=&amp;gt; 10 (P0.10) 
// &amp;lt;11=&amp;gt; 11 (P0.11) 
// &amp;lt;12=&amp;gt; 12 (P0.12) 
// &amp;lt;13=&amp;gt; 13 (P0.13) 
// &amp;lt;14=&amp;gt; 14 (P0.14) 
// &amp;lt;15=&amp;gt; 15 (P0.15) 
// &amp;lt;16=&amp;gt; 16 (P0.16) 
// &amp;lt;17=&amp;gt; 17 (P0.17) 
// &amp;lt;18=&amp;gt; 18 (P0.18) 
// &amp;lt;19=&amp;gt; 19 (P0.19) 
// &amp;lt;20=&amp;gt; 20 (P0.20) 
// &amp;lt;21=&amp;gt; 21 (P0.21) 
// &amp;lt;22=&amp;gt; 22 (P0.22) 
// &amp;lt;23=&amp;gt; 23 (P0.23) 
// &amp;lt;24=&amp;gt; 24 (P0.24) 
// &amp;lt;25=&amp;gt; 25 (P0.25) 
// &amp;lt;26=&amp;gt; 26 (P0.26) 
// &amp;lt;27=&amp;gt; 27 (P0.27) 
// &amp;lt;28=&amp;gt; 28 (P0.28) 
// &amp;lt;29=&amp;gt; 29 (P0.29) 
// &amp;lt;30=&amp;gt; 30 (P0.30) 
// &amp;lt;31=&amp;gt; 31 (P0.31) 
// &amp;lt;4294967295=&amp;gt; Not connected 

#ifndef SPI_SCK_PIN
#define SPI_SCK_PIN 26
#endif

// &amp;lt;o&amp;gt; SPI_MISO_PIN  - Pin number
 
// &amp;lt;0=&amp;gt; 0 (P0.0) 
// &amp;lt;1=&amp;gt; 1 (P0.1) 
// &amp;lt;2=&amp;gt; 2 (P0.2) 
// &amp;lt;3=&amp;gt; 3 (P0.3) 
// &amp;lt;4=&amp;gt; 4 (P0.4) 
// &amp;lt;5=&amp;gt; 5 (P0.5) 
// &amp;lt;6=&amp;gt; 6 (P0.6) 
// &amp;lt;7=&amp;gt; 7 (P0.7) 
// &amp;lt;8=&amp;gt; 8 (P0.8) 
// &amp;lt;9=&amp;gt; 9 (P0.9) 
// &amp;lt;10=&amp;gt; 10 (P0.10) 
// &amp;lt;11=&amp;gt; 11 (P0.11) 
// &amp;lt;12=&amp;gt; 12 (P0.12) 
// &amp;lt;13=&amp;gt; 13 (P0.13) 
// &amp;lt;14=&amp;gt; 14 (P0.14) 
// &amp;lt;15=&amp;gt; 15 (P0.15) 
// &amp;lt;16=&amp;gt; 16 (P0.16) 
// &amp;lt;17=&amp;gt; 17 (P0.17) 
// &amp;lt;18=&amp;gt; 18 (P0.18) 
// &amp;lt;19=&amp;gt; 19 (P0.19) 
// &amp;lt;20=&amp;gt; 20 (P0.20) 
// &amp;lt;21=&amp;gt; 21 (P0.21) 
// &amp;lt;22=&amp;gt; 22 (P0.22) 
// &amp;lt;23=&amp;gt; 23 (P0.23) 
// &amp;lt;24=&amp;gt; 24 (P0.24) 
// &amp;lt;25=&amp;gt; 25 (P0.25) 
// &amp;lt;26=&amp;gt; 26 (P0.26) 
// &amp;lt;27=&amp;gt; 27 (P0.27) 
// &amp;lt;28=&amp;gt; 28 (P0.28) 
// &amp;lt;29=&amp;gt; 29 (P0.29) 
// &amp;lt;30=&amp;gt; 30 (P0.30) 
// &amp;lt;31=&amp;gt; 31 (P0.31) 
// &amp;lt;4294967295=&amp;gt; Not connected 

#ifndef SPI_MISO_PIN
#define SPI_MISO_PIN 30
#endif

// &amp;lt;o&amp;gt; SPI_MOSI_PIN  - Pin number
 
// &amp;lt;0=&amp;gt; 0 (P0.0) 
// &amp;lt;1=&amp;gt; 1 (P0.1) 
// &amp;lt;2=&amp;gt; 2 (P0.2) 
// &amp;lt;3=&amp;gt; 3 (P0.3) 
// &amp;lt;4=&amp;gt; 4 (P0.4) 
// &amp;lt;5=&amp;gt; 5 (P0.5) 
// &amp;lt;6=&amp;gt; 6 (P0.6) 
// &amp;lt;7=&amp;gt; 7 (P0.7) 
// &amp;lt;8=&amp;gt; 8 (P0.8) 
// &amp;lt;9=&amp;gt; 9 (P0.9) 
// &amp;lt;10=&amp;gt; 10 (P0.10) 
// &amp;lt;11=&amp;gt; 11 (P0.11) 
// &amp;lt;12=&amp;gt; 12 (P0.12) 
// &amp;lt;13=&amp;gt; 13 (P0.13) 
// &amp;lt;14=&amp;gt; 14 (P0.14) 
// &amp;lt;15=&amp;gt; 15 (P0.15) 
// &amp;lt;16=&amp;gt; 16 (P0.16) 
// &amp;lt;17=&amp;gt; 17 (P0.17) 
// &amp;lt;18=&amp;gt; 18 (P0.18) 
// &amp;lt;19=&amp;gt; 19 (P0.19) 
// &amp;lt;20=&amp;gt; 20 (P0.20) 
// &amp;lt;21=&amp;gt; 21 (P0.21) 
// &amp;lt;22=&amp;gt; 22 (P0.22) 
// &amp;lt;23=&amp;gt; 23 (P0.23) 
// &amp;lt;24=&amp;gt; 24 (P0.24) 
// &amp;lt;25=&amp;gt; 25 (P0.25) 
// &amp;lt;26=&amp;gt; 26 (P0.26) 
// &amp;lt;27=&amp;gt; 27 (P0.27) 
// &amp;lt;28=&amp;gt; 28 (P0.28) 
// &amp;lt;29=&amp;gt; 29 (P0.29) 
// &amp;lt;30=&amp;gt; 30 (P0.30) 
// &amp;lt;31=&amp;gt; 31 (P0.31) 
// &amp;lt;4294967295=&amp;gt; Not connected 

#ifndef SPI_MOSI_PIN
#define SPI_MOSI_PIN 29
#endif

// &amp;lt;o&amp;gt; SPI_SS_PIN  - Pin number
 
// &amp;lt;0=&amp;gt; 0 (P0.0) 
// &amp;lt;1=&amp;gt; 1 (P0.1) 
// &amp;lt;2=&amp;gt; 2 (P0.2) 
// &amp;lt;3=&amp;gt; 3 (P0.3) 
// &amp;lt;4=&amp;gt; 4 (P0.4) 
// &amp;lt;5=&amp;gt; 5 (P0.5) 
// &amp;lt;6=&amp;gt; 6 (P0.6) 
// &amp;lt;7=&amp;gt; 7 (P0.7) 
// &amp;lt;8=&amp;gt; 8 (P0.8) 
// &amp;lt;9=&amp;gt; 9 (P0.9) 
// &amp;lt;10=&amp;gt; 10 (P0.10) 
// &amp;lt;11=&amp;gt; 11 (P0.11) 
// &amp;lt;12=&amp;gt; 12 (P0.12) 
// &amp;lt;13=&amp;gt; 13 (P0.13) 
// &amp;lt;14=&amp;gt; 14 (P0.14) 
// &amp;lt;15=&amp;gt; 15 (P0.15) 
// &amp;lt;16=&amp;gt; 16 (P0.16) 
// &amp;lt;17=&amp;gt; 17 (P0.17) 
// &amp;lt;18=&amp;gt; 18 (P0.18) 
// &amp;lt;19=&amp;gt; 19 (P0.19) 
// &amp;lt;20=&amp;gt; 20 (P0.20) 
// &amp;lt;21=&amp;gt; 21 (P0.21) 
// &amp;lt;22=&amp;gt; 22 (P0.22) 
// &amp;lt;23=&amp;gt; 23 (P0.23) 
// &amp;lt;24=&amp;gt; 24 (P0.24) 
// &amp;lt;25=&amp;gt; 25 (P0.25) 
// &amp;lt;26=&amp;gt; 26 (P0.26) 
// &amp;lt;27=&amp;gt; 27 (P0.27) 
// &amp;lt;28=&amp;gt; 28 (P0.28) 
// &amp;lt;29=&amp;gt; 29 (P0.29) 
// &amp;lt;30=&amp;gt; 30 (P0.30) 
// &amp;lt;31=&amp;gt; 31 (P0.31) 
// &amp;lt;4294967295=&amp;gt; Not connected 

#ifndef SPI_SS_PIN
#define SPI_SS_PIN 31
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Here you can configure the pins of JP3 P0.15,&amp;nbsp;&lt;span&gt;P0.16,&amp;nbsp;P0.17 and&amp;nbsp;P0.30.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect nRF DevKit (WSM-BL241-ADA-008DK) to Accelerometer (STEVAL-MKI197V1).</title><link>https://devzone.nordicsemi.com/thread/292348?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 21:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88675a0f-f91e-4871-9a0a-b37985879278</guid><dc:creator>briangraph</dc:creator><description>&lt;p&gt;Hi -&lt;/p&gt;
&lt;p&gt;Thanks for the response! Yes, we&amp;#39;ve looked at the muRata board schematic and data-sheets. This is what we now know.&lt;/p&gt;
&lt;p&gt;NOTE: I realize&amp;nbsp;that you may not know anything about the following. Just wanted to let you know we&amp;#39;ve been researching and are trying to ask intelligent questions to make our way forward.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="background-color:#ffff00;"&gt;&lt;strong&gt;DONE:&lt;/strong&gt;&lt;/span&gt; installed and successfully ran&amp;nbsp;the SPI Master example found in the nRF sdk on the muRata. But the LMS accelerometer was not connected at the time.(&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/spi_master_example.html" rel="nofollow noopener noreferrer" target="_blank"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/spi_master_example.html&lt;/a&gt;&lt;span&gt;).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p dir="auto"&gt;The muRata board comes in two parts; Interface Module and Breakaway Module&lt;/p&gt;
&lt;p dir="auto"&gt;The mbn52832_schematic.pdf calls out PA13/MISO, PA14/MOSI on the IC but we can&amp;#39;t seem to identify&amp;nbsp;those connection points are on the&amp;nbsp;the Interface Module.&amp;nbsp;The Interface Module seems to provide USB-SWD and USB-UART for installing and debugging. However, the Breakaway Module &lt;span style="text-decoration:underline;"&gt;does have a 2.8v power output. &lt;/span&gt;&lt;/p&gt;
&lt;p dir="auto"&gt;&lt;strong&gt;&lt;span style="background-color:#ffff00;"&gt;DONE:&lt;/span&gt;&lt;/strong&gt; &amp;nbsp;Connected muRata Breakaway Module JP2 VDD and GRD to the lms6dsox accelerometer VDD and GRD. Can reliably&amp;nbsp;get 2.75v on multimeter measured directly on the lms eval board pins. (And we didn&amp;#39;t smell any smoke :)&lt;/p&gt;
&lt;p dir="auto"&gt;&lt;strong&gt;nRF SDK:&lt;/strong&gt;&lt;br /&gt;The SPI struct (nrfx_spi_config_t) looks like it will take any general purpose gpio that&amp;#39;s available for SLC, MISO, MOSI, CS. &lt;span style="background-color:#ffff00;"&gt;&lt;strong&gt;(Is this correct??)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p dir="auto"&gt;Proposed hook up &lt;strong&gt;if the muRata&lt;/strong&gt; will allow for generic pin assignment - meaning we can assign SLC, MISO, MOSI, and CS to gpio pins on the muRata. The lms accelerometer pins are clearly marked.&lt;/p&gt;
&lt;table height="143" width="513"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;mbn52382 BreakAway JP2 Pads&lt;/td&gt;
&lt;td&gt;mbn52382 BreakAway JP3 pads&lt;/td&gt;
&lt;td&gt;LMS Accelerometer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VDD&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;VDD&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GRD&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;GRD&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;PO.15&lt;/td&gt;
&lt;td&gt;SCL (clock)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;PO.16&lt;/td&gt;
&lt;td&gt;SD0 (MISO)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;PO.17&lt;/td&gt;
&lt;td&gt;SCL (MOSI)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;PO.30&lt;/td&gt;
&lt;td&gt;SC (slave select)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect nRF DevKit (WSM-BL241-ADA-008DK) to Accelerometer (STEVAL-MKI197V1).</title><link>https://devzone.nordicsemi.com/thread/292160?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 09:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b3c9465-3f11-4748-93b4-55226b47eee5</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you looked at the documentation of the&amp;nbsp;&lt;span&gt;WSM-BL241-ADA-008DK, and the&amp;nbsp;MBN52832DK module found on this board? As this is a Murata board, you will need to see their documentation on how they have routed GPIO, etc.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>