MCU not exit-ing the i2c driver

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

MCU not exit-ing the i2c driver

1,303件の閲覧回数
gauravbanyal
Contributor IV

Hello,

I am using MKL03Z with a NTAG I2C Plus chip hooked up to the I2C bus.

Very often it happens that after a trasmit from the MCU to the NTAG, the function "I2C_MasterTransferBlocking()" in file fsl_i2c.c does not return. It gets stuck in the following while and never exits:

pastedImage_1.png

What could be the reason and how can I fix it?

Looking forward to getting some help.

Best regards,

Gaurav.

タグ(1)
2 返答(返信)

1,059件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Gaurav,

I see you are following up in another post about this project:

https://community.nxp.com/thread/440246 

Are you still having the I2C driver issue mentioned above?

If so please let me know and it would be helpful if you share more information, e.g schematics, source code and scope pictures of the I2C bus transfers.

Best Regards!

Jorge Gonzalez

0 件の賞賛
返信

1,059件の閲覧回数
gauravbanyal
Contributor IV

Hello Jorge,

I have found a way around for this question. The Pass-through mode: SRAM_RF_READY flag ambiguity  is a different topic and I don't think this is related to the I2C driver.

Thanks,

Gaurav.