<?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>nrf5340 SPI application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90285/nrf5340-spi-application</link><description>Hi , 
 I wanted to create SPI application for custom board as SPI master as nrf5340 . So I was building spi application as per slave pin configurations. So please help me in configuring spi in my application. How to configure spi pins. How to assign its</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jul 2022 07:32:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90285/nrf5340-spi-application" /><item><title>RE: nrf5340 SPI application</title><link>https://devzone.nordicsemi.com/thread/378478?ContentTypeID=1</link><pubDate>Mon, 25 Jul 2022 07:32:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82e6741c-1898-4a66-be96-8e5e1c32a50f</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello Vinay,&lt;/p&gt;
&lt;p&gt;The method to interface with peripherals in nRF Connect SDK (NCS) is to use a devicetree. &lt;br /&gt;You can leard about devicetrees in Lesson 2 of our &lt;a href="https://academy.nordicsemi.com/"&gt;NCS Fundamentals course&lt;/a&gt;.&lt;br /&gt;If you are just starting out with NCS, I advice you to take the whole course.&lt;/p&gt;
&lt;p&gt;The devicetree needs the pin numbers related to your board or chip. An overview of the pin assignments for the nRF5340 can be found on&lt;a href="https://infocenter.nordicsemi.com/topic/struct_nrf53/struct/nrf5340.html"&gt; the Infocenter&lt;/a&gt; at nRF5340 Product Specification/Hardware and layout/Pin assignments.&lt;br /&gt;The pins differ based on which package variant you have (aQFN94(TM) or WLCSP95).&lt;/p&gt;
&lt;p&gt;A devicetree (.dts- and .dtsi-files) configuring SPI for the nRF5340-DK is found withing NCS at&amp;nbsp; &amp;lt;ncs-installation&amp;gt;/zephyr/boards/arm/nrf5340dk_nrf5340.&lt;/p&gt;
&lt;p&gt;If you need more guidance, please tell me which NCS version you are using.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>