<?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>Example explanation of SPI transaction manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31320/example-explanation-of-spi-transaction-manager</link><description>Hi DevZone, 
 
 Regarding example: \examples\peripheral\spi_master_using_nrf_spi_mngr, can I ask several questions? 
 1. I want to modify this code for receive the response from SPI slave too. For configuration, is it only thing I need to do is adding</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 17 Mar 2018 12:43:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31320/example-explanation-of-spi-transaction-manager" /><item><title>RE: Example explanation of SPI transaction manager</title><link>https://devzone.nordicsemi.com/thread/124860?ContentTypeID=1</link><pubDate>Sat, 17 Mar 2018 12:43:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba74c9cd-2c06-4734-b7dd-d99a60a59190</guid><dc:creator>Ree Wang</dc:creator><description>&lt;p&gt;Thank you very much.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have a oscilloscope or a logic analyzer. But I did a loopback test simply connect MISO and MOSI pins. The log shows the data input from MISO and output send by MOSI are the same. So I think both MISO and MOSI PINs are working well.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example explanation of SPI transaction manager</title><link>https://devzone.nordicsemi.com/thread/124427?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 15:37:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:813fe109-278b-4aa5-9261-26a4754e7817</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. It seems like there is some issues with the setup&amp;nbsp;between the two SPI devices. I see you have received a reply on the case that you linked to. I do not have an Arduino to test on in the office, so maybe my colleague can help you in your other post. Do you have any analyzing tools, like an oscilloscope or a logic analyzer that you can check the&amp;nbsp;traffic on the MISO and MOSI pins?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example explanation of SPI transaction manager</title><link>https://devzone.nordicsemi.com/thread/124061?ContentTypeID=1</link><pubDate>Tue, 13 Mar 2018 05:50:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da8b240e-3fc5-4659-8f6f-57927812cfb5</guid><dc:creator>Ree Wang</dc:creator><description>&lt;p&gt;Thanks. My project is for simple spi example. I was trying spi(master), but Nordic could not receive the response... The detailed issue is&amp;nbsp;&lt;a title="SPI failure" href="https://devzone.nordicsemi.com/f/nordic-q-a/32012/spi-communication-failure-between-nrf52840-preview-dk-and-arduino-uno"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/32012/spi-communication-failure-between-nrf52840-preview-dk-and-arduino-uno&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example explanation of SPI transaction manager</title><link>https://devzone.nordicsemi.com/thread/124013?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 16:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27bc7ad0-985f-4c54-8a3b-9fa20ad48bc2</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;This will work if you use one buffer. If you need different buffers to different SPI slaves, you can send the pointer to the buffer through the p_user_data parameter before NRF_SPI_MNGR_TRANSFER(...).&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example explanation of SPI transaction manager</title><link>https://devzone.nordicsemi.com/thread/124011?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 16:39:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03a077a7-0f98-43a8-8333-4f785ef6637c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;For a simple spi example with a TX and an RX buffer, I suggest that you take a look at the spi (master) and spis (slave) examples, found in SDK\examples\peripheral\...&lt;/p&gt;
&lt;p&gt;If you need to use the spi_master_using_nrf_spi_mngr there are a couple of things you must set in order to see the data coming from the spi slave:&lt;br /&gt;You must set the .miso_pin, as you describe. You will also have to set the .end_callback to something else than NULL, and pass it into nrf_spi_mngr_schedule. This is the function that will be called when the transaction is complete.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The data is located in the 3rd input variable in NRF_SPI_MNGR_TRANSFER(...). Please see this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/22448/cannot-reveive-bytes-when-using-spi-transaction-manager" target="_blank" rel="noopener noreferrer"&gt;post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>