Transmit Interrupt faillure

Started by Andert, May 02, 2005, 05:18:59 AM

Previous topic - Next topic

Andert

Hi all,
I have programmed a LPC935. I can send with a uC characters to the LPC935. The LPC answers correctly.  But the problem is when I disconnect the transmit line (while sending and receiving) of the LPC935 to the other uC, (not the receive line of the LPC) the program hangs on the code:

while (TI)
  {;
  }

(My routine is interrupt driven. In the interrupt, TI is set to '0'.)

When I disconnect the transmit line from the LPC to the other uC first, reset the LPC, send characters to the LPC: then the LPC would send characters back to the other uC. But the LPC send only the first character. After that the program hangs on the same code.

It seems to be that the Transmit Interrupt is not executed, so my TI bit is not set to '0'.

Could anyone help me?

Thanks Andert

Andy Ayre

This forum is for the discussion of Flash Magic and ISP functionality. You might get a better response by posting to the forum at 8052.com. Sorry.

Embedded Systems Academy, Inc.
support at esacademy dot com