<?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</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95914/nrf5340-spi</link><description>Hi, 
 I was wondering if there was example code for SPI (serial peripheral communication), SPIM(serial peripheral communication master) and SPIS(serial peripheral communication slave) for nRF5340 SoC. 
 Thanks &amp;amp; Regards, 
 Chris</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Feb 2023 12:02:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95914/nrf5340-spi" /><item><title>RE: nRF5340 SPI</title><link>https://devzone.nordicsemi.com/thread/408845?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2023 12:02:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48d3f51b-e13e-4e47-84c9-878bc3a7e91c</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Thank you for the update. Great to hear that you figured it out!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 SPI</title><link>https://devzone.nordicsemi.com/thread/408716?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 23:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0906a2e2-c396-49b0-837e-2b7a614ba4af</guid><dc:creator>Chris Westerhoff</dc:creator><description>&lt;p&gt;I figured out what was wrong the clock phase was set incorrectly on my end.&lt;/p&gt;
&lt;p&gt;Thank you for your help!&lt;/p&gt;
&lt;p&gt;-Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 SPI</title><link>https://devzone.nordicsemi.com/thread/408705?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 21:59:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fadf0866-1e6a-4ccd-bea2-60b2bd8fc956</guid><dc:creator>helsing</dc:creator><description>[quote user="Chris Westerhoff"]Thank you this helped alot![/quote]
&lt;p&gt;Great to hear!&lt;/p&gt;
[quote user="Chris Westerhoff"]I am trying to write hA300 to my device (AD7380) and doesnt seem to be storing into the device properly.[/quote]
&lt;p&gt;How do you tell it does not work properly? Sorry, I do not fully understand. Perhaps you could add a few words? I will in any case take another look tomorrow morning. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 SPI</title><link>https://devzone.nordicsemi.com/thread/408700?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 21:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:027c98a2-0bd7-4059-9b1a-8f7e9d4e1728</guid><dc:creator>Chris Westerhoff</dc:creator><description>&lt;p&gt;Thank you this helped alot! I am having one issue where it seems my write command isnt going to&amp;nbsp; register correctly. I am trying to write hA300 to my device (AD7380) and doesnt seem to be storing into the device properly. The waveform looks good to me wondering if is related to the drivers.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/spi_5F00_waveform.png" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 SPI</title><link>https://devzone.nordicsemi.com/thread/406058?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2023 14:26:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc7ca3da-6307-43e0-baf2-89e502505707</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;There is an unofficial sample, &lt;a href="https://github.com/too1/ncs-spi-master-slave-example" rel="nofollow"&gt;SPI master and slave async example&lt;/a&gt;, made by one of my colleagues.&lt;/p&gt;
&lt;p&gt;There are also two more SPI samples:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/tree/master/nrfx/samples/src/nrfx_spim"&gt;https://github.com/zephyrproject-rtos/hal_nordic/tree/master/nrfx/samples/src/nrfx_spim&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/tree/master/nrfx/samples/src/nrfx_spim_spis"&gt;https://github.com/zephyrproject-rtos/hal_nordic/tree/master/nrfx/samples/src/nrfx_spim_spis&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>