AnsweredAssumed Answered

Problem interfacing External I2C microchip EEPROM

Question asked by SAIPRIYA SUBRAMANIAN on Aug 22, 2017
Latest reply on Aug 25, 2017 by Jing Pan

I am using the SKEAZ16NLC part and trying to interface it with an external EEPROM 24LC32A which communicates through I2C. I am using KDS and PE to make the write/read to work.There is a driver for EEPROm in Erich Styger's blog.

Driver for Microchip 24xx Serial EEPROM | MCU on Eclipse 

I have a screengrab of the scope lines on SDA and SCL on the chip.

I see that the ACK bit is not set as a result of which write/read is not happening.

Scope image is attached. I am wondering what the issue is. I would like to know if there are any steps to debug this issues.

I stepped through the code and checked for PRIMASK register setting to check if interrupts are enabled and they are. Any help is much appreciated.


kds v3.1.0 s9keazn16 i2c eeprom externaleeprom how to program nxp mcu