Skip to main content
emoktad
Associate II
March 9, 2007
Question

UART Tx interrupt

  • March 9, 2007
  • 2 replies
  • 635 views
Posted on March 09, 2007 at 10:32

UART Tx interrupt

This topic has been closed for replies.

2 replies

emoktad
emoktadAuthor
Associate II
May 17, 2011
Posted on May 17, 2011 at 09:39

Hello,

I am using the UART0 in interrupt mode , the problem is that after sending the last byte and clearing the pending interrupt the Tx interrupt still occurs ( i am not using break mode ), I want to know how to stop the Tx interrupt after last byte ( not to disable interrupts). thanks

amira1
Associate
May 17, 2011
Posted on May 17, 2011 at 09:39

Hi usbmaster,

Could you change ''UARTx->ICR &= UART_IT'' by ''UARTx->ICR = UART_IT'' in UART_ClearITPendingBit function of 91x_uart.c.

As I see, it's due to this bad configuration.

With best regards;

mirou