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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
2,102件の閲覧回数
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 解決策
1,694件の閲覧回数
logansmall
Contributor I

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,695件の閲覧回数
logansmall
Contributor I

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

0 件の賞賛
返信