Hello Andrew, It looks like your post gave me some clue. I actually just started out to add CC1101 module on my Ras Pi. Since there is a generic SPI driver on my Ras Pi, do I have to create another SPI driver for CC1101 module? Or just as you said interface the C-code from 8051 to Linux? Could you give me some more details about how to interface CC1101 from 8051 to Linux?
Thanks! -George On Thursday, January 31, 2013 6:20:31 AM UTC-8, Andrew Bradford wrote: > > On Thu, 31 Jan 2013 04:54:15 -0800 (PST) > RL Budde <[email protected] <javascript:>> 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 > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
