NT3H2211 I2C SRAM READ

cancel
Showing results for 
Search instead for 
Did you mean: 

NT3H2211 I2C SRAM READ

207 Views
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
5 Replies

106 Views
Contributor I

Hiii,

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

0 Kudos

78 Views
Contributor I

for ->debrawade

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

0 Kudos

157 Views
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

140 Views
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

173 Views
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