Read/Write registers over I2C for NTAG I²C plus Explorer Kit

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Read/Write registers over I2C for NTAG I²C plus Explorer Kit

跳至解决方案
1,116 次查看
logansmall
Contributor I

Hi there,

I'm attempting to read/write the memory in the NFC tag using an mbed microcontroller over I2C.

First, I am attempting to read the session registers from the tag using the given protocol from the specification (see: read.jpg)

Using mbed, I have written a function that will attempt to do this, it puts a start condition on the bus, then the I2C address (0xAA), and gets an acknowledgement from the tag. (see: code.jpg)

However, when I place the session register address (0xFE), I do not get an acknowledgement (nak). In fact, I have tried every possible MEMA from 0x00 to 0xFF, and all do not receive a response.

I cannot figure out what is wrong, is there something I have missed? Any help would be appreciated.

标签 (1)
0 项奖励
1 解答
708 次查看
logansmall
Contributor I

This ended up being an issue with how mbed implemented i2c writes, no worries.

在原帖中查看解决方案

0 项奖励
1 回复
709 次查看
logansmall
Contributor I

This ended up being an issue with how mbed implemented i2c writes, no worries.

0 项奖励