<?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>SPI MISO pull up on NRF52840 DK 2.0.1 board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65230/spi-miso-pull-up-on-nrf52840-dk-2-0-1-board</link><description>Dear, 
 
 I am using NRF52840 and nRF5_SDK_17.0.0_9d13099 and SES development tool. 
 And also, I am testing SPI master with p0.29/30,31 and P0.26. 
 but when I do &amp;quot;nrf_drv_spi_init&amp;quot;, the &amp;quot; NRFX_SPIM_MISO_PULL_CFG&amp;quot; shows &amp;quot;0&amp;quot; value even though I enabled</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Aug 2020 04:58:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65230/spi-miso-pull-up-on-nrf52840-dk-2-0-1-board" /><item><title>RE: SPI MISO pull up on NRF52840 DK 2.0.1 board</title><link>https://devzone.nordicsemi.com/thread/267114?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2020 04:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8a96101-7c99-469e-9a1f-f4807c9d41d1</guid><dc:creator>flash</dc:creator><description>&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;Have a good day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI MISO pull up on NRF52840 DK 2.0.1 board</title><link>https://devzone.nordicsemi.com/thread/266873?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2020 07:06:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:758fe447-a41a-4a8a-b98c-d32c723bf67a</guid><dc:creator>Jared</dc:creator><description>[quote user="flash"]could you explain the difference between SPIM and SPI[/quote]
&lt;p&gt;The difference is mainly in that &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/spim.html?cp=4_0_0_5_24"&gt;SPIM &lt;/a&gt;uses the EasyDMA bus to transfer data directly to RAM. &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/easydma.html?cp=4_0_0_3_5"&gt;EasyDMA &lt;/a&gt;gives the peripherals directly access to Data Ram without having to go through the CPU. The &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/spi.html?cp=4_0_0_5_23"&gt;SPI&lt;/a&gt; peripheral does not have this feature and is also not recommended for future designs as it&amp;#39;s for legacy.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI MISO pull up on NRF52840 DK 2.0.1 board</title><link>https://devzone.nordicsemi.com/thread/266634?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 07:55:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c73e4a2-2d93-4cb0-83e9-29a9f122ac0c</guid><dc:creator>flash</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the case of the MISO, it works fine now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BTW, could you explain the difference between SPIM and SPI?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI MISO pull up on NRF52840 DK 2.0.1 board</title><link>https://devzone.nordicsemi.com/thread/266628?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 07:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67f5933a-a27b-41f6-aea3-c1eeb640dee6</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I meant to write SPIM peripheral not SPI in my previous reply. I see that you have set all Pull definitions in the config file to pull-up. Does it still not work? How are you checking the state of the pin?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI MISO pull up on NRF52840 DK 2.0.1 board</title><link>https://devzone.nordicsemi.com/thread/266600?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 01:02:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e22eb4c7-0137-4c7b-a310-97b8c1de643d</guid><dc:creator>flash</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3480.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../3480.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I upload the sdk_config.h file. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI MISO pull up on NRF52840 DK 2.0.1 board</title><link>https://devzone.nordicsemi.com/thread/266599?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 00:56:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af9f2200-ccbd-4248-b5c2-f1773a10b0f2</guid><dc:creator>flash</dc:creator><description>&lt;p&gt;Dear Jared,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your kind support.&lt;/p&gt;
&lt;p&gt;This is the first time handling Nordic NRF series. So, I have many wrong settings in the software.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Seems you&amp;#39;re using the SPI peripheral and are setting the wrong define. -&amp;gt; I cannot find what&amp;#39;s wrong in my setting.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; Which peripheral is enabled in your config file? -&amp;gt; I&amp;#39;m not sure what you are checking? sdk_config.h file? I attach the file. Please, review it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please, help.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI MISO pull up on NRF52840 DK 2.0.1 board</title><link>https://devzone.nordicsemi.com/thread/266498?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 12:41:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:694fdcdf-42cf-4b6a-8b5e-73d54fe2facd</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Seems you&amp;#39;re using the SPI peripheral and are setting the wrong define. Which peripheral is enabled in your config file? I tried setting the define for the SPI peripheral in the SPI example from the SDK as below, and the result was a activation of the pullup on MISO:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="c_cpp"&gt;#ifndef NRF_SPI_DRV_MISO_PULLUP_CFG
#define NRF_SPI_DRV_MISO_PULLUP_CFG 3
#endif
&lt;/pre&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-260db97cb7674cf7bff5b8a958814a30/pastedimage1598445668146v1.png" alt=" " /&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>