NFC EEPROM sample application

NFC EEPROM Application based on X-NUCLEO-NFC04A1 expansion board

The application will write an URL to the EEPROM of the NFC tag on your board. This will be able to be read by any NFC device capable of reading NFC tags.

The example uses the EEPROM driver provided for the X-NUCLEO-NFC04A1 expansion board based on the ST25DV04K dynamic NFC/RFID tag.

Committer:
apalmieri
Date:
Mon Jan 11 11:33:23 2021 +0000
Revision:
3:3b37cd0a18e4
Parent:
0:f3d7ca3d45de
Update Mbed version block (mbed-os-6.6.0)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
apalmieri 0:f3d7ca3d45de 1 # NFC EEPROM usage example for X-NUCLEO-NFC04A1
apalmieri 0:f3d7ca3d45de 2
apalmieri 0:f3d7ca3d45de 3 Demonstration of possible usage of the NFC EEPROM class.
apalmieri 0:f3d7ca3d45de 4
apalmieri 0:f3d7ca3d45de 5 The application will write an URL to the EEPROM of the NFC tag on your board. This will be able to be read by any NFC device capable of reading NFC tags.
apalmieri 0:f3d7ca3d45de 6
apalmieri 0:f3d7ca3d45de 7 The example needs to supply a driver for the EEPROM. The `ST25DV` EEPROM driver is provided for the `NUCLEO_F401RE` target. You may wish to update the configuration if you're using a different target.
apalmieri 0:f3d7ca3d45de 8
apalmieri 0:f3d7ca3d45de 9 # Running the application
apalmieri 0:f3d7ca3d45de 10
apalmieri 0:f3d7ca3d45de 11 ## Requirements
apalmieri 0:f3d7ca3d45de 12
apalmieri 0:f3d7ca3d45de 13 Verification of the sample application can be seen on any smartphone with a NFC reader. After running you will be able to read the tag with a NFC tag reader application running on the smartphone.
apalmieri 0:f3d7ca3d45de 14
apalmieri 0:f3d7ca3d45de 15 Information about activity is also printed on the serial interface. See the [official documentation website](https://os.mbed.com/docs/mbed-os/v5.15/tutorials/serial-comm.html#using-terminal-applications) for more informartion about using serial terminals.
apalmieri 0:f3d7ca3d45de 16
apalmieri 0:f3d7ca3d45de 17 As mentioned above, this example is known to work on the `NUCLEO_F401RE` target which uses the [`ST25DV`](./source/target/TARGET_ST25DV) driver.
apalmieri 0:f3d7ca3d45de 18
apalmieri 0:f3d7ca3d45de 19 If your are not using a `NUCLEO_F401RE` you should indicate in the application configuration file ([`mbed_app.json`](./mbed_app.json)) which driver should be selected by the build system as follows:
apalmieri 0:f3d7ca3d45de 20
apalmieri 0:f3d7ca3d45de 21 ```json
apalmieri 0:f3d7ca3d45de 22 "<TARGET_NAME>": {
apalmieri 0:f3d7ca3d45de 23 "target.extra_labels_add": ["ST25DV"]
apalmieri 0:f3d7ca3d45de 24 }
apalmieri 0:f3d7ca3d45de 25 ```