<?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>MAX30003-NRF52832 SPI Interface - No proper data read back from the Slave(MAX30003)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113904/max30003-nrf52832-spi-interface---no-proper-data-read-back-from-the-slave-max30003</link><description>I am interfacing MAX30003 with Nordic NRF52DK (NRF52832 SOC). The Nordic successfully generates SPI CLK and writes the register data to the MOSI pin. But, the MAX30003WING board mostly does not respond to the read operation for the same registers that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Aug 2024 17:33:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113904/max30003-nrf52832-spi-interface---no-proper-data-read-back-from-the-slave-max30003" /><item><title>RE: MAX30003-NRF52832 SPI Interface - No proper data read back from the Slave(MAX30003)</title><link>https://devzone.nordicsemi.com/thread/498693?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2024 17:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc9dd7a9-8a74-44e4-91fb-61cab994efc0</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Waveform assignments are not correct in the scope. The readback on Register #0 is undefined according to datasheet.&lt;/p&gt;
&lt;p&gt;SPI operation looks normal to me, ticket can be closed - nothing wr0ng on nordic side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MAX30003-NRF52832 SPI Interface - No proper data read back from the Slave(MAX30003)</title><link>https://devzone.nordicsemi.com/thread/498691?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2024 17:23:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b49c0bc-4e60-47a2-8820-5f3c9523fad8</guid><dc:creator>Srinidhi</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Appreciate your timely response. The SSEL is controlled by the NRFX_SPIM library and it does get driven to zero for each spim transaction. I already attached a&amp;nbsp;pdf titled &amp;quot;&lt;strong&gt;MAX30003WING&lt;/strong&gt;&amp;quot; which has the logic analyzer waveforms for looped write and read operation. I kindly request you to take a look at it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. From the Logic Analyzer waveforms, its inferred that Nordic sends out data correctly for each transaction but the slave(MAX30003WING) does not respond with the data. I have tried the same with new MAX30003WING board as well. Moreover, the MISO line gets a &lt;strong&gt;single pulse&lt;/strong&gt; for every transaction that has a width lesser than the SCLK&amp;#39;s high period.&lt;/p&gt;
&lt;p&gt;2. As a debugging step, I established SPI Communication between two Nordic 52DK boards one being the slave and other being the master. The data is received successfully on both ends. But, again there are some &lt;strong&gt;additional pulses&lt;/strong&gt; in the MISO line for no reason.&amp;nbsp;I have attached the logic analyzer output for that as well. The &lt;strong&gt;MISO&lt;/strong&gt; line in configured with &lt;strong&gt;NOPULL&lt;/strong&gt; in nrf library. With that config, the MISO line was high by default. So, I configured it to &lt;strong&gt;PULLDOWN&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;3. I also tried to add a delay of 100ms after each SPI transaction to give MAX30003WING sufficient time to do its internal operations and spun a while loop to wait until each SPI transactions calls &lt;strong&gt;DONE EVENT.&amp;nbsp;&lt;/strong&gt;But, nothing seems to read back the registers of MAX30003 successfully.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Nordic-Nordic - NO MISO PULL&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt="Nordic as Both Master &amp;amp; Slave - MISO_NO_PULL" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nordic_5F00_as_5F00_slave_5F00_master_5F00_nopull.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Nordic - Nordic - MISO PULL DOWN&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nordic_5F00_as_5F00_slave_5F00_master_5F00_pulldown.png" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Srinidhi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MAX30003-NRF52832 SPI Interface - No proper data read back from the Slave(MAX30003)</title><link>https://devzone.nordicsemi.com/thread/498251?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 11:25:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47d58f82-7c59-4a8f-986b-bb670d1f0705</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I would have connected a logic analyzer and looked at the 4 spi pins (clk, miso, mosi, and ssel (ssel must go active low during each transfer)), and also made sure vdd and gnd is properly connected between the boards. You could potentially disconnect the miso pin, just to check if it&amp;#39;s possible something on the dk is forcing it low.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>