Other Parts Discussed in Thread: CC2541, ADS1298
We are working on a project which we connected an ADS1298 to CC2541 using spi. We want to transfer data from spi to an output buffer and then send three 20byte packets using GATT_Notification. the signal is being sampled at 250hz from 8 channels.To send the data in real time, we need to transfer at least three packets every 12ms. At this rate, data transmission works for about 15 minutes after which the data throughput drops to almost a third and It starts losing lots of packages which it never recovers from. My guess is that there is a buffer overflow, because I occasionally get MSG_BUFFER_NOT_AVAIL return.
Is there any way to increase the throughput or recover the throughput if the buffer overflow happened.
Thank you