Re: interfacing a fast device with small buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

On 22:31 Sat 13 Dec     , Domen Puncer wrote:
> Hello!
> 
> This has been bugging me for some time now, so I thought I'd fish for
> ideas.
> 
> The device in question is a wireless transceiver with max rate 2 Mbit/s.
> It has 3 32-byte RX buffers, and all data and commands (except external
> interrupt and chip enable pins) is transferred through <=10 MHz SPI bus.
> 
> At max speed this makes receiving difficult, since there's >7000 packets
> per second (and using all three buffers still makes it necessary to have
> delay between transfers <0.4 ms).
> 
> The simple solution with irqs handled in workqueue missed packets, I
> guess it couldn't keep up; reasonable, since the delays are very small.

I do not know, if it helps, but it might be interesting for you:
http://mail.nl.linux.org/kernelnewbies/2008-06/msg00276.html
http://mail.nl.linux.org/kernelnewbies/2008-07/msg00004.html
	-Michi
-- 
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux