All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] DeAsserting UART Interrupt line on OMAP3530 for uboot
@ 2009-03-05 14:21 Rahanesh
  2009-03-05 14:34 ` Nishanth Menon
  0 siblings, 1 reply; 2+ messages in thread
From: Rahanesh @ 2009-03-05 14:21 UTC (permalink / raw)
  To: u-boot

Hi all,

Can anyone help me to de-assert  the uart interrupt line.

I have enabled the UART interrupt only for reception of data.

Processor get the interrupt and data is read to a local buffer. Since the
Interrupt line is not deasserted , i keep on getting the same interrupt. 

How can i deassert the UART interrupt in OMAP 3530? Is it in the UART side
or Interrupt Controller Side?

How does Ubot handle this? How is the Interrupt line cleared in Uboot?

 

Please help .

 

These are the UART configuration values which i used .

8 data bits and  2 stop bits, 

FIFO enabled. 56 Byte RX FIFO and 8 Byte TX FIFO. 


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] DeAsserting UART Interrupt line on OMAP3530 for uboot
  2009-03-05 14:21 [U-Boot] DeAsserting UART Interrupt line on OMAP3530 for uboot Rahanesh
@ 2009-03-05 14:34 ` Nishanth Menon
  0 siblings, 0 replies; 2+ messages in thread
From: Nishanth Menon @ 2009-03-05 14:34 UTC (permalink / raw)
  To: u-boot

Rahanesh said the following on 03/05/2009 04:21 PM:
> Can anyone help me to de-assert  the uart interrupt line.
>   
Please read the OMAP3530 TRM. it explains how to handle the UART registers.
> I have enabled the UART interrupt only for reception of data.
>
> Processor get the interrupt and data is read to a local buffer. Since the
> Interrupt line is not deasserted , i keep on getting the same interrupt. 
>
> How can i deassert the UART interrupt in OMAP 3530? Is it in the UART side
> or Interrupt Controller Side?
>
> How does Ubot handle this? How is the Interrupt line cleared in Uboot?
>
>   
I would recommend doing the following:
git clone  git://git.denx.de/u-boot.git
vim drivers/serial/ns16550.c
You'd see that it is not using interrupts, it does a poll on interrupt
status register..

Regards,
Nishanth Menon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-05 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-05 14:21 [U-Boot] DeAsserting UART Interrupt line on OMAP3530 for uboot Rahanesh
2009-03-05 14:34 ` Nishanth Menon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.