Author Topic: Transmit Interrupt faillure  (Read 41987 times)

Andert

  • Guest
Transmit Interrupt faillure
« on: May 02, 2005, 05:18:59 am »
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

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Transmit Interrupt faillure
« Reply #1 on: May 02, 2005, 08:00:49 am »
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