mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
arm/linum-stm32h753bi: Add support to RFID MFRC522
Signed-off-by: Jorge Guzman jorge.gzm@gmail.com
This commit is contained in:
committed by
Alan C. Assis
parent
dc7d3470e6
commit
ae596418ae
@@ -787,3 +787,29 @@ To test the sdram use the command **ramtest**::
|
||||
RAMTest: Pattern test: c0000000 8388608 66666666 99999999
|
||||
RAMTest: Pattern test: c0000000 8388608 33333333 cccccccc
|
||||
RAMTest: Address-in-address test: c0000000 8388608
|
||||
|
||||
mfrc522
|
||||
--------
|
||||
|
||||
Configures the board to use the SPI4 and enables RFID driver with MFRC522::
|
||||
|
||||
nsh> ls /dev/
|
||||
/dev:
|
||||
console
|
||||
null
|
||||
rfid0
|
||||
rtc0
|
||||
ttyS0
|
||||
nsh> rfid_readuid
|
||||
Trying to READ: Card is not present!
|
||||
Trying to READ: Card is not present!
|
||||
Trying to READ: RFID CARD UID = 0x3DB3F169
|
||||
|
||||
======== =====
|
||||
MFRC522 PINS
|
||||
======== =====
|
||||
SCK PE2
|
||||
MISO PE5
|
||||
MOSI PE6
|
||||
CS PE4
|
||||
======== =====
|
||||
|
||||
Reference in New Issue
Block a user