<?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>SPI interfacing of nRF 51822 and RFID reader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10174/spi-interfacing-of-nrf-51822-and-rfid-reader</link><description>Hello,
i would like to interface nrf51822 with an rfid reader mfrc522 using SPI.So, i went through the example of spi_master in SDK 8.1.0.How can we access the value of a register in mfrc522,as the NRF SPI code is not that easy to understand.Is that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Jan 2019 06:42:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10174/spi-interfacing-of-nrf-51822-and-rfid-reader" /><item><title>RE: SPI interfacing of nRF 51822 and RFID reader</title><link>https://devzone.nordicsemi.com/thread/168132?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 06:42:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82ee967f-cb33-4a51-a7c0-19bac9c745c7</guid><dc:creator>Manjunath G</dc:creator><description>&lt;p&gt;where did you get mfrc522.h and mfrc522.c files? if you have,please give the link of that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI interfacing of nRF 51822 and RFID reader</title><link>https://devzone.nordicsemi.com/thread/37726?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2015 14:02:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a32dc900-0287-4adc-94ec-9cd21cbd836d</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The spi_master is the &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00051.html"&gt;SPI Master Loopback Example&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I believe the &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00052.html"&gt;SPI Master Example to be used with SPI Slave Example&lt;/a&gt; is a better starting point.&lt;/p&gt;
&lt;p&gt;Anyways, both of these use the &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00012.html"&gt;SPI Master driver&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;After initalization and configuration, you can see from the documentation it uses spi_master_send_recv() to send and receive data.&lt;/p&gt;
&lt;p&gt;When data transmission has ended successfully the SPI_MASTER_EVT_TRANSFER_COMPLETED event is received by the spi_master_event_handler().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>