<?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>Cannot transfer more than 255 bytes via SPIM0 on nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45174/cannot-transfer-more-than-255-bytes-via-spim0-on-nrf52840</link><description>When trying to write a long buffer to external flash via SPIM0, I found the TXD.MAXCNT is limited to 255. 
 I&amp;#39;m directly manipulation the registers. When I wrote 256 into TXD.MAXCNT and read it, I got 0 instead. 
 The datasheet shows this register should</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Apr 2019 13:20:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45174/cannot-transfer-more-than-255-bytes-via-spim0-on-nrf52840" /><item><title>RE: Cannot transfer more than 255 bytes via SPIM0 on nrf52840</title><link>https://devzone.nordicsemi.com/thread/181081?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 13:20:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc958ce7-9d00-442c-9cc9-1987b9acca67</guid><dc:creator>jiri.husak</dc:creator><description>&lt;p&gt;Hi Joergen,&lt;/p&gt;
&lt;p&gt;thank you for your prompt answer. It would be also great if this is somehow propagated into the documentation. IMHO it would be much easier to classify this limitation as Errata and treat it properly than just mention it&amp;nbsp;silently in the Instances table in OPS which is common to all engineering A,B and C.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jiri&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot transfer more than 255 bytes via SPIM0 on nrf52840</title><link>https://devzone.nordicsemi.com/thread/180999?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 11:03:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1dbc24d-44c9-4cf1-ab83-937542807d1b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The limitation is only present in Engineering A revision. I just verified that the register is 16 bits in Engineering B and C (&lt;a href="https://www.nordicsemi.com/DocLib/Content/Comp_Matrix/nRF52840/latest/COMP/nrf52840/nRF52840_ic_rev_comp_with_dev_hw"&gt;v0.11.0 and v0.12.0 PDKs&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot transfer more than 255 bytes via SPIM0 on nrf52840</title><link>https://devzone.nordicsemi.com/thread/180989?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 10:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:952c908e-3a6c-40cd-a03a-43606db02ac1</guid><dc:creator>jiri.husak</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;could you please advice which Engineering has this &amp;quot;limitation&amp;quot;? All types between engineering A-C? Because in other thread I can read that the engineering C is equal to revision 1. Please see answer here&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38133/nrf52840-versions/147098#147098"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/38133/nrf52840-versions/147098#147098&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Thanks for clarification.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jiri&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot transfer more than 255 bytes via SPIM0 on nrf52840</title><link>https://devzone.nordicsemi.com/thread/177540?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 10:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a25578b0-f640-42b6-b702-985fd0a2d09c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Not a bug, but a limitation/not implemented feature in the engineering revisions. Note that engineering revision chips are not final products and will have issues and missing features compared to the final product.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The limitation is documented in nRF52840 OPS v0.5.1.1 in the SPIM instances section:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-98d48173a2bb43a9a10c8b0a25c66851/nrf2840_5F00_ops_5F00_spim_5F00_instances.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot transfer more than 255 bytes via SPIM0 on nrf52840</title><link>https://devzone.nordicsemi.com/thread/177532?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 10:12:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0b65c17-8a3e-4a4e-96f7-6f3668683462</guid><dc:creator>Jiacheng Guo</dc:creator><description>&lt;p&gt;I&amp;#39;m using v0.9.2&lt;/p&gt;
&lt;p&gt;Serial number: 683055308&lt;/p&gt;
&lt;p&gt;So it&amp;#39;s supposed to be a bug in the early version of chips?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot transfer more than 255 bytes via SPIM0 on nrf52840</title><link>https://devzone.nordicsemi.com/thread/177519?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 09:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ccce2e6-9e4c-4e46-a822-eee418b8d174</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which revision of the chip are you using? This should work on rev 1 chips. I tested on &lt;a href="https://www.nordicsemi.com/DocLib/Content/Comp_Matrix/nRF52840/latest/COMP/nrf52840/nRF52840_ic_rev_comp_with_dev_hw"&gt;nRF52840 PDK v0.9.0 vs nRF52840 DK v1.0.0&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfjprog --memwr 0x40003548 --val 256
Parsing parameters.
Writing.

$ nrfjprog --memrd 0x40003548
0x40003548: 00000000                              |....|

$ nrfjprog --memwr 0x40003548 --val 256
Parsing parameters.
Writing.

$ nrfjprog --memrd 0x40003548
0x40003548: 00000100                              |....|
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>