Re: What the UART is!!




"Boki" <bokiteam@xxxxxxxxxxxxxx> schreef in bericht
news:1125419694.388673.58780@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi All,
> Our uart always happen error, sometimes the interrupt ( when
> buffer is full ) always high, but it (uart) didn't get so many data,
> that make my CPU go to read data again and again, but it is wrong
> !!!!!!
>
> Does it is possible my firmware/program/driver make the famous uart
> (TI/Philips...) state error? Because I can't understand why the
> interrupt keep high so often ( I already check it by logical analysis,
> no data is coming.. )
>
> Thank you very much for your help.
>
> Best regards,
> Boki.
>

Er... There are a couple of thousends - maybe even tens of thousends - types
of UARTs out there. Even if you stick to the 8250 and it's successors you
have some tens. So what micro are you using to control what UART?

petrus bitbyter


.



Relevant Pages

  • Re: Linux serial port dropping bytes
    ... UART is on a slow bus, you should be able to read out characters ... interrupt itself - context switches, cache misses, etc. That's ... why you use a UART with a buffer - it takes virtually the same ...
    (comp.arch.embedded)
  • Re: Interrupt driven UART
    ... which is why I think I have to use interrupt ... driven UART rather than polling it. ... receivebyte seems to be pretty redundant. ... buffer' aka fifo for this. ...
    (comp.arch.embedded)
  • Re: Interrupt driven UART
    ... which is why I think I have to use interrupt ... driven UART rather than polling it. ... receivebyte seems to be pretty redundant. ... buffer' aka fifo for this. ...
    (comp.arch.embedded)
  • Re: What is Trigger Level in UART?
    ... plain 16550A, there are 16 bytes FIFO buffer for transmission, and another 16 bytes receive buffer. ... One can program a UART to trigger an interrupt signal when a certain number of bytes are received, or to trigger an interrupt when there are a few bytes free in the transmission buffer. ...
    (comp.os.linux.misc)
  • Re: Interrupt driven UART
    ... is why I think I have to use interrupt driven UART rather than polling ... receivebyte seems to be pretty redundant. ... consider using a ringbuffer aka 'circular buffer' aka fifo for this. ...
    (comp.arch.embedded)