<?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>connecting a PN532 V3 Module to a nRF52840 using SPI. (NFC)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74086/connecting-a-pn532-v3-module-to-a-nrf52840-using-spi-nfc</link><description>I need to connect a PN532 V3 Module to a nRF52840 using SPI. I tested it using arduino IDE (I used those three libraries: Adafruit_PN532.h ( github.com/.../Adafruit_PN532.h) , SPI.h and WIRE.h) and it worked. So I tried to take those libraries to SEGGER</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Apr 2021 20:02:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74086/connecting-a-pn532-v3-module-to-a-nrf52840-using-spi-nfc" /><item><title>RE: connecting a PN532 V3 Module to a nRF52840 using SPI. (NFC)</title><link>https://devzone.nordicsemi.com/thread/307728?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2021 20:02:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:988e638a-342f-4e4e-ae33-c0ea1b41c316</guid><dc:creator>chaima nikolas</dc:creator><description>&lt;p&gt;thank you all for your replies. I changed my code and I used TWI. it works fine with&amp;nbsp;it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connecting a PN532 V3 Module to a nRF52840 using SPI. (NFC)</title><link>https://devzone.nordicsemi.com/thread/305636?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 16:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d28e680-2bde-4e10-98ec-200576af3e51</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;SPI scanner example does not really make sense, as multiple SPI slave devices on a single bus are addressed through CS/SS pin, and not through an address on the bus (like it is in I2C/TWI protocols). What you output on the SPI MOSI line from the SPI master will be input to the SPI slave that has its CS/SS pin pulled low by the SPI master. The SPI slave will then process the incoming data and output its response on the MISO line following the clock generated by the master.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Using a logic analyzer to look at the lines of the SPI bus is a great tool for debugging issues with communication.&lt;/p&gt;
&lt;p&gt;The Arduino driver will very likely not work with nRF5 SDK without adapting the functions to use the nRF5 SDK SPI drivers, so you will still face the same issue that you are not able to integrate the SPI drivers correctly in the PN532 driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connecting a PN532 V3 Module to a nRF52840 using SPI. (NFC)</title><link>https://devzone.nordicsemi.com/thread/305474?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 10:04:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:868612e3-1458-44d5-9dda-aa242b619678</guid><dc:creator>chaima nikolas</dc:creator><description>&lt;p&gt;thank you, but the problem is that I couldn&amp;#39;t add SPI to the driver. Even the SPI example is not working to me.. so I couldn&amp;#39;t even know if SPI is scanned well or not, and there&amp;#39;s no example to scan SPI (spi_scanner). :/&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connecting a PN532 V3 Module to a nRF52840 using SPI. (NFC)</title><link>https://devzone.nordicsemi.com/thread/305452?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 09:05:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d96ab495-eb68-4e81-bf15-a143cf1bde39</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;PN532 is already supported in the SDK through the&amp;nbsp;&lt;a title="Adafruit Tag Reader Example" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/nfc_adafruit_with_tag_parser.html?cp=7_1_4_8_0"&gt;Adafruit Tag Reader Example&lt;/a&gt;. The ported Adafruit driver currently only supports I2C/TWI, but I believe it should be easier to add support for SPI in this driver than to port the full Arduino driver to our SDK yourself.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>