<?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>Master SPI howto</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71304/master-spi-howto</link><description>I am an experienced developer but struggling to understand nRF9160. Where can I find .h files defining HW? Where can I find data sheets describing peripherals? My task is to create a Master SPI driver or to find one. Please give me hints that can guide</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Feb 2021 09:20:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71304/master-spi-howto" /><item><title>RE: Master SPI howto</title><link>https://devzone.nordicsemi.com/thread/292843?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2021 09:20:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad4c920b-f61a-4522-8f99-a07dbfc28e84</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can find the&amp;nbsp;&lt;a title="nRF9160 Product Specification" href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/nRF9160_html5_keyfeatures.html?cp=2_0_0"&gt;nRF9160 Product Specification&lt;/a&gt;&amp;nbsp;(datasheet) in our infocenter. The SPI Master peripheral is described under peripherals:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/spim.html?cp=2_0_0_5_12"&gt;SPIM — Serial peripheral interface master with EasyDMA&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The header files defining the HW is found in our &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-MDK"&gt;MDK&lt;/a&gt;, also included in &lt;a href="https://github.com/NordicSemiconductor/nrfx/tree/master/mdk"&gt;NRFX&lt;/a&gt;. NRFX also includes a &lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/master/drivers/src/nrfx_spim.c"&gt;SPI Master driver&lt;/a&gt; for the SPIM peripheral, you can find its &lt;a href="https://infocenter.nordicsemi.com/topic/drivers_nrfx_v2.4.0/group__nrf__spim.html"&gt;API documentation here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;nRF9160 is supported through our Software Development Kit: nRF Connect SDK. You can find examples using the nrfx_spim driver in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/70105/how-to-use-spi-interface-in-a-zephyr-sample-example/288587#288587"&gt;this post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>