On Thu, 31 Jan 2013 04:54:15 -0800 (PST)
RL Budde <
rl.b...@googlemail.com> wrote:
> I am asking if anyone has experience with directly interfacing a
> RF-Transceiver such as CC101 to the Beglebone, without using a 8bit
> controller for the somewhat low-level tasks.
>
> I know
http://theredblacktree.wordpress.com/2012/08/09/rf24bb/ and
> other ressources, but can't get an idea if those are more like a
> proof of concept. For real applications, the CC1101 should be
> interfaced to:
> - SPI including automatic CS
> - an Interrupt
> - GPIO
>
> The configuration of the CC1101 takes some bytewise exchange of data,
> but after that it's more or less plain frame-download and send or
> frame uploading on interrupt...
CC1101 has 64 byte Tx and Rx FIFOs. As long as you send frames that
are smaller than that, interfacing directly from Linux shouldn't be an
issue. It's just like you said, SPI and GPIO. The data sheet's pretty
decent, too.
If you want to send or receive frames larger than 64 bytes, you'll need
to empty / fill the FIFOs when the interrupt comes stating that they're
close to being full / empty. This may be difficult depending on your
RF data rate (ie: at >200 kbps you get < 1 ms to react to FIFO
interrupts but at lower data rates there may be reasonable time to
react). Linux isn't the best at dealing with sub 1 ms actions, a
dedicated microcontroller or the PRUSS would be a better fit.
If TI / Chipcon made a CC1101 transceiver with 128 or 256 byte FIFOs,
that would be great but I don't think such a thing exists. TI /
Chipcon, if you're listening, make a CC1101 with 128 byte FIFOs! Please?
You can take a look at the CC1110 or CC430 which each have an embedded
microcontroller on the same die (CC1110 is 8051 I think, CC430 is
MSP430) and then interface either of those to Linux easily via SPI or
other interface.
-Andrew