<?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 read sensor data using SPI communication in NRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91723/how-to-read-sensor-data-using-spi-communication-in-nrf52840</link><description>Hi, 
 In my application, I want to read some sensor data through SPI Communication in nrf52840, can you please provide some code or please tell me how to implement the program using SPI for reading any sensor data. Please anyone help me on this. 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Sep 2022 11:50:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91723/how-to-read-sensor-data-using-spi-communication-in-nrf52840" /><item><title>RE: How to read sensor data using SPI communication in NRF52840</title><link>https://devzone.nordicsemi.com/thread/385721?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 11:50:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e59980f-4e38-4e9d-9b00-7599d36b8d31</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;You can find code from the installation folder of nRF5 SDk&amp;nbsp;&lt;span&gt;&amp;lt;InstallFolder&amp;gt;\examples\peripheral\spi,&amp;nbsp;&amp;lt;InstallFolder&amp;gt;\examples\peripheral\nrfx_spim&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read sensor data using SPI communication in NRF52840</title><link>https://devzone.nordicsemi.com/thread/385622?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 04:04:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e6afca3-659a-4746-9234-a9020a0f4bc9</guid><dc:creator>namitha K M</dc:creator><description>&lt;p&gt;can you please send me the code for that.&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read sensor data using SPI communication in NRF52840</title><link>https://devzone.nordicsemi.com/thread/385550?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 15:26:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:477d7bb6-d8f5-47d8-9d42-6377992cbaf5</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;yes it is possible to send data from master device to slave. So, one device/board will run the SPI master example and another board will run the SPI slave example, you can see that the second board is receiving valid data.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read sensor data using SPI communication in NRF52840</title><link>https://devzone.nordicsemi.com/thread/385197?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 08:38:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dbb7145-d943-42ca-a4d0-d884489ef5e4</guid><dc:creator>namitha K M</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;If I use the sample code means can I read sensor data is it possinle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read sensor data using SPI communication in NRF52840</title><link>https://devzone.nordicsemi.com/thread/385178?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 07:59:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d3e9a36-1a00-4e0e-a62a-e26821569224</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;In nRF5 SDK, we have two examples: &lt;strong&gt;SPI&lt;/strong&gt; example (using legacy nrf_drv_spi API) (&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/spi_master_example.html?cp=8_1_4_6_37"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/spi_master_example.html?cp=8_1_4_6_37&lt;/a&gt;) and&lt;strong&gt; nrfx_spim&lt;/strong&gt; example (using&amp;nbsp;&lt;span&gt;newer nrfx_spim API) (&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrfx_spim_example.html?cp=8_1_4_6_38"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrfx_spim_example.html?cp=8_1_4_6_38&lt;/a&gt;)&amp;nbsp;&lt;/span&gt;&lt;span&gt;. The second example is used if we need high SPIM3 instance on nRF52840.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kazi Afroza Sultana&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read sensor data using SPI communication in NRF52840</title><link>https://devzone.nordicsemi.com/thread/385147?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 05:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a0d31d7-4650-492b-8a5e-b022ba17b132</guid><dc:creator>namitha K M</dc:creator><description>&lt;p&gt;hi.&lt;/p&gt;
&lt;p&gt;i am waiting for your reply..&lt;/p&gt;
&lt;p&gt;Thanks..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>