Can I launch a DMA operation in DPC routine ?

>

You annoy me when you talk like this, Anton. It shows how little
real-world
experience you actually have.

So, we should NEVER buffer data in the driver then. Because, every
operation
by the user should be paired with one by the device? Wow, that’d make
the
keyboard driver pretty hard to use.

In fact, by your logic, we shouldn’t ever put a FIFO in a device.
There’s a
register that returns the data. If your driver can’t get it in time,
too bad?

The OP has control of both the driver-side and the app-side. There’s
absolutely no reason why the driver shouldn’t be changed to
accommodate what’s
pleasant, easy, and reasonable from the application.

It doesn’t hurt the design, and it doesn’t reduce the performance
(much).

There’s nothing wrong in that, and all kinds of right as far as I see.

Have we reached the point where this particular branch of this
discussion belongs on the other list? If not, I’m sure it will be
reached soon :slight_smile:

James