<?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>spis 数据发送不正常</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54812/spis</link><description>用nRF5SDK160098a08e2里面的spis工程在52832开发板上跑，但数据发送不正常 
 
 
 
 
 1，从逻辑分析仪图上看，spi主的时序没问题，发送的数据内容也没问题，但MISO这跟线的数据经常发不完整</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Dec 2019 11:48:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54812/spis" /><item><title>RE: spis 数据发送不正常</title><link>https://devzone.nordicsemi.com/thread/223561?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 11:48:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c34c9d76-60ef-40fc-9aa3-effc1d964618</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Assuming nRF52832 operates as an SPIS slave then there must be a delay between CSN (Enable) go low, and first CLK cycle. This delay depends on the power mode (see &lt;a title="https://devzone.nordicsemi.com/support-private/support/207669#permalink=371965" href="https://devzone.nordicsemi.com/support-private/support/207669#permalink=371965" rel="noopener noreferrer" target="_blank"&gt;https://devzone.nordicsemi.com/support-private/support/207669#permalink=371965&lt;/a&gt;), the delay should be &amp;gt;10us for low power mode (default) and &amp;gt;1us for constant latency mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spis 数据发送不正常</title><link>https://devzone.nordicsemi.com/thread/223349?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 13:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22d644dd-302d-42c4-aafd-adea4f2615f9</guid><dc:creator>swibyn</dc:creator><description>&lt;p&gt;Did you test it with my code? I tested it with two efm32zg boards, and both produce the same problem.&lt;/p&gt;
&lt;p&gt;or could you send your code to me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spis 数据发送不正常</title><link>https://devzone.nordicsemi.com/thread/223204?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 07:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd3e7256-3cf6-4a70-948f-38de16d18f34</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Unfortunately, we do have&amp;nbsp;&lt;span&gt;efm32zg210f32 and could not use DKs to reproduce the problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spis 数据发送不正常</title><link>https://devzone.nordicsemi.com/thread/222682?ContentTypeID=1</link><pubDate>Fri, 29 Nov 2019 02:34:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75a05d56-485f-4ae7-b23a-46ae56c43f55</guid><dc:creator>swibyn</dc:creator><description>&lt;p&gt;Yes,I did&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spis 数据发送不正常</title><link>https://devzone.nordicsemi.com/thread/222613?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2019 12:39:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8262277e-bc65-42d2-b747-a3d0e7ce0da8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Did you set the same SPI mode on both sides?&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spis 数据发送不正常</title><link>https://devzone.nordicsemi.com/thread/222494?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2019 03:43:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d900cdd3-b037-4f3f-b4ef-120e247a0ebc</guid><dc:creator>swibyn</dc:creator><description>&lt;p&gt;when i set the spi mode to mode1, mode2, it works。&lt;/p&gt;
&lt;p&gt;when i set the spi mode to mode0, mode3, the error&amp;nbsp;occurs。&lt;/p&gt;
&lt;p&gt;I donot known why&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spis 数据发送不正常</title><link>https://devzone.nordicsemi.com/thread/222482?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2019 02:29:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32256bb4-82ba-4f3b-9507-395c3deb0a3d</guid><dc:creator>swibyn</dc:creator><description>&lt;p&gt;I also test other three situations(nRF52832DK as SPIM with nRF52832DK&amp;nbsp;as SPIS,nRF52832DK&amp;nbsp;as SPIM with efm32&amp;nbsp;as SPIS, efm32&amp;nbsp;as SPIM with efm32&amp;nbsp;as SPIS), they all work well, only use efm32&amp;nbsp;as SPIM with nRF52832DK&amp;nbsp;as SPIS, it make mistake。&lt;br /&gt;efm32 means efm32zg210f32&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;my nRF52832DK code file and efm32zg210f32 code file。&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8507.main.c"&gt;devzone.nordicsemi.com/.../8507.main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7750.main.c"&gt;devzone.nordicsemi.com/.../7750.main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spis 数据发送不正常</title><link>https://devzone.nordicsemi.com/thread/222091?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 12:55:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:734d8d27-5abc-4884-936f-042482e3e408</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did you modify the spis example code? If so, what is that? Could you share with us?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tested two&amp;nbsp;nRF52832DKs with&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/spi_master_example.html"&gt;SPI Master Example&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/spi_slave_example.html"&gt;SPI Slave Example&lt;/a&gt;, and I could not reproduce the problem.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spis 数据发送不正常</title><link>https://devzone.nordicsemi.com/thread/221959?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 01:20:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c32c1399-5959-41dd-8aa8-2e64353acd8f</guid><dc:creator>swibyn</dc:creator><description>&lt;p&gt;Yes, in the example, the MISO pin is p0.30, but&amp;nbsp; i use the silicon&amp;#39;s efm32zgf32 to work as the Master spi。&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spis 数据发送不正常</title><link>https://devzone.nordicsemi.com/thread/221874?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2019 13:59:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23d4b8f1-9308-45f9-a06a-c7b3803c1132</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you mean nRF&lt;span&gt;52832DK&amp;nbsp;&lt;/span&gt;MISO sent incomplete data while executing the SDK 16/&lt;span&gt;spis&amp;nbsp;&lt;/span&gt;example? If so, which pin are you using for MISO on &lt;span&gt;Slave&amp;nbsp;&lt;/span&gt;and Master boards?&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>