Re: DMA in UART .



Grant Edwards wrote:
On 2006-07-17, Sikandar <sikandar032@xxxxxxxxx> wrote:

I am using 16550 compatible UART. While this UART supports max
speed of about 11.5 Kbps which is connected to a V92 dialup
modem supporting speeds upto 64Kbps.

I want to know the logic behind using DMA inside the UART for
transmission to the FIFOs Is this really required for such low
speeds.

There is no DMA inside 16550 UARTs.

--
Grant Edwards grante Yow! I'm into SOFTWARE!
at
visi.com

There is a _highly_ misnamed DMA mode 1 and 2 in 16550 compliant UARTS,
which really refers to their FIFO buffering mode.

This is DMA in the sense the core has direct access to some memory, but
it's not system memory.

This mode uses 16 byte (normal) or 64 byte (certain devices,
non-standard) of FIFO available for each of the receiver and
transmitter, with interrupts based on the FIFO levels.

This mode would be used (at the relative low speed of the device) to
minimise the time in the interrupt handler. Serial interrupt handlers
are still rather instruction intensive (because the 16550 uses a
priority encoder, the device can have multiple interrupts pending and
all must be serviced before it will generate a new hardware level
interrupt).

So the obvious answer is the actual answer: to minimise the time
software has to take to fill the receive / transmit data buffers

Cheers

PeteS

.



Relevant Pages

  • Re: DMA in UART .
    ... modem supporting speeds upto 64Kbps. ... There is no DMA inside 16550 UARTs. ... which really refers to their FIFO buffering mode. ... minimise the time in the interrupt handler. ...
    (comp.arch.embedded)
  • Re: DMA in UART .
    ... modem supporting speeds upto 64Kbps. ... There is no DMA inside 16550 UARTs. ... which really refers to their FIFO buffering mode. ... minimise the time in the interrupt handler. ...
    (comp.arch.embedded)
  • Re: Distribution & Redistribution
    ... which gets you to the primary problem of transporting mass. ... _chemical_rockets_ can achieve very high speeds if the payload ... >Forget the transmission interval. ... physics journal hinting that matter can be transformed into energy. ...
    (sci.econ)
  • Re: Factory hitch vs. add on
    ... Undoubtedly the biggest news in the mechanical department for 1949 was the availability of the M-6 hydraulic-shift transmission on the senior Dodge models. ... The low range was designed to be called on only when extra pulling power was needed at low speeds; therefore, the normal range was used for most driving. ...
    (rec.outdoors.rv-travel)
  • Re: Vintage aesthetic
    ... I like gold Gotoh 510s with the pear shaped plastic faux ebony knobs. ... I have Waverlys on a couple of guitars and like them very ... To put it automotive transmission terms, the Waverly gear design is like a Model T non synchro tranny compared to a 6 speed Getrag that the Gotoh represents. ... The hydromatic was basically two Model T transmissions which gave it four speeds. ...
    (rec.music.makers.guitar.acoustic)