Hi,
we are developing an application consisting on connecting one or more (up to seven) Bluetooth modules (based on CC2564B) with a smartphone or tablet with Android O.S.
Each bluetooth module (Sensor Unit) should transmit data at 64 kbps (at least) organized in packets of 256 bytes that are sent each 64 ms.
Data are sampled by two channels of the ADC12_A into the MSP430F5438A at 2 kHz.
At this time we are able to discover, connect and start sending data from one sensor unit to the server device (Samsung Galaxy Tab3) but the bluetooth device hangs up after the a period of time between few seconds to 2 or 3 minutes.....
After some days of investigation we can conclude that the cause of the problem is an UART overrun between CC2564B and MSP430.
Furthermore, it was observed that the system hangs up also id SPP_Data_Write() return a value less than the packet dimension (256 bytes).
No etPort_Buffer_Empty_Indication event occurs probably due the the uart overrun cited above.
How can I solve this problem? how can I reach the desired throughput withouth resetting the transmitting module?
Some other details are:
Bluetooth evaluation board used: CC256xQFNEM
MSP430F5438A evaluation board used: MSP-EXP430F5438
Server device used: Samsung Galaxy Tab3
UART buffer size: 1024 bytes (Input) 384 (Output)
Configuration parameters: 329 987 2303 as suggested in "CC256x MSP430 TI's Bluetooth Stack Basic SPPDemo APP Improving throughput v14" guide
baudrate: 115200 (higher baudrate correspond to worse performance)
Bluetopia stack: v1.5 R2
The application firmware side is based on the SPPLEDemo example included in the stack documentation.
Thanks in advance!