I've been attempting to use the PKTCTRL0 register to continuously send random data for examine the RF signal output from a CC1101EM 868/915 eval board.
I set the transmission to MSK data rate 250K base frequency 902mhz channel spacing to 200khz and channel 20. I then set PKTCTRL0 from 0x05 too 0x25
Then use the STX strobe.
I've tried many variations of this SO
"CODE"
// force radio to be idle response = mrfiSpiCmdStrobe(SIDLE);
// set the packet to random data
// get the contents of PKTCTRL0
response = mrfiSpiReadReg(PKTCTRL0);
// mask off packet format
response&= ~0x30;
// set packet format to RANDOM data for testing
response|= (2)<<4;
// turn on random data transmission!
mrfiSpiWriteReg(PKTCTRL0, response);
// start transmitting first
response = mrfiSpiCmdStrobe(STX);
"CODE"
1: Does data whitening have too be turned on?
2: Does LENGTH CONFIG need to change (currently variable length)
3: Does CRC enable need to be on or off?
I've looked at DN509 (doesn't mention how to use this mode) and the CC1101 data sheet merely mentions it no explanation given on how to use it. It appears what's going on is the random mode causes the unit to immediately go into idle mode (it returns 0x0A).
If anyone knows how to use this mode (which I am using for testing) I would appreciate a few hints and pointers to documentation on it.
I'll appreciate any assistance I can get on this.