<?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 Zephyr assembly stack trace error from simple example (nrf5340DK)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103354/spi-zephyr-assembly-stack-trace-error-from-simple-example-nrf5340dk</link><description>I have this basic script to initialise and write spi whilst toggling an led: 
 It&amp;#39;s a modification of this example: https://github.com/too1/ncs-spi-master-slave-example/tree/master 
 here&amp;#39;s my nrf5340dk_nrf5340_cpuapp.overlay file: 
 Whenever i try and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Sep 2023 14:18:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103354/spi-zephyr-assembly-stack-trace-error-from-simple-example-nrf5340dk" /><item><title>RE: SPI Zephyr assembly stack trace error from simple example (nrf5340DK)</title><link>https://devzone.nordicsemi.com/thread/444136?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2023 14:18:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7884036-1c3f-493e-86f2-0e7e622a7387</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Great to hear! And thank you for posting how you solved the issue!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI Zephyr assembly stack trace error from simple example (nrf5340DK)</title><link>https://devzone.nordicsemi.com/thread/444115?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2023 13:04:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6319cf6b-fbbf-4622-aca9-476f738e438b</guid><dc:creator>liambooth</dc:creator><description>&lt;p&gt;Ahhh silly me, so having zephyr 3.4.99 set as my sdk and the zephyr toolchain was the issue, i switched to&amp;nbsp;C:\ncs\v2.4.1\zephyr for&amp;nbsp;ZEPHYR_BASE and set ZEPHYR_TOOLCHAIN_VARIANT to&amp;nbsp;C:\ncs\toolchains\31f4403e35 and hey presto, it works, similarly for the BT distance measurer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>