MCU not exit-ing the i2c driver

cancel
Showing results for 
Search instead for 
Did you mean: 

MCU not exit-ing the i2c driver

293 Views
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.

Tags (1)
2 Replies

49 Views
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 Kudos

49 Views
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.