<?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>[nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74517/nrf5-sdk-v17-0-2-spi-with-max31865-not-receiving</link><description>Hi all, 
 I&amp;#39;m trying to use the nRF52840-DK board to interface with the MAX31865 RTD-to-Digital Converter. I&amp;#39;ve adapted the MAX31865 C++ library to C and replaced the Arduino SPI functions with the Nordic functions. Currently I am unable to receive back</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Aug 2022 03:04:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74517/nrf5-sdk-v17-0-2-spi-with-max31865-not-receiving" /><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/379790?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 03:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12d1888a-53a6-44bf-a8bb-f138806cdce8</guid><dc:creator>kmcn</dc:creator><description>&lt;p&gt;&lt;a id="" href="https://github.com/adafruit/Adafruit_MAX31865"&gt;https://github.com/adafruit/Adafruit_MAX31865&lt;/a&gt;&amp;nbsp;adapted from C++ to C then added&amp;nbsp;&lt;span&gt;CS/MOSI/MISO GPIO pins as high or low&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/379788?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 02:35:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ec8d434-49e2-46d1-bb51-059c345feeed</guid><dc:creator>Naing</dc:creator><description>&lt;p&gt;May I know which library adapted? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/379781?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 00:09:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96977772-c518-497c-a82c-9b30fe6a2f95</guid><dc:creator>kmcn</dc:creator><description>&lt;p&gt;hi @Naing I ended up manually adding in calls to set CS/MOSI/MISO GPIO pins as high or low before and after each&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;nrf_drv_spi_transfer() call.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/379414?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 03:01:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccd89917-f231-4af9-ae18-8632a4863d2f</guid><dc:creator>Naing</dc:creator><description>&lt;p&gt;Any chance we can get our hands on the adapted MAX31865 library for nrf? I can&amp;#39;t seem to find it anywhere else. Otherwise, I&amp;#39;m gonna have to create one&amp;nbsp;myself, so any guidance is welcomed.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/342815?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 06:57:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1858d962-19da-4aed-87af-b573064b4f2f</guid><dc:creator>A_J</dc:creator><description>&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;I want to create a project with nrf 52832 with max31865 and pt 100 rtd can u help&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/322023?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 11:39:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed716354-e898-472e-a222-1c074e21a0a8</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;So sorry for the far too long wait-time.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The problem is the jumper-wires and/or connectors,&amp;nbsp;it should noy occur on a PCBA.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/319711?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 07:38:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee530e70-91b8-441b-8c9c-910bf225509e</guid><dc:creator>KM123</dc:creator><description>&lt;p&gt;I have followed the same steps making CS pin high and low every time&amp;nbsp; transferring data but result i am not getting anything.&lt;/p&gt;
&lt;p&gt;can you share your code it would be great thanks in advanced&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/319689?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 22:53:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc2c5ac7-7af5-4f26-aa7b-936dfa55f2f3</guid><dc:creator>kmcn</dc:creator><description>&lt;div class="author"&gt;
&lt;div class="avatar"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="content full threaded-reply-content user-defined-markup"&gt;
&lt;div class="content"&gt;
&lt;p&gt;Hi&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/km123"&gt;KM123&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was able to fix my issue with the MAX31865 development board! I ended up having to hardcode in pulling the CS GPIO pin high or low throughout the code where ever a SPI write or read occurred. I am currently waiting on a PCB delivery to test this code with the MAX31865 chip itself.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope this helps.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/319110?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 09:49:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd54b9d2-0f1b-4f8b-90d4-1a3afed42345</guid><dc:creator>KM123</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/kmcn"&gt;kmcn&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Is your problem solved. I am facing similar type of issue with max31865.&lt;br /&gt;if you have solved then please help me.&lt;br /&gt;&lt;br /&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/310273?ContentTypeID=1</link><pubDate>Tue, 18 May 2021 23:13:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aaf402c-c646-437c-83fc-6f3ecb8610d0</guid><dc:creator>kmcn</dc:creator><description>&lt;p&gt;Hi here is a picture of the hardware set up.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Red - 5V / Power&lt;/p&gt;
&lt;p&gt;Black - GND&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Grey - SDI/MOSI - 29&lt;/p&gt;
&lt;p&gt;Purple - SDO/MISO - 30&lt;/p&gt;
&lt;p&gt;Blue - CS - 31&lt;/p&gt;
&lt;p&gt;White - CLK - 26&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The RDY pin on MAX31865 is NC as it is NC on the working Arduino set up. The MAX31865 breakout board is 5V compliant and has a voltage regulator on board to drop the power supply to 3.3V.&lt;/p&gt;
&lt;p&gt;(The other wires on the breakout board are the Logic analyser).&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/nRF_5F00_pins.jpg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/MAX_5F00_pins.jpg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/310108?ContentTypeID=1</link><pubDate>Tue, 18 May 2021 10:43:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9eb3acb4-0cd4-4732-ac92-d42373445168</guid><dc:creator>kmcn</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes I&amp;#39;m using the&amp;nbsp;&lt;span&gt;nRF52840DK with jumper wires to the Maxim device on a breadboard. Nothing else is connected&amp;nbsp;to the breadboard.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/310102?ContentTypeID=1</link><pubDate>Tue, 18 May 2021 10:36:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23354412-70ea-4f14-a004-10d2ad94ceda</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;We need to verify the HW before we start digging into the SW (which seems to be correctly initialized).&lt;br /&gt;&lt;br /&gt;What is your HW platform? &lt;br /&gt;Are you using the nRF52840DK with jumper wires to the Maxim device?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/309691?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 04:25:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8e9bac1-6c36-4d63-97b3-2fab555b0dcd</guid><dc:creator>kmcn</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been able to get a hold of a logic analyser to look the SPI in better detail. The below pictures compare the difference between the SPI comms from the Arduino and the SPI from the Nordic. Both SPI have been set with the same clock frequency(1M) and mode (CPOL 0, CPHA 1). I&amp;#39;ve tried enabling the MOSI and MISO pins to a high drive strength with&amp;nbsp;&lt;em&gt;NRF_GPIO_PIN_H0H1&amp;nbsp;&lt;/em&gt;and am still not able to receive back data on the MOSI line for the Nordic.&lt;/p&gt;
&lt;p&gt;The MOSI lines are different between the devices but I have not been able to determine why.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Arduino:&lt;/p&gt;
&lt;p&gt;&lt;img height="172" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1620965852144v1.png" width="550" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Nordic:&lt;/p&gt;
&lt;p&gt;&lt;img height="161" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1620966290314v4.png" width="548" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/307396?ContentTypeID=1</link><pubDate>Thu, 29 Apr 2021 08:50:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15ea9a43-ed77-4e42-9758-dd51dae0290b</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The SPI Lines are way too capacitively loaded, are you breadboarding or using long jumper wires? I think you need to improve the grounding significantly.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I also suggest that you enable high drive strength for the SPI pins. See&amp;nbsp;&lt;a title="nrf_gpio_cfg" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrf__gpio__hal.html?cp=7_1_6_8_0_13_0_7#ga0705ce3a78d0397bbdaec05a7bce693e"&gt;nrf_gpio_cfg&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrf__gpio__hal.html#gabb86c9557487ac1eda0cec28f258a725"&gt;nrf_gpio_pin_drive_t&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Use&amp;nbsp;&lt;em&gt;NRF_GPIO_PIN_H0H1.&amp;nbsp;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/307341?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 23:16:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d55a4a2-dcbb-48c6-9e48-ea2ac2ad8a2e</guid><dc:creator>kmcn</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is the best signal I get from the oscilloscope currently.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;MOSI:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_1864.jpg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CLK:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_1859.jpg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/307213?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 11:08:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d26b6a17-d4a6-40be-9ff0-70dbcb615b5f</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Can you show me a scope?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/307195?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 10:05:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:094e3902-d6a8-46a9-8254-1d30b9596c74</guid><dc:creator>kmcn</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes I&amp;#39;ve looked at the SPI comms using an oscilloscope and there is no output from the MOSI/MISO pins and the clock&amp;nbsp;waveform is not square. The RX buffer is empty and it appears as if the&amp;nbsp;pins are not being initiated.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF5 SDK v17.0.2] SPI with MAX31865 not receiving</title><link>https://devzone.nordicsemi.com/thread/307191?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 09:50:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74262e23-9ed2-43a9-86ad-b8d7900b1711</guid><dc:creator>haakonsh</dc:creator><description>[quote user=""]Currently I am unable to receive back any value from the sensor even though the SPI transfer is completed.[/quote]
&lt;p&gt;&amp;nbsp;What do you mean? Is the RX buffer empty?&lt;br /&gt;&lt;br /&gt;Do you have a scope of the SPI communication?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>