lpcware

LPC11U23 : HALT FAULT if SDA is LOW

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Dino on Mon Feb 11 06:46:41 MST 2013
I'm using the PLC11U23 and I set the I2C to slave. It works well but if, for any reason, the external hardware forces the SDA to Low and the SCL is still working it goes in the halt fault.
The Vectpc is set to = 0xfffff8 that is a  reserved memory, the I2C registers are set as :
I2CONSET  = 0X4C
I2CONCLR = 0X4C
I2STAT  = 0X80
I2CDAT = 0
I2ADR   = 0X3A
I2CCLH = 0X180
I2CCLL = 0X180
MMCTRL = 0
I2CADR1 = 0
I2CADR2 = 0
I2CADR3 = 0
I2DATA_BUFFER = 0
I2MASK0 = 0
I2MASK0 = 1
I2MASK0 = 2
I2MASK0 = 3

Have you any idea ?

Outcomes