<?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>Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47335/problem-using-digital-io-as-miso</link><description>Hi, I&amp;#39;m trying to set P0.20 pin as MISO of my spi master to communicate with ADXL372 accelerometer sensor, but when the miso is disconnected the signal received matches with expected and when connected to the DK pin the signal is modified and results</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Aug 2019 14:25:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47335/problem-using-digital-io-as-miso" /><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/203637?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2019 14:25:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d6e1aea-1b26-4a6c-8f12-584097736a41</guid><dc:creator>Luccas</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/nataddrho"&gt;nataddrho&lt;/a&gt; ,&lt;/p&gt;
&lt;p&gt;I end up using the 100 ohms resistor in series. But I remember that ADC pins also worked as well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/203420?ContentTypeID=1</link><pubDate>Sat, 10 Aug 2019 03:51:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36b82ee3-4cdf-42bd-80bf-c358882a655c</guid><dc:creator>nataddrho</dc:creator><description>&lt;p&gt;Have you found a good pin to use for MISO? Adding the 100 ohm resistor is EXACTLY what I did on my own independently before reading this thread, so I feel better. Maybe it is something weird with ST devices? It shouldn&amp;#39;t be.&lt;/p&gt;
&lt;p&gt;Lucas which pins did you end up using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/190351?ContentTypeID=1</link><pubDate>Sat, 01 Jun 2019 02:27:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f31c7bf-fe87-44e2-ac69-716e19add9fc</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;from your oscilloscope traces it looks like the signal was ringing badly; adding a resistor into the signal line better matches the output pin impedence (which is low) to the input one (which is high). If you google &amp;#39;signal line current limiting resistor&amp;#39; you&amp;#39;ll see it&amp;#39;s occasionally recommended although I&amp;#39;ve very rarely ever had to do it. We have a PPS timing box with a very sharp accurate pulse and accurate 50 ohms output, if you don&amp;#39;t match the receiver to that at least fairly well, it rings like crazy. 100 ohms sounds quite high, usually 20 or so does the job, add too much and you start to drop your own signal voltage.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/190252?ContentTypeID=1</link><pubDate>Fri, 31 May 2019 10:55:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15d666bb-9652-4816-9bba-2e7d791bddd1</guid><dc:creator>awneil</dc:creator><description>[quote userid="13562" url="~/f/nordic-q-a/47335/problem-using-digital-io-as-miso/187439"]The signal seems to struggle to pull the miso line high[/quote]
&lt;p&gt;Indeed.&lt;/p&gt;
&lt;p&gt;Something similar here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47968/spi-doesn-t-work-in-nrf52810-while-emulating-nrf52810-in-nrf52832dk-was-successful/190230#190230"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/47968/spi-doesn-t-work-in-nrf52810-while-emulating-nrf52810-in-nrf52832dk-was-successful/190230#190230&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(that&amp;#39;s on an nRF52810)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/188424?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 07:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a2efe29-7758-42de-abbe-c790f7ffb47a</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;That&amp;#39;s strange how a 100ohm series resistor fixed the issue.&amp;nbsp;&lt;br /&gt;Anyways I&amp;#39;m glad you fixed your problem, SPI can be a real b**** to debug xD&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/188283?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 13:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6baf6a11-9a66-43ea-b12c-ee45e6a58743</guid><dc:creator>Luccas</dc:creator><description>&lt;p&gt;Haakonsh thanks for your support!&lt;/p&gt;
&lt;p&gt;Actually I&amp;#39;ve also used the sensor and the nrf52 on our developed integrated board and the results were the same. I&amp;#39;ve accidentally discovered one solution, inserting some resistance(like 100 ohms) between the nrf pin and the sensor pin solved&amp;nbsp;this strange behavior. Not sure why.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve already used others sensors without this problem, so this must be something with this sensor.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/188105?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 07:27:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44aefca4-e54c-4acf-bf79-979db6a9fdbb</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Serial interfaces can behave a bit strangely when using jumper wires between devices. The problem almost always goes away once you get both device on the same board. For now I suggest you try different I/O pins and use whatever works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/187573?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 15:30:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31454da9-a007-4e87-bc8c-b06cd52b1c0f</guid><dc:creator>Luccas</dc:creator><description>&lt;p&gt;I&amp;#39;ve also tried that.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/187572?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 15:29:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5d0b6bc-671a-4ae6-bc79-fde375aed040</guid><dc:creator>Luccas</dc:creator><description>&lt;p&gt;Yes, I&amp;#39;ve tried another digital pin with same results. Using AIN pin worked, but I dont know why.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/187440?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 08:09:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:316befb9-3d2d-48e7-94cf-df5fe9f58285</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Have you tried using another pin? That pin&amp;#39;s trace might have to much capacitance to be used for SPI.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/187439?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 08:07:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53cd36ac-fb60-4c38-9eca-7b12c2550fe5</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The signal seems to struggle to pull the miso line high.&amp;nbsp;Have you tried using a pull-up?&lt;/p&gt;
&lt;p&gt;ie. &amp;quot;NRFX_SPIM_MISO_PULL_CFG 3&amp;quot; //&amp;nbsp;&lt;span&gt;NRF_GPIO_PIN_PULLUP&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/187358?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 18:05:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:379de565-087a-4ae1-be18-49d1ceca0a0d</guid><dc:creator>Luccas</dc:creator><description>&lt;p&gt;Yes, It has the LED4 connected, I&amp;#39;ve already cut the SB8 connection to disable the LED.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using digital IO as MISO.</title><link>https://devzone.nordicsemi.com/thread/187337?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 15:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd458bba-c7f5-4ebc-8909-b99380a4c019</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Have you checked the&amp;nbsp;&lt;span&gt;PCA10040 &lt;strong&gt;schematics&lt;/strong&gt; to see if there&amp;#39;s anything else connected to that pin ... ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>