I've been having some trouble getting a TRF-2.4G setup from laipac working. the receiver receives random junk but slowly and irregularly this is what I expect from 1 byte address 1 byte data and 1 byte CRC seeing static this is good. *however* when I transmit the receiver doesn't receive it and I cant work out why, I don't even know if the module is transmitting. I am pretty sure I am sending the configuration correctly and that the chips are working because I have had it working in direct mode and when I set either of them to receive mode I get the same behaviour. anybody have any thaughts on how i can tell if this thing is even transmitting? maximum on air time is 4ms tuneablle from 2.4 to 2.5ghz uses GFSK (Gaussian Frequency Shift Keying) over 8mhz i think I have a 20mhz oscillisope and a trade card at Jaycar. I have put the pair of them into direct mode and connected the RX clock to the TX clock then i belive i had radio happening via wire tapping on a pull up resistor. the code I am using is this note the SPI_xfer function transmits and receives at the same time. hence the "junk" variable spi_xfer(Transmitted_byte,Recieved_Byte) *************************code************************* config_radio -- call the config radio routine forever loop ce = on -- turn on CE delay_100us(10) -- wait spi_xfer(0xAA,junk) -- send via SPI ADDRess AA, and put recieved byte into junk spi_xfer("X",junk) -- send the ascii charicter X delay_100us(10) -- wait ce = off -- turn CE off delay_100us(100) -- wait loop procedure config_radio is var byte junk CS = on Delay_100us(100) spi_xfer(0x08,junk) -- 00001000 spi_xfer(0x08,junk) -- 00001000 spi_xfer(0x00,junk) -- 00000000 spi_xfer(0x00,junk) -- 00000000 spi_xfer(0x00,junk) -- 00000000 spi_xfer(0x00,junk) -- 00000000 spi_xfer(0x00,junk) -- 00000000 spi_xfer(0x00,junk) -- 00000000 spi_xfer(0x00,junk) -- 00000000 spi_xfer(0x00,junk) -- 00000000 spi_xfer(0x00,junk) -- 00000000 spi_xfer(0xAA,junk) -- 10101010 spi_xfer(0x21,junk) -- 00100001 spi_xfer(0x4F,junk) -- 01001111 spi_xfer(0x14,junk) -- 00010100 Delay_100us(100) CS = off end procedure _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist