<?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 transmission problem with SoftDevice S130</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45161/spi-transmission-problem-with-softdevice-s130</link><description>Hello, 
 I try to build a working firmware for reading some parameters from external sensors and transmit them thru BLE (I am using S130 and SDK 12.3.0). I have already developed the solution and it is working just fine, Now I want to display some info</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Mar 2019 09:02:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45161/spi-transmission-problem-with-softdevice-s130" /><item><title>RE: SPI transmission problem with SoftDevice S130</title><link>https://devzone.nordicsemi.com/thread/178853?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 09:02:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:756fee66-4f37-4774-b232-104d3feb7905</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;I am glad to hear you found the problem. Thanks for letting us know!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI transmission problem with SoftDevice S130</title><link>https://devzone.nordicsemi.com/thread/178795?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 21:33:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a935f3f-867b-400c-887a-a65c6e8ef711</guid><dc:creator>Polarisru</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;you were right, it was a problem with stack destruction because of my errors. It has nothing to do with incomparability of SPI and SoftDevice. I have fixed the bug and everything is running just fine now.&lt;/p&gt;
&lt;p&gt;Thank you for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI transmission problem with SoftDevice S130</title><link>https://devzone.nordicsemi.com/thread/177613?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 14:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dd8287a-a304-4529-acfc-476c9c692902</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you made sure to disable optimization when you test? That way it is easier to step through code. Also, you should define DEBUG for your project, as that will make the error checks and logging better.&lt;/p&gt;
&lt;p&gt;It sounds weird that the SoftDevice should enter a bad state just because you use more data over SPI, and if it is, the stack pointer should point to somewhere within the SoftDevice flash region. Does it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI transmission problem with SoftDevice S130</title><link>https://devzone.nordicsemi.com/thread/177597?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 13:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63e3c442-e84e-46f4-80b7-250f9184aeb0</guid><dc:creator>Polarisru</dc:creator><description>&lt;p&gt;Yes, sure, I have tried to debug the project but without success, if I stop the project after the error the debugger (J-Link) shows me nothing (it means no HardFault, no any address in the firmware), so I guess it hangs somewhere in the SoftDevice stack.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI transmission problem with SoftDevice S130</title><link>https://devzone.nordicsemi.com/thread/177589?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 13:24:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:676d1cfb-aa81-471f-a5ee-832a2040cf79</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You write that BLE is not working anymore and text is not updated on the display, which is all seen from the outside. Have you attempted to use a debugger to check what is happening? As it seems like things stop working I am tempted to think that perhaps an error check has been hit, or your firmware is in some other bad state. The only way to know more is to use the debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>