Hi,
I'm continuing a discussion from another thread. I have been trying to achieve the 71KB/sec mentioned in the other discussion thread. I have received information about configuring the blutopia stack's transmit and receive buffer sizes as well as the queued and max packets and how those two relate to each other.
I currently have the following configuration for those variables:
TX Buffer Size: 4000
RX Buffer Size: 6000
Max Packet Size: 1000
Max Data Packets: 6
Queued Data Packets Threshold: 2
Essentially, I have an ADC that I need to transfer 28bytes at 2000 samples per second, or 56KB/sec. In the previous thread discussion, it was mentioned that internal testing of the Bluetopia stack achieved 71KB/sec. I have not been able to get past about 47KB/sec. It seems that the transmit buffer fills up exceedingly fast at this high data rate and causes the data transfer to slow down significantly.
I am using an interrupt driven system (no OS). I handle the full transmit buffer situation by putting the bytes SPP_Data_Write didn't send back into my buffer. I then continue to only buffer further data until the transmit buffer empty indication occurs. By this point though, my buffer is getting pretty full and it seems that SPP can't keep up at this data rate. I'm not sure what the next step is to get the data out faster. Any help would be great appreciated.
Thanks,
Eric
Previous Discussion for Reference: http://e2e.ti.com/support/low_power_rf/f/660/p/125308/484108.aspx#484108