Hello TI Forum,
I try to send and receive data with two of the follwing settings:
CC1200em, TM4C129EXL (Code Composer Studio)
I found register settings from SmartRF Studio "50kbps, 2-GFSK, IEEE 802.15.4g compilant..."
They sould be exactly what I need.
With those settings I choose variable packet lenght what means that if I want to send six bytes of data that I just have to write to the TX FIFO
0x06, DataByte1, DataByte2, DataByte3, DataByte4, DataByte5, DataByte6, right?
When I run the programm the internal state changes to TX after sending the STX strobe but after a short time it changes to FIFO Error. Is there a mistake in my settings?
Another Problem is that the frequency of the Transmission is arround 770MHz instead of the excepted 868MHz
regards
Martin
Here are the settings:
uint32_t regset[]=
{0x06, // IOCFG3
0x06, // IOCFG2
0x30, // IOCFG1
0x3C, // IOCFG0
0x6F, // SYNC3
0x4E, // SYNC2
0x90, // SYNC1
0x4E, // SYNC0
0xE5, // SYNC_CFG1
0x23, // SYNC_CFG0
0x47, // DEVIATION_M
0x0B, // MODCFG_DEV_E
0x56, // DCFILT_CFG
0x14, // PREAMBLE_CFG1
0xBA, // PREAMBLE_CFG0
0xC8, // IQIC
0x84, // CHAN_BW
0x42, // MDMCFG1
0x05, // MDMCFG0
0x94, // SYMBOL_RATE2
0x7A, // SYMBOL_RATE1
0xE1, // SYMBOL_RATE0
0x27, // AGC_REF
0xF1, // AGC_CS_THR
0x00, // AGC_GAIN_ADJUST
0xB1, // AGC_CFG3
0x20, // AGC_CFG2
0x11, // AGC_CFG1
0x90, // AGC_CFG0
0x00, // FIFO_CFG
0x00, // DEV_ADDR
0x0B, // SETTLIN_CFG
0x12, // FS_CFG
0x08, // WOR_CFG1
0x21, // WOR_CFG0
0x00, // WOR_EVENT0_MSB
0x00, // WOR_EVENT0_LSB
0x00, // RXDCM_TIME
0x24, // PKT_CFG2
0x03, // PKT_CFG1
0x20, // PKT_CFG0
0x0F, // RFEND_CFG1
0x00, // RFEND_CFG0
0x7F, // PA_CFG1
0x56, // PA_CFG0
0x0F, // ASK_CFG
0xFF}; // PKT_LEN
uint32_t regset_ext[]=
{0x18, // IF_MIX_CFG
0x20, // FREQOFF_CFG
0x03, // TOC_CFG
0x00, // MARC_SPARE
0x00, // ECG_CFG
0x02, // MDMCFG2
0x01, // EXT_CTRL
0x00, // RCCAL_FINE
0x00, // RCCAL_COARSE
0x00, // RCCAL_OFFSET
0x00, // FREQOFF1
0x00, // FREQOFF0
0x56, // FREQ2
0xCC, // FREQ1
0xCC, // FREQ0
0x02, // IF_ADC2
0xEE, // IF_ADC1
0x10, // IF_ADC0
0x04, // FS_DIG1
0x50, // FS_DIG0
0x00, // FS_CAL3
0x20, // FS_CAL2
0x40, // FS_CAL1
0x0E, // FS_CAL0
0x28, // FS_CHP
0x03, // FS_DIVTWO
0x00, // FS_DSM1
0x33, // FS_DSM0
0xF7, // FS_DVC1
0x0F, // FS_DVC0
0x00, // FS_LBI
0x00, // FS_PFD
0x6E, // FS_PRE
0x1C, // FS_REG_DIV_CML
0xAC, // FS_SPARE
0x14, // FSVCO4
0x00, // FSVCO3
0x00, // FSVCO2
0x00, // FSVCO1
0xB5, // FS_VCO0
0x00, // GBIAS6
0x02, // GBIAS5
0x00, // GBIAS4
0x00, // GBIAS3
0x10, // GBIAS2
0x00, // GBIAS1
0x00, // GBIAS6
0x05, // IFAMP
0x01, // LNA
0x01, // RXMIX
0x0E, // XOSC5
0xA0, // XOSC4
0x03, // XOSC3
0x04, // XOSC2
0x03}; // XOSC1