Console driver that needs extra TIMER

Kolja Waschk rtemsdev at ixo.de
Thu Aug 14 15:28:31 UTC 2014


>> [...] DMA-based UART driver for Blackfin. It requires an
>> extra timer to trigger data processing after a transmission ended. [...]

> Don't you get an end of DMA TX interrupt?

No, it's about RX - the driver doesn't know beforehand how many bytes are expected
and thus can configure DMA only to continously receive into a ring buffer.
There are buffer-complete interrupts after every so many bytes, but not related
to the actual received data content.

As an alternative to the timer, to avoid the latency it introduces, the driver
can generate/interpret RTS/CTS signals as frame sync signals with interrupts,
but these aren't always connected and usually not supported by the communication
partner.

Kolja






More information about the devel mailing list