<?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>Do you have SPI examples on nRF9160DK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95437/do-you-have-spi-examples-on-nrf9160dk</link><description>I tried to find simple examples to use SPI in nRF9160DK but all the examples has issues. I did connect using raspberry pi to my modem with no issues but when I use nRF9160 i get a million problem.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Jan 2023 11:02:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95437/do-you-have-spi-examples-on-nrf9160dk" /><item><title>RE: Do you have SPI examples on nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/404997?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 11:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d72b8934-8574-4459-8142-1f8a31537019</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;It would still be interesting to know what kind of modem you are trying to use.&lt;/p&gt;
&lt;p&gt;The nRF Connect SDK is unfortunately a bit light on basic peripheral samples, but there are some you can use as inspiration.&lt;/p&gt;
&lt;p&gt;Zephyr has some samples showing how to use SPI with external flash (look in the zephyr/samples/drivers folder).&lt;/p&gt;
&lt;p&gt;You can also look at the existing driver implementations for inspiration. E.g. the SPI related code for our upcoming Wi-Fi modem, the nRF7002, can be found in nrf/drivers/wifi/nrf700x/zephyr/src/qspi.&lt;/p&gt;
&lt;p&gt;A former colleague of mine also has an old SPI sample on his Github page: &lt;a href="https://github.com/crfosse/ncs_projects/tree/main/peripheral_zephyr/spi"&gt;https://github.com/crfosse/ncs_projects/tree/main/peripheral_zephyr/spi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that the sample is old, and might not work with the newest SDK versions. However, it can still be useful as inspiration/something to start from.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do you have SPI examples on nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/404870?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 19:23:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb057b8c-b27a-4340-9f5d-bb9dde9c913f</guid><dc:creator>Khaled Karman</dc:creator><description>&lt;p&gt;No they don&amp;#39;t have&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do you have SPI examples on nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/404772?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 10:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d78384b8-e5f1-40d9-8ab7-47796e7c7376</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;What modem do you try to connect?&lt;/p&gt;
&lt;p&gt;Zephyr already has drivers for several modems, so you might not need to create one yourself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do you have SPI examples on nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/404648?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 19:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ef054ae-f28e-4133-9fb6-7edcea11db1a</guid><dc:creator>Khaled Karman</dc:creator><description>&lt;p&gt;Yes, I&amp;#39;m trying to connect external modem over SPI&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do you have SPI examples on nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/403828?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2023 12:26:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c87a2381-4989-404a-9a85-be607d87bd9c</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What exactly are you trying to do?&lt;/p&gt;
&lt;p&gt;Are you trying to connect an external modem to the nRF9160 over SPI?&lt;/p&gt;
&lt;p&gt;If so, what kind of modem is it?&lt;/p&gt;
[quote user=""]I tried to find simple examples to use SPI in nRF9160DK but all the examples has issues[/quote]
&lt;p&gt;What examples did you try? and what issues did you encounter?&lt;/p&gt;
[quote user=""]when I use nRF9160 i get a million problem.[/quote]
&lt;p&gt;What problems do you get?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do you have SPI examples on nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/403645?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 17:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:900cb5e6-b0af-41a8-96c6-23fd22d1e08e</guid><dc:creator>Khaled Karman</dc:creator><description>&lt;p&gt;SPI master&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>