<?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>Issues initializing SPI connection between MFRC522 reader and nRF52840 dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125627/issues-initializing-spi-connection-between-mfrc522-reader-and-nrf52840-dongle</link><description>Hey im new to the nordics family. Recently bought nRF52840dongle to work with a project im developing. So im using RFID-RC522 reader connected to the nRF52840 dongle via SPI. Problem is that i cant get anything out of the reader. Found some topics here</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Nov 2025 11:28:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125627/issues-initializing-spi-connection-between-mfrc522-reader-and-nrf52840-dongle" /><item><title>RE: Issues initializing SPI connection between MFRC522 reader and nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/554773?ContentTypeID=1</link><pubDate>Wed, 19 Nov 2025 11:28:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92636068-28d2-4578-a08c-387237d3b3a9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see the user in the &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/108235/i-am-trying-to-communicate-with-nrf52832-on-mrfc522-vscode-my-write-and-read-functions-are-not-working"&gt;thread&lt;/a&gt; you linked to got it&amp;nbsp;working with theNRF52832 in the project he &lt;a href="https://github.com/mervedamar/MFRC522-NRF52/blob/main/nrf52dk_nrf52832.overlay"&gt;shared&lt;/a&gt;, and I see no reason why it should not work with a nRF52840 dongle then. But debugging is needed in order to understand what is happening. I suggest you obtain a debugger (could be a DK) and a simple logic analyzer so that. you can understand what is happening in the nRF and on the SPI lines.&lt;/p&gt;
&lt;p&gt;I would expect that the only thing you wold need to do to use that project on an RF52840 dongle is to make an overlay file for the dongle (in the same way as is &lt;a href="https://github.com/mervedamar/MFRC522-NRF52/blob/main/nrf52dk_nrf52832.overlay"&gt;there for the nRF52 DK)&lt;/a&gt;. That should at least be a good starting point as that is reported as working with the same peripheral device, and all nRF52 devices are very similar so it does not matter much that this was with an nRF52832.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues initializing SPI connection between MFRC522 reader and nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/554711?ContentTypeID=1</link><pubDate>Tue, 18 Nov 2025 19:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1ed3c5d-2309-43a7-9c50-e9b62b369986</guid><dc:creator>Bitti_1</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/108235/i-am-trying-to-communicate-with-nrf52832-on-mrfc522-vscode-my-write-and-read-functions-are-not-working"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/108235/i-am-trying-to-communicate-with-nrf52832-on-mrfc522-vscode-my-write-and-read-functions-are-not-working&lt;/a&gt;&amp;nbsp;here&amp;#39;s a link to a problem some one had with the MFRC522 earlier. Im using he&amp;#39;s example from GitHub. Should it work with the nRF52840 dongle ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues initializing SPI connection between MFRC522 reader and nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/554700?ContentTypeID=1</link><pubDate>Tue, 18 Nov 2025 17:17:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a95b4f6-cdf9-4183-97f4-f5e76235e43a</guid><dc:creator>Bitti_1</dc:creator><description>&lt;p&gt;here you can see the files and configures im using atm:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/134521.main.c"&gt;devzone.nordicsemi.com/.../134521.main.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0207.MFRC522.c"&gt;devzone.nordicsemi.com/.../0207.MFRC522.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5078.MFRC522.h"&gt;devzone.nordicsemi.com/.../5078.MFRC522.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues initializing SPI connection between MFRC522 reader and nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/554690?ContentTypeID=1</link><pubDate>Tue, 18 Nov 2025 15:33:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c83a0ce0-8b78-4bba-acfc-c748e9f31cc5</guid><dc:creator>Bitti_1</dc:creator><description>&lt;p&gt;Hey Einar,&lt;/p&gt;
&lt;p&gt;Unfortunately i dont have debugger that i could hook into the dongle. The application is running till this point i can see from terminal:&amp;nbsp;&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/pastedimage1763479975027v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Could the problem be how the RST or CS is handled? Cant figure out how to configure them...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues initializing SPI connection between MFRC522 reader and nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/554559?ContentTypeID=1</link><pubDate>Mon, 17 Nov 2025 14:34:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:852aa814-8dfd-4994-8eb0-f239a6d0e96c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not have any experience with&amp;nbsp;RC522 and we do not have explicit support for it, but you should be able to communicate with it over SPI and use it as I see is done in the Github repository you linked to.&lt;/p&gt;
&lt;p&gt;The next thing should be to debug to understand what is going on.&amp;nbsp;Do you have a debugger you can hook up to the dongle? If not, an alternative is an nRF52840 DK, which has an onboard debugger (that is a better development platform in itself, and can also be used to debug the dongle).&lt;/p&gt;
&lt;p&gt;As you see data on MOSI the nRF is clearly attempting to communicate with the slave (RC522). Is there any data being read back? Have you analyzed the data sent from the nRF to see if it is valid for the RC522? This will be easier to check if you have a logic analyzer that can analyze SPI and show you the data. Also, have you checked basic connections?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>