Part Number: CC2650MODA
Other Parts Discussed in Thread: CC2650, BLE-STACK
Hi,
In my project, I am supposed to transmit 500 samples per second sampled data through BLE of CC2650MODA. The 250 samples per second sampled data is transferred with no error. But when I increase the sampling frequency of ADC to 500 I am getting sample losses while transmitting through BLE. I am using simple_peripheral example.
The maximum buffer to store sampled data is 8000 bytes. I think the buffer is being overwritten causing sample losses because the samples from ADC get into the buffer before the previously collected samples are transmitted. So I need to transmit the 500 sampled data fast. What all settings can be modified to achieve this?
The BLE Stack configuration parameters are as follow,
MAX_NUM_PDU=10
MAX_PDU_SIZE=251
MAX_NUM_BLE_CONNS=1
DEFAULT_DISCOVERABLE_MODE=GAP_ADTYPE_FLAGS_GENERAL
DEFAULT_DESIRED_MIN_CONN_INTERVAL=10
DEFAULT_DESIRED_MAX_CONN_INTERVAL=15
DEFAULT_DESIRED_SLAVE_LATENCY= 0
DEFAULT_DESIRED_CONN_TIMEOUT=100
DEFAULT_CONN_PAUSE_PERIPHERAL=2