Re: Toggling GPIO at 38Khz

From: Bill Gatliff
Date: Wed Oct 08 2008 - 22:26:50 EST


Dave Hylands wrote:

> You could also do something similar if you have a SPI interface. Just
> set the clock to the right frequency and use the bits sent out to
> generate your pulses.

Good point. I have seen that very thing done before, albeit for something other
than IRDA. SPI is particularly nice for that, because you don't have to deal
with the start/stop bits imposed by UART protocols.


b.g.
--
Bill Gatliff
bgat@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/