Add R-Pi 3 conf sample.
There have been changes to the Raspberry Pi 3's usage of serial ports with the addition of a Bluetooth LE module. This configuration uses the mini UART without disabling any devices except for the linux serial console.
This commit is contained in:
parent
27ed3acc1a
commit
0d3d5c13ff
1 changed files with 19 additions and 3 deletions
|
@ -1,6 +1,22 @@
|
||||||
## Typical configuration file for PN532 device on R-Pi connected using UART
|
## Typical configuration file for PN532 device on R-Pi 3 connected using miniUART
|
||||||
## Note: to use UART port on R-Pi, you have to disable linux serial console:
|
## Note: Changes have been made to R-Pi 3 with the addition of Bluetooth LE
|
||||||
## http://learn.adafruit.com/adafruit-nfc-rfid-on-raspberry-pi/freeing-uart-on-the-pi
|
## The UART is now being used by the BLE module. Instead of disabling it, you can
|
||||||
|
## use the PN532 device with the "mini UART", which is still hijacked by the linux kernel
|
||||||
|
## as a serial console
|
||||||
|
##
|
||||||
|
## Tested recipe with PN532 breakout from Adafruit
|
||||||
|
##
|
||||||
|
## To enable uart on GPIO, add this line to bottom of /boot/config.txt
|
||||||
|
## enable_uart=1
|
||||||
|
##
|
||||||
|
## Stop and disable serial console:
|
||||||
|
## $ sudo systemctl stop serial-getty@ttyS0.service
|
||||||
|
## $ sudo systemctl disable serial-getty@ttyS0.service
|
||||||
|
##
|
||||||
|
## Remove console from /boot/cmdline.txt by removing:
|
||||||
|
## console=serial0,115200 Save and reboot for changes to take effect.
|
||||||
|
##
|
||||||
name = "PN532 board via UART"
|
name = "PN532 board via UART"
|
||||||
connstring = pn532_uart:/dev/ttyS0
|
connstring = pn532_uart:/dev/ttyS0
|
||||||
|
allow_intrusive_scan = true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue