NT3H2211 I2C SRAM READ

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

NT3H2211 I2C SRAM READ

1,486 Views
cabletie
Contributor I

Development Environment:

MPLABX/XC8/PIC18LF2580  connected to   NT3H2211   via   I2C.

  I have followed the datasheet and have managed to get the

interface working.  I can write and read all 64 bytes to SRAM.

A Logic analyzer has verified the commands, device addresses,

and data bytes (along with proper ACK's) are being xfer'ed as needed (to and from)

as indicated in the datasheet.  The data sheet recommended delays have been

installed as instructed.  Following the data sheet information exchange per

Section 9 - I2C COMMANDS Figure 18: 

the first byte (D0) returned TO the HOST is indicated to be a DATA byte;

however, the SLAVE READ command byte (0xAB) is being returned in that

placeholder.   The subsequent 15 bytes seem to be correct (and ordered correctly

albeit placed into the next array position - hopes this makes sense).

  I have found to overcome this anomaly an extra read_device_byte() must

be placed after the write(0xab) command and before the loop to read all

SRAM page bytes.    Is this behavior expected for all NT3H2211's?   Is it a

chip batch specific problem?   Or is it just this particular chip out of the

batch I have?    Please advise....    Thanks for the assistance.

0 Kudos
Reply
5 Replies

1,386 Views
debrawade
Contributor I

Hiii,

Do you have a picture or link to the board in question? GarageBand App

0 Kudos
Reply

1,357 Views
cabletie
Contributor I

for ->debrawade

I do; however, I must ask: what is the nature of your inquiry?

0 Kudos
Reply

1,436 Views
cabletie
Contributor I

Hi,  Thank you.  I hope you are well also.

Screen shot --> certainly.    I also posted to Microchip forum as it appears this may be an issue with

the 2580 --> have not received a reply but another user there reports similar problem with the PIC18F series.

NT3H2211_SRAM_read_anomaly_2020.9.26.PNG

 

0 Kudos
Reply

1,420 Views
nxf58474
NXP Employee
NXP Employee

Hi,

 

That must be a host issue, as the I2C wave looks good. It has the W(Device Add) - Register Add - R(Device Add)-Data0-…-DataN

 

Regards,

Ricardo

0 Kudos
Reply

1,453 Views
nxf58474
NXP Employee
NXP Employee

Hi,

 

Hope you are doing well. Could you please share a screenshot of what you see in the logical analyzer?

 

Best Regards,

Ricardo

0 Kudos
Reply