PCI DMA burst delay
Quoted 9 lines
Paul Fulghum <[email protected]> schrieb am 29.12.05 16:30:20:
Quoted 2 lines · Burkhard Schölpen
... in the (rarely) faulty case, the 2nd burst only starts after another delay of about 600ns, which is too late
Looking at the PCI 2.3 specification, arbitration latency on the order of a microsecond or two does not seem excessive for a 33MHz bus.
Okay, then I think I have to figure out, why I cannot get longer bursts than 512 Bits...does anybody have a clue how I can handle that?
Quoted 6 lines
Quoted 1 line
... I deactivated all other pci devices that could disturb the transfers?
Are you accessing registers on your device during the DMA transfers? If so, the CPU is acting as a PCI master that could delay granting the bus to your device.
No, I just made sure that not. There are no register accesses during dma transfer. The driver sends the application to sleep until an interrupt signals the completeness.
Kind regards,
Burkhard
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
Quoted 1 line · Burkhard Schölpen
why I cannot get longer bursts than 512 Bits...
What value is written by the system into the
PCI configuration space of your device for
the latency timer?
(8 bits at offset 0x0d, units = clock cycles)
You can try setting that value in your
driver to a higher value.
Signature · 2 lines
Paul Fulghum Microgate Systems, Ltd.