<?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>Issue restarting a transaction in a serialized application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18479/issue-restarting-a-transaction-in-a-serialized-application</link><description>Hi, 
 I am currently porting the serialization transport layer to a stm32 chip (the spi 5W master configuration). 
 I am facing an issue in the state machine used to handle a single transaction : 
 When 0xFF is read on MISO after the first byte is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Dec 2016 10:50:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18479/issue-restarting-a-transaction-in-a-serialized-application" /><item><title>RE: Issue restarting a transaction in a serialized application</title><link>https://devzone.nordicsemi.com/thread/71281?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 10:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81d539e4-2951-4a65-acb9-b58bba22118a</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;Thanks for your answer. I have received the 0x00 which tells me that the slave is not ready to exchange and this information is then transmitted to the state machine which set the abort flag to true.
My problem is that spi_master_send_recv_irq  need to be re-entered in order to initiate the restart procedure (going into that else if (p_spi_instance-&amp;gt;abort_flag) condition). I don&amp;#39;t see how this function can be re-entered  as tranfert is now stop&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue restarting a transaction in a serialized application</title><link>https://devzone.nordicsemi.com/thread/71280?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2016 15:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c36c0e7-2964-422f-b54d-f1e8a7489119</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;can&amp;#39;t you just make the spi slave transmit 0x00 for the first byte instead of changing the code? I am not an expert in 5W protocol, but it looks like it is how it was designed. See this &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.2.0%2Fser_phy_spi_5_w_page.html&amp;amp;cp=4_0_1_3_2_2_1_2&amp;amp;anchor=SPI_5W_RAW_DRIVER_MASTER"&gt;SPI 5W&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>