LPC54608 I2C communication problem

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

LPC54608 I2C communication problem

925件の閲覧回数
prathap_ponnuch
Contributor I

Hi All,

I am using NXP OM13902 EVB board.In this I am facing an I2C communication issue.

I2C ref code: (LPC54608 board SDK/I2C_interrupt_b2b_transfer_master)

I2C_MASTER_SLAVE_ADDR_7BIT = 0xA0U  ------ I done only this address changes.

While start master transmission interrupt not able to generated.

code hang in following steps:

/* Wait for transfer completed. */
while (!g_MasterCompletionFlag)
{
}
g_MasterCompletionFlag = false;

OM13902 I2C Configuration:

SCL ------ Flexcomm 8-------pin PIO1_18

SDA-------FLexcomm 8------pin PIO1_17

slave EEPROM(24C16)

operating volt:2.7 to 5.5V

As per OM13902 schematic i connected OM13092 board and eeprom as follows:

OM13902:

Connector: J9  --------- PIN 2 -------------     to     -------------- EEPROM SCL

Connector: J9  --------- PIN 4 -------------     to     -------------- EEPROM SDA

Connector:J14----------PIN12 -------------     to     -------------- EEPROM VDD

Connector:J14----------PIN11 -------------     to     -------------- EEPROM GND

I2C pullup value: 4.7K(Both SDA and SCL) line.

Thanks in advance.

Regards,

prathap

ラベル(1)
0 件の賞賛
返信
1 返信

864件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hello Prathap,

 

Could you please share with me what is the status you see in the i2c_master_callback that is not letting the code to set g_MasterCompletionFlag?

 

If you have a snippet of the I2C signals it would be helpful to see what is going on in the transactions. Most likely the master is detecting a NACK from the device.

 

Best regards,

Felipe

0 件の賞賛
返信