<?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>Intan RHD2164 with NRF52840 (SPI) - Double Data Rate Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74050/intan-rhd2164-with-nrf52840-spi---double-data-rate-issue</link><description>Hello, 
 I hope you are well. 
 I am currently working on interfacing an INTAN RHD2164 chip with the NRF52840. This chip is connected in SPI with the NRF52840. The only problem is that it works in Double Data Rate. I have already tried interfacing with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Apr 2021 19:34:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74050/intan-rhd2164-with-nrf52840-spi---double-data-rate-issue" /><item><title>RE: Intan RHD2164 with NRF52840 (SPI) - Double Data Rate Issue</title><link>https://devzone.nordicsemi.com/thread/306881?ContentTypeID=1</link><pubDate>Mon, 26 Apr 2021 19:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55aadf4f-d401-4025-8bd6-5a8fac14deb8</guid><dc:creator>quenmasc</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks you for your time ! Help me a lot !&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Quentin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Intan RHD2164 with NRF52840 (SPI) - Double Data Rate Issue</title><link>https://devzone.nordicsemi.com/thread/306330?ContentTypeID=1</link><pubDate>Thu, 22 Apr 2021 12:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:933e58cb-cc37-4ec9-88c8-cfeee2e3990b</guid><dc:creator>Simon</dc:creator><description>[quote user="quenmasc"]One last question for my understanding, is it the CLK of my SPI that I configure to twice the speed it should be at SLAVE (intan)?[/quote]
&lt;p&gt;From my understanding, the speed on&amp;nbsp;the master (52840) side should be twice the speed required by the slave (intan).&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="quenmasc"]In fact, given the SCK required for the Intan chip, it would be better if I use the SPIM3 which allows 32MHz SCK?[/quote]
&lt;p&gt;Yes, it seems like SPM 0-2 does only support data rates up to&amp;nbsp;8 Mbps&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fspim.html&amp;amp;cp=4_0_0_5_24_5&amp;amp;anchor=topic"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fspim.html&amp;amp;cp=4_0_0_5_24_5&amp;amp;anchor=topic&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43600/spim-speed"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/43600/spim-speed&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;, so if the speed on the &lt;span&gt;INTAN&amp;nbsp;RHD2164 is 16 Mbps, you need to use SPIM3, to get a speed of&amp;nbsp;32 Mbps&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Intan RHD2164 with NRF52840 (SPI) - Double Data Rate Issue</title><link>https://devzone.nordicsemi.com/thread/305345?ContentTypeID=1</link><pubDate>Fri, 16 Apr 2021 18:15:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97a08063-249a-45fd-b14f-bf70d8fa0f96</guid><dc:creator>quenmasc</dc:creator><description>&lt;p&gt;Hello Simon,&lt;br /&gt;&lt;br /&gt;&amp;nbsp; Thank you for your very enriching answer which allowed me to understand something that I did not know, it is very appreciated!&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp; One last question for my understanding, is it the CLK of my SPI that I configure to twice the speed it should be at SLAVE (intan)? In fact, given the SCK required for the Intan chip, it would be better if I use the SPIM3 which allows 32MHz SCK?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Quentin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Intan RHD2164 with NRF52840 (SPI) - Double Data Rate Issue</title><link>https://devzone.nordicsemi.com/thread/305322?ContentTypeID=1</link><pubDate>Fri, 16 Apr 2021 14:07:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4175bb3a-135b-4150-b216-cf26982a8219</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I don&amp;#39;t think you will be able to use QSPI to communicate with the&amp;nbsp;&lt;span&gt;RHD2164, since it uses SPI (with DDR) which is a different protocol. SPI uses two separate data lines for input and output (MISO and MOSI) while the QSPI&amp;nbsp;interface uses four data lines and configures the lines to output/input on the fly. The &lt;a href="https://intantech.com/files/Intan_RHD2164_datasheet.pdf"&gt;RHD2164 datasheet&lt;/a&gt; says the following:&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;Note that this DDR technique is a non-standard mode of SPI communication and will likely require an FPGA to implement.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;However, I came over a workaround that might work:&amp;nbsp;&lt;a href="https://www.esp8266.com/viewtopic.php?p=66519#p66519"&gt;https://www.esp8266.com/viewtopic.php?p=66519#p66519&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>