HI,
We have developed our own board based on the application circuit and antenna layout provided in the CC110L datasheet and application note to be interfaced for Psoc board.
We have followed the same register settings provided in the example code, but still we are unable to transmit/receive over the air. However the basic SPI communication between Psoc board and CC110L board is perfectly.
Below is the example code provided by TI which is being used in our code.
/******************************************************************************
* FUNCTIONS
*/
// Sync word qualifier mode = 30/32 sync word bits detected
// CRC autoflush = false
// Channel spacing = 199.951172
// Data format = Normal mode
// Data rate = 1.19948
// RX filter BW = 58.035714
// PA ramping = false
// Preamble count = 4
// Address config = No address check
// Carrier frequency = 867.999939
// Device address = 0
// TX power = 0
// Manchester enable = false
// CRC enable = true
// Deviation = 5.157471
// Packet length mode = Variable packet length mode. Packet length configured by the first byte after sync word
// Packet length = 255
// Modulation format = GFSK
// Base frequency = 867.999939
// Modulated = true
// PA table
#define PA_TABLE {0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,}
static const registerSetting_t cc110LpreferredSettings[]=
{
{CC110L_IOCFG0, 0x06},
{CC110L_FIFOTHR, 0x47},
{CC110L_PKTCTRL0, 0x05},
{CC110L_FSCTRL1, 0x06},
{CC110L_FREQ2, 0x21},
{CC110L_FREQ1, 0x62},
{CC110L_FREQ0, 0x76},
{CC110L_MDMCFG4, 0xF5},
{CC110L_MDMCFG3, 0x83},
{CC110L_MDMCFG2, 0x13},
{CC110L_DEVIATN, 0x15},
{CC110L_MCSM0, 0x18},
{CC110L_FOCCFG, 0x16},
{CC110L_RESERVED_0X20, 0xFB},
{CC110L_FSCAL3, 0xE9},
{CC110L_FSCAL2, 0x2A},
{CC110L_FSCAL1, 0x00},
{CC110L_FSCAL0, 0x1F},
{CC110L_TEST2, 0x81},
{CC110L_TEST1, 0x35},
{CC110L_TEST0, 0x09},
};
Thanks
Vaishak