documenting working with Arduino Due (#558)

* documenting working with Arduino Due

* rework tables and added due to library.properties
This commit is contained in:
StefanSpieker 2021-04-24 10:56:31 +02:00 committed by GitHub
parent d3bab30ad4
commit a6bf4dcf0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 36 deletions

View File

@ -134,41 +134,41 @@ Pin Layout
The following table shows the typical pin layout used:
+-----------+----------+---------------------------------------------------------------+--------------------------+
| | PCD | Arduino | Teensy |
| +----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+
| | MFRC522 | Uno / 101 | Mega | Nano v3 |Leonardo / Micro | Pro Micro | 2.0 | ++ 2.0 | 3.1 |
+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+
| Signal | Pin | Pin | Pin | Pin | Pin | Pin | Pin | Pin | Pin |
+===========+==========+=============+=========+=========+=================+===========+========+========+========+
| RST/Reset | RST | 9 [1]_ | 5 [1]_ | D9 | RESET / ICSP-5 | RST | 7 | 4 | 9 |
+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+
| SPI SS | SDA [3]_ | 10 [2]_ | 53 [2]_ | D10 | 10 | 10 | 0 | 20 | 10 |
+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+
| SPI MOSI | MOSI | 11 / ICSP-4 | 51 | D11 | ICSP-4 | 16 | 2 | 22 | 11 |
+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+
| SPI MISO | MISO | 12 / ICSP-1 | 50 | D12 | ICSP-1 | 14 | 3 | 23 | 12 |
+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+
| SPI SCK | SCK | 13 / ICSP-3 | 52 | D13 | ICSP-3 | 15 | 1 | 21 | 13 |
+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+
+-----------+----------+-----------------------------------------------------------------------------------+
| | PCD | Arduino |
| +----------+-------------+---------+---------+-----------------+-----------+---------+---------+
| | MFRC522 | Uno / 101 | Mega | Nano v3 |Leonardo / Micro | Pro Micro | Yun [4]_| Due |
+-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+
| Signal | Pin | Pin | Pin | Pin | Pin | Pin | Pin | Pin |
+===========+==========+=============+=========+=========+=================+===========+=========+=========+
| RST/Reset | RST | 9 [1]_ | 5 [1]_ | D9 | RESET / ICSP-5 | RST | Pin9 | 22 [1]_ |
+-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+
| SPI SS | SDA [3]_ | 10 [2]_ | 53 [2]_ | D10 | 10 | 10 | Pin10 | 23 [2]_ |
+-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+
| SPI MOSI | MOSI | 11 / ICSP-4 | 51 | D11 | ICSP-4 | 16 | ICSP4 | SPI-4 |
+-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+
| SPI MISO | MISO | 12 / ICSP-1 | 50 | D12 | ICSP-1 | 14 | ICSP1 | SPI-1 |
+-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+
| SPI SCK | SCK | 13 / ICSP-3 | 52 | D13 | ICSP-3 | 15 | ICSP3 | SPI-3 |
+-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+
+-----------+---------------+---------+
| | ESP8266 | Arduino |
| +---------------+---------+
| | Wemos D1 mini | Yun [4]_|
+-----------+---------------+---------+
| Signal | Pin | Pin |
+===========+===============+=========+
| RST/Reset | D3 | Pin9 |
+-----------+---------------+---------+
| SPI SS | D8 | Pin10 |
+-----------+---------------+---------+
| SPI MOSI | D7 | ICSP4 |
+-----------+---------------+---------+
| SPI MISO | D6 | ICSP1 |
+-----------+---------------+---------+
| SPI SCK | D5 | ICSP3 |
+-----------+---------------+---------+
+-----------+---------------+--------------------------+
| | ESP8266 | Teensy |
| +---------------+--------+--------+--------+
| | Wemos D1 mini | 2.0 | ++ 2.0 | 3.1 |
+-----------+---------------+--------+--------+--------+
| Signal | Pin | Pin | Pin | Pin |
+===========+===============+========+========+========+
| RST/Reset | D3 | 7 | 4 | 9 |
+-----------+---------------+--------+--------+--------+
| SPI SS | D8 | 0 | 20 | 10 |
+-----------+---------------+--------+--------+--------+
| SPI MOSI | D7 | 2 | 22 | 11 |
+-----------+---------------+--------+--------+--------+
| SPI MISO | D6 | 3 | 23 | 12 |
+-----------+---------------+--------+--------+--------+
| SPI SCK | D5 | 1 | 21 | 13 |
+-----------+---------------+--------+--------+--------+
.. [1] Configurable, typically defined as RST_PIN in sketch/program.
.. [2] Configurable, typically defined as SS_PIN in sketch/program.

View File

@ -11,5 +11,5 @@
},
"exclude": "doc",
"frameworks": "arduino",
"platforms": ["atmelavr", "ststm32", "espressif8266", "espressif32", "samd"]
"platforms": ["atmelavr", "atmelsam", "ststm32", "espressif8266", "espressif32", "samd"]
}

View File

@ -6,4 +6,4 @@ sentence=Arduino RFID Library for MFRC522 (SPI)
paragraph=Read/Write a RFID Card or Tag using the ISO/IEC 14443A/MIFARE interface.
category=Communication
url=https://github.com/miguelbalboa/rfid
architectures=avr,megaavr,STM32F1,teensy,esp8266,esp32,samd
architectures=avr,megaavr,STM32F1,teensy,esp8266,esp32,samd,atmelsam