<?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>RC522 Library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75450/rc522-library</link><description>Hi! I am trying to write code on MFRC522 to read data from RFID tags and write data to them, but the datasheet leaves much to be desired, and libraries are available only for Arduino and STM. Is there a library for working with this microcircuit on NRF52832</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 May 2021 09:19:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75450/rc522-library" /><item><title>RE: RC522 Library</title><link>https://devzone.nordicsemi.com/thread/311374?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 09:19:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19b837f1-ebf7-4e54-a355-42e6bd66ce02</guid><dc:creator>haakonsh</dc:creator><description>[quote user="kirill9129"]Could you please leave a link to the lib&amp;nbsp;from STM?[/quote]
&lt;p&gt;&amp;nbsp;I don&amp;#39;t know of any such library.&lt;br /&gt;&lt;br /&gt;The page you linked to does not load properly:&amp;nbsp;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Blank.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RC522 Library</title><link>https://devzone.nordicsemi.com/thread/311367?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 08:58:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4847c8a-69e0-4d29-ab2e-c94071026c04</guid><dc:creator>kirill9129</dc:creator><description>&lt;p&gt;Could you please leave a link to the lib&amp;nbsp;from STM? I took from here:&amp;nbsp;&lt;br /&gt;&lt;a href="https://stm32f4-discovery.net/2014/07/library-23-read-rfid-tag-mfrc522-stm32f4xx-devices/"&gt;https://stm32f4-discovery.net/2014/07/library-23-read-rfid-tag-mfrc522-stm32f4xx-devices/&lt;/a&gt;&amp;nbsp;rewrote the functions read and write, but it still doesn&amp;#39;t work. Function&amp;nbsp;&lt;span class="crayon-e"&gt;TM_MFRC522_Check&lt;/span&gt;&lt;span class="crayon-sy"&gt;(&lt;/span&gt;&lt;span class="crayon-v"&gt;CardID&lt;/span&gt;&lt;span class="crayon-sy"&gt;) not&amp;nbsp;return &amp;quot;MI_OK&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;div style="left:222px;position:absolute;top:-20px;" id="gtx-trans"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RC522 Library</title><link>https://devzone.nordicsemi.com/thread/311361?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 08:48:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b18b414e-06ea-430b-bf7c-6934d1fe0d7f</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;&lt;span&gt;We&amp;#39;ve got a library for the PN532,&amp;nbsp;&lt;/span&gt;&lt;a title="Adafruit PN532 NFC/RFID Controller Shield" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_adafruit.html?cp=7_1_3_34_3_0#lib_adafruit_shield"&gt;Adafruit PN532 NFC/RFID Controller Shield&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;I guess you&amp;#39;ll have to port the STM library, hopefully you&amp;#39;ll only need to re-write the SPI read/write functions to fit our spi driver/HAL.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Also note NXP&amp;#39;s statement about the MFRC522: &amp;quot;&lt;/span&gt;&lt;span&gt;Not recommended for new designs. For new designs, please use recommended product&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nxp.com/products/rfid-nfc/nfc-hf/nfc-readers/clrc663-iplus-i-family-high-performance-nfc-frontends:CLRC66303HN"&gt;CLRC663&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;plus&lt;/i&gt;&lt;/a&gt;&lt;span&gt;.&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>