<?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>Is Errata 109 occurrence related to SPI frequency?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29192/is-errata-109-occurrence-related-to-spi-frequency</link><description>I have been having issues with our Flash component ( S25FL256S ) over SPI with the nRF52832 using easyDMA. When reading out values of a peripheral, the returned contents are sometimes empty. This has been seen very often when using a low SPI frequency</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jan 2018 10:25:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29192/is-errata-109-occurrence-related-to-spi-frequency" /><item><title>RE: Is Errata 109 occurrence related to SPI frequency?</title><link>https://devzone.nordicsemi.com/thread/116056?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2018 10:25:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a171167e-4b64-4cd9-8e5b-4525a097b9b2</guid><dc:creator>Kyle Krueger</dc:creator><description>&lt;p&gt;I wanted to say thanks for the help, but we have not been seeing this issue since reducing the amount of work being done alongside the flash reads and writes. For now I am not sure if this problem has anything to do with Errata 109, but instead could have been an issue with resources.&lt;/p&gt;
&lt;p&gt;I will close this issue until we have more time to revisit the builds where this was a problem since some of our changes have proved themselves as an effective workaround.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is Errata 109 occurrence related to SPI frequency?</title><link>https://devzone.nordicsemi.com/thread/116055?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 09:49:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:602bfcfe-947f-4bf3-82f6-31627c8475e6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It sounds like your approach should work. It would help if you could share some logic traces of the transfer, and also upload your entire SPI related code or the whole project. If you do not want to share it in public, you can create a case on &lt;a href="https://www.nordicsemi.com/eng/nordic/mypage"&gt;MyPage&lt;/a&gt; and link to this thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is Errata 109 occurrence related to SPI frequency?</title><link>https://devzone.nordicsemi.com/thread/116054?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 16:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ba59ec1-eca7-4bf3-8ce2-d3f746b37422</guid><dc:creator>Kyle Krueger</dc:creator><description>&lt;p&gt;The receive buffer has a default callback, which manages a queue of SPI commands. Read commands are provided with additional nested function pointers to read out the data (ex. memcopy). This nested function pointer is the last part of the default callback.&lt;/p&gt;
&lt;p&gt;At the beginning of each function which  uses spiXfer first check a spiBusy flag, if this is true, the command will be ignored, and an error code is returned (to manage a retry). If it is not true, we write true, and proceed to send the command. It will only be marked to false again after the default SPI callback inclusive of the nested function pointer finishes with or without an error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is Errata 109 occurrence related to SPI frequency?</title><link>https://devzone.nordicsemi.com/thread/116052?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 15:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb685850-9d1d-4a78-b10b-15a7ed012d13</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;How do you read the receive-buffer? Are you using some kind of flag/synchronization mechanism to make sure you do not start a new transfer before the previous is completed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is Errata 109 occurrence related to SPI frequency?</title><link>https://devzone.nordicsemi.com/thread/116051?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 13:19:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eedd5153-adaf-46b4-ae6f-5be1d9043d27</guid><dc:creator>Kyle Krueger</dc:creator><description>&lt;p&gt;I have added information to the question to provide these details. And for the logic analyzer, we do not have one on hand. It would be most convenient if we could work this out without having to go to our other office to use the scope.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is Errata 109 occurrence related to SPI frequency?</title><link>https://devzone.nordicsemi.com/thread/116053?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 11:44:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b7de32e-dfcc-4c1f-87ad-3552a2249b8c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Could you list the part name, or link to datasheet? I assume you are using nRF52832 device, and are using EasyDMA (SPIM), since you reference Errata 109? How do you configure/use SPI (registers directly, HAL, driver, library)? Have you checked the data lines with a logic analyzer, to see if the data is transferred on the bus?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is Errata 109 occurrence related to SPI frequency?</title><link>https://devzone.nordicsemi.com/thread/116058?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 10:43:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ae7c339-4419-4688-b7c1-73e72824c532</guid><dc:creator>Kyle Krueger</dc:creator><description>&lt;p&gt;The specification for the device has only maximum speeds listed per command.
For the read and write commands we are using, it has 50 MHz listed, so I do not believe this is the problem here.&lt;/p&gt;
&lt;p&gt;Since the time of posting I have also seen the problem with 8 MHz. I have updated the question accordingly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is Errata 109 occurrence related to SPI frequency?</title><link>https://devzone.nordicsemi.com/thread/116057?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2018 18:43:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b6289b1-b504-4d64-bce6-64a3c74ca405</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Have you checked the data sheet of your peripheral to see whether it supports that frequency or not.  Some devices work at least 1MHz or more some others at max 1MHz. Make sure you are within range supported by the device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>