I'm working with the CC4305137 and trying to get multiple End Devices to communicated sensor data to a Access point. The AP will use the data internally. I'm working in the 315mhz range.
I can get the 3 devices to connect to the AP. I have the "AP_AS_DATA_HUB" define set. So I can connect just fine, but when I try to send data from the 3 sensor boards only 1 board can transmit at a time. The other boards get a SMPL_TX_CCA_FAIL error.
I know it's possible to have mulitple end devices connected to the AP at once. I'm transmitting from the sensor boards about ~100ms.
I've changed the
mrfiRFPowerTable[] =
{
0xC0
};
and I changed the __mrfi_NUM_POWER_SETTINGS__ count to 1;
My SmartRF reg settings are as follows for all 3 boards. (not sure if it matters)
#define SMARTRF_SETTING_WORCTRL 0xFB
#define SMARTRF_SETTING_FSCTRL1 0x06
#define SMARTRF_SETTING_FSCTRL0 0x00
#define SMARTRF_SETTING_FREQ2 0x0C
#define SMARTRF_SETTING_FREQ1 0x1D
#define SMARTRF_SETTING_FREQ0 0x89
#define SMARTRF_SETTING_MDMCFG4 0xF5
#define SMARTRF_SETTING_MDMCFG3 0x83
#define SMARTRF_SETTING_MDMCFG2 0x13
#define SMARTRF_SETTING_MDMCFG1 0x22
#define SMARTRF_SETTING_MDMCFG0 0xF8
#define SMARTRF_SETTING_CHANNR 0x14
#define SMARTRF_SETTING_DEVIATN 0x15
#define SMARTRF_SETTING_FREND1 0xB6
#define SMARTRF_SETTING_FREND0 0x10
#define SMARTRF_SETTING_MCSM0 0x10
#define SMARTRF_SETTING_FOCCFG 0x16
#define SMARTRF_SETTING_BSCFG 0x1C
#define SMARTRF_SETTING_AGCCTRL2 0xC7
#define SMARTRF_SETTING_AGCCTRL1 0x00
#define SMARTRF_SETTING_AGCCTRL0 0xB0
#define SMARTRF_SETTING_FSCAL3 0xE9
#define SMARTRF_SETTING_FSCAL2 0x2A
#define SMARTRF_SETTING_FSCAL1 0x00
#define SMARTRF_SETTING_FSCAL0 0x1F
#define SMARTRF_SETTING_FSTEST 0x59
#define SMARTRF_SETTING_TEST2 0x81
#define SMARTRF_SETTING_TEST1 0x35
#define SMARTRF_SETTING_TEST0 0x09
#define SMARTRF_SETTING_FIFOTHR 0x47
#define SMARTRF_SETTING_IOCFG2 0x29
#define SMARTRF_SETTING_IOCFG0 0x06
#define SMARTRF_SETTING_PKTCTRL1 0x04
#define SMARTRF_SETTING_PKTCTRL0 0x05
#define SMARTRF_SETTING_ADDR 0x00
#define SMARTRF_SETTING_PKTLEN 0x40