I have a NXP NTAG I2C Plus (NFC Type 2 Tag) - https://www.nxp.com/products/rfid-nfc/nfc-hf/nfc-tags-for-electronics/ntag-ic-iplus-i-nfc-forum-type-2-tag-with-ic-interface:NTAG_I2C
I wish to use this device with an Mbed OS compatible board.
I am reading through the Mbed documentation on GitHub to determine which NFC endpoint to use:
It wasn’t clear to me which to use. I then reviewed the HAL:
This looks more like it as this includes functions like:
void read_bytes(uint32_t address, size_t count);
void write_bytes(uint32_t address, const uint8_t *bytes, size_t count);
What’s not clear to me from documentation is how to implement.
For example, the NTAG uses I2C to communicate with the MCU. So what is the best method to merge the I2C read and write bytes with the NFC HAL API read and write byte functions etc.
Any guidance is greatly appreciated as it would be nice to see the Mbed NFC library in action with the NXP NTAG device.