I2C problems (LPC2138 as slave)

Started by jensalsig October 10, 2005

I'm developing an application that have to transmit data between a PC
and a LPC2138 using the I2C interface. The PC interface is a U2C-11
I2C Bridge from Dimax. This device can only operate in master mode so
the PC has to control the communication completely. I have the
PC->LPC2138 part working and partly the LPC2138->PC part working.
The problem is when the PC asks for data from the LPC2138 and there
aren't any.

Are there any flags that allow the LPC2138 application to abort the
I've tried resetting the AA flag but the PC can't "reconnect" after
the first attempt.

Is it better to add a minor protocol that handles this problem?

Jens Alsig

An Engineer's Guide to the LPC2100 Series