<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[openimu300ZI evk 如何使用spi模式读取数据 SPI reading of Open-IMU300ZI_evk]]></title><description><![CDATA[<p>使用树莓派3B，<a href="https://github.com/Aceinna/imu381-spidriver-c" rel="nofollow">spidriver-c</a>以及这份驱动代码，evk的p1上的三个跳线帽均已拔掉，已连接SPI(MOSI,MISO,CLK,NSS) lines,  1PPS line, VCC,GND。data ready line线在树莓派上未找到对应管脚故未连接，使用逻辑分析仪查看树莓派发送一切正常，MISO未返回任何数据？<img src="http://navview.blob.core.windows.net/forum/upload/eded353629cf79008063715bae8f882-k359epbc.png" alt="eded353629cf79008063715bae8f882.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.aceinna.com//topic/103/openimu300zi-evk-如何使用spi模式读取数据-spi-reading-of-open-imu300zi_evk</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 05:18:49 GMT</lastBuildDate><atom:link href="https://forum.aceinna.com//topic/103.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Nov 2019 02:50:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to openimu300ZI evk 如何使用spi模式读取数据 SPI reading of Open-IMU300ZI_evk on Thu, 21 Nov 2019 07:31:07 GMT]]></title><description><![CDATA[<p>使用树莓派3B，<a href="https://github.com/Aceinna/imu381-spidriver-c" rel="nofollow">spidriver-c</a>以及这份驱动代码，evk的p1上的三个跳线帽均已拔掉，已连接SPI(MOSI,MISO,CLK,NSS) lines,  1PPS line, VCC,GND。data ready line线在树莓派上未找到对应管脚故未连接，使用逻辑分析仪查看树莓派发送一切正常，MISO未返回任何数据？<img src="http://navview.blob.core.windows.net/forum/upload/eded353629cf79008063715bae8f882-k359epbc.png" alt="eded353629cf79008063715bae8f882.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.aceinna.com//post/419</link><guid isPermaLink="true">https://forum.aceinna.com//post/419</guid><dc:creator><![CDATA[sunshine1995tangyao]]></dc:creator><pubDate>Thu, 21 Nov 2019 07:31:07 GMT</pubDate></item><item><title><![CDATA[Reply to openimu300ZI evk 如何使用spi模式读取数据 SPI reading of Open-IMU300ZI_evk on Tue, 19 Nov 2019 02:53:09 GMT]]></title><description><![CDATA[<p>@Li YiFan spi有任何接线和软件上的其他设置吗？</p>
]]></description><link>https://forum.aceinna.com//post/420</link><guid isPermaLink="true">https://forum.aceinna.com//post/420</guid><dc:creator><![CDATA[vvhahaha]]></dc:creator><pubDate>Tue, 19 Nov 2019 02:53:09 GMT</pubDate></item><item><title><![CDATA[Reply to openimu300ZI evk 如何使用spi模式读取数据 SPI reading of Open-IMU300ZI_evk on Tue, 19 Nov 2019 02:55:32 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/4">@Li-YiFan</a></p>
]]></description><link>https://forum.aceinna.com//post/421</link><guid isPermaLink="true">https://forum.aceinna.com//post/421</guid><dc:creator><![CDATA[sunshine1995tangyao]]></dc:creator><pubDate>Tue, 19 Nov 2019 02:55:32 GMT</pubDate></item><item><title><![CDATA[Reply to openimu300ZI evk 如何使用spi模式读取数据 SPI reading of Open-IMU300ZI_evk on Wed, 20 Nov 2019 00:56:36 GMT]]></title><description><![CDATA[<p>Hi vvhahaha, tangyao,<br />
Github上面那个 spidriver-c是IMU381 在树莓派上的驱动，由于OpenIMU处理器和IMU381处理器主频有差异，所以SPI timing会有差异，请参考<br />
<a href="https://openimu.readthedocs.io/en/latest/software/SPImessaging.html" rel="nofollow">https://openimu.readthedocs.io/en/latest/software/SPImessaging.html</a><br />
有问题请随时提出</p>
]]></description><link>https://forum.aceinna.com//post/424</link><guid isPermaLink="true">https://forum.aceinna.com//post/424</guid><dc:creator><![CDATA[Li YiFan]]></dc:creator><pubDate>Wed, 20 Nov 2019 00:56:36 GMT</pubDate></item><item><title><![CDATA[Reply to openimu300ZI evk 如何使用spi模式读取数据 SPI reading of Open-IMU300ZI_evk on Wed, 20 Nov 2019 05:58:46 GMT]]></title><description><![CDATA[<p>keep ENABLE line always low during request and feedback period. 在寄存器请求和获得反馈的时间段内， ENABLE线要保持拉低一直， 就是CS线在IMU300这个SLAVE被选中时要保持LOW.</p>
]]></description><link>https://forum.aceinna.com//post/432</link><guid isPermaLink="true">https://forum.aceinna.com//post/432</guid><dc:creator><![CDATA[cek]]></dc:creator><pubDate>Wed, 20 Nov 2019 05:58:46 GMT</pubDate></item><item><title><![CDATA[Reply to openimu300ZI evk 如何使用spi模式读取数据 SPI reading of Open-IMU300ZI_evk on Wed, 20 Nov 2019 13:41:27 GMT]]></title><description><![CDATA[<p>十分感谢！您的建议帮助很大，已解决问题~~</p>
]]></description><link>https://forum.aceinna.com//post/436</link><guid isPermaLink="true">https://forum.aceinna.com//post/436</guid><dc:creator><![CDATA[sunshine1995tangyao]]></dc:creator><pubDate>Wed, 20 Nov 2019 13:41:27 GMT</pubDate></item><item><title><![CDATA[Reply to openimu300ZI evk 如何使用spi模式读取数据 SPI reading of Open-IMU300ZI_evk on Thu, 21 Nov 2019 01:27:44 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/193">@sunshine1995tangyao</a> 能把你的SPI问题的原因， 解决方法，分享出来吗？ 以帮助我们的所有开发者，谢谢。<br />
最好中英，对照。</p>
<p>could you share what is the problem you met in SPI communiction? how did you figure out it and working well now? thanks for your information which will be good helpful for all developers.</p>
]]></description><link>https://forum.aceinna.com//post/445</link><guid isPermaLink="true">https://forum.aceinna.com//post/445</guid><dc:creator><![CDATA[cek]]></dc:creator><pubDate>Thu, 21 Nov 2019 01:27:44 GMT</pubDate></item><item><title><![CDATA[Reply to openimu300ZI evk 如何使用spi模式读取数据 SPI reading of Open-IMU300ZI_evk on Thu, 21 Nov 2019 07:27:44 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/87">@cek</a> 使用wiringPiSPIDataRW函数进行读写是按照8位读写，但是openimu的spi按照16位读写，源代码中发送0x5600 0x0000时分别调用了两次该函数，导致发送完一次后CS线处于HIGH，因此直接调用一次该函数发送四字节，可以实现16位读写，但是会多一个时钟（Using the wiringPiSPIDataRW function to read and write is based on 8 bits, but openimu's SPI is based on 16 bits. When sending 0x5600 x0000 in the source code, the function is called twice respectively, resulting in the CS line at high after sending once. Therefore, calling the function once to send four bytes directly can realize 16 bit read and write, but there will be one more clock:）：<br />
buf[0] = REG_PRD;<br />
buf[1] = 0x00;<br />
buf[2] = 0x00;<br />
buf[3] = 0x00;<br />
wiringPiSPIDataRW(PI_SPI_CHANNEL,buf,4);<br />
<img src="http://navview.blob.core.windows.net/forum/upload/0063a8fdfd223ef48bbe52318b3bae9-k38e5j33.png" alt="0063a8fdfd223ef48bbe52318b3bae9.png" class="img-responsive img-markdown" /> <img src="http://navview.blob.core.windows.net/forum/upload/dfd312e548a42b59a005cde3f95914f-k38e5vo4.png" alt="dfd312e548a42b59a005cde3f95914f.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.aceinna.com//post/453</link><guid isPermaLink="true">https://forum.aceinna.com//post/453</guid><dc:creator><![CDATA[sunshine1995tangyao]]></dc:creator><pubDate>Thu, 21 Nov 2019 07:27:44 GMT</pubDate></item><item><title><![CDATA[Reply to openimu300ZI evk 如何使用spi模式读取数据 SPI reading of Open-IMU300ZI_evk on Thu, 21 Nov 2019 09:37:16 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.aceinna.com//uid/193">@sunshine1995tangyao</a> 非常感谢分享！</p>
]]></description><link>https://forum.aceinna.com//post/454</link><guid isPermaLink="true">https://forum.aceinna.com//post/454</guid><dc:creator><![CDATA[Li YiFan]]></dc:creator><pubDate>Thu, 21 Nov 2019 09:37:16 GMT</pubDate></item><item><title><![CDATA[Reply to openimu300ZI evk 如何使用spi模式读取数据 SPI reading of Open-IMU300ZI_evk on Fri, 22 Nov 2019 00:52:41 GMT]]></title><description><![CDATA[<p>Timing request of 300 SPI:  MUST BE</p>
<p><img src="http://navview.blob.core.windows.net/forum/upload/7a5a1c25-a940-481a-a535-41e92c8a5356-image-k39fi9ow.png" alt="7a5a1c25-a940-481a-a535-41e92c8a5356-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.aceinna.com//post/457</link><guid isPermaLink="true">https://forum.aceinna.com//post/457</guid><dc:creator><![CDATA[cek]]></dc:creator><pubDate>Fri, 22 Nov 2019 00:52:41 GMT</pubDate></item></channel></rss>