NTAG5 Boost + FRDM-K64F

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NTAG5 Boost + FRDM-K64F

741 Views
julian_sauer
Contributor III

Hello nxp-community,

I trying out the NTAG5 Boost Dev-Board with the FRDM-K64F.

The Commands I use come from the App "NTAG5 - use cases"  I2C Master mode examples.

The FRDM-K64F Board has the same FXOS8700CQ accelerometer and magnetometer like the FRDM-KW41Z

Only difference between these boards is the I2C default slave address.

I am sending the same "get Temperature" command as the example App does, just the Slave Address changed.

But I am getting the wrong response.

Here are my commands to the NTAG5 Boost Dev. Board via NFC:

Select mode:

0x20, 0x25, 0x00, 0x02, 0x3D, 0xF9, 0x58, 0x01, 0x04, 0xE0

activate I2CMaster mode:

0x12, 0xC1, 0x04, 0x37, 0x00, 0x12, 0x0F, 0x00

 writeCommand:

0x12, 0xD4, 0x04, 0x82, 0x00, 0x51

Response: 0

readCommand:

0x12, 0xD5, 0x04, 0x02, 0x00

Response: 0

Read SRAM Command:

0x12, 0xD2, 0x04, 0x00, 0x06

Response in Hex:
0051000000000000000000000000000000000000000000000000000000

The Response from the SRAM is the same value as the writeCommand data (51).

What am I overlooking?

best regards

Julian

Tags (1)
1 Reply

666 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Julian,

Referring to the schematics of FRDM-K64F, the I2C address is 0x1D, did you set up this address correctly in your commands?

pastedImage_1.png

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------