<?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 freezing in initialization, while SCK connected to GND</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70602/spi-freezing-in-initialization-while-sck-connected-to-gnd</link><description>Hello, dear developers! 
 Tell me the solution to the problem, how to properly initialize the SPI peripherals so that the program does not hang while waiting for the end of data transfer, if the SCK and GND lines are short-circuited. 
 This is the initialization</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jan 2021 08:45:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70602/spi-freezing-in-initialization-while-sck-connected-to-gnd" /><item><title>RE: SPI freezing in initialization, while SCK connected to GND</title><link>https://devzone.nordicsemi.com/thread/290144?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 08:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43273a5e-760f-47ed-8b27-0644b2d19dd1</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I assume it&amp;#39;s a trade-off between code size, resources and still be somewhat pragmatic. It&amp;#39;s something that I can see happen in a prototype development situation, I don&amp;#39;t see a timeout would help in an end product, it would only happen if there is an electrical failure, in which case a timeout wouldn&amp;#39;t really solve anything.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI freezing in initialization, while SCK connected to GND</title><link>https://devzone.nordicsemi.com/thread/290107?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 04:50:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af99e94f-d9a1-42d8-aaeb-d86e9e0d04e1</guid><dc:creator>exet</dc:creator><description>&lt;p&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Thanks for the answer.&lt;/span&gt;&lt;/span&gt;&lt;span class="JLqJ4b"&gt;&lt;span&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;And why does the SDK not provide for handling such an event as a timeout so that the program does not stop in an endless loop waiting for the end of the transaction?&lt;/span&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;After all, the rest of the program should continue to work ...&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI freezing in initialization, while SCK connected to GND</title><link>https://devzone.nordicsemi.com/thread/289863?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 17:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c407ede-32dc-4b2c-a751-ed42024fb5e2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The clock signal is routed back internally to clock data on miso/mosi, so if you ground clock pin, then this will not occur and you will not get a callback at the end (since no data have been clocked). There is no direct fix to this, since it&amp;#39;s hardware implementation, other than to ensure that the clock line is not grounded.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>