Other Parts Discussed in Thread: CC2564, CC2564MODNEM, CC2564C
Hi,
In my application I use STM32F4Discovery board with CC2564 as master to connect to 7 SPP COM devices using the SPPLEDemo.
After reconfigure the parameter MAX_SUPPORTED_LINK_KEYS, MAX_LE_CONNECTIONS, MAX_SIMULTANEOUS_SPP_PORTS to 7 and adjust the buffer BTPS_MEMORY_BUFFER_SIZE to (105 * 1024) I am able to connect 6 devices and transfer data without problem. But when I try to connect the 7th device, the connection take a minute or so and then all other connections drop (disconnect) and the master hang, I have to reset it to make it normal again.
I check the log and see this
57211 17:19:52.649 +0:03:09.525 *** WARNING *** No OSA buffer available, pool id: 0 57212 17:19:52.649 +0:03:09.525 ERROR: Data Abort !!!, Link Register: 0x184e8 57213 17:19:52.649 +0:03:09.525 ERROR: Data Abort !!!, Link Register: 0xe10f0004
it seems like the problem is buffer not enough, but I already increase the buffer to BTPS_MEMORY_BUFFER_SIZE to (105 * 1024), I wonder if 7 connections simutaneously consume that much RAM? I attached the log file for your reference. Please help2564_20161110_1730.zip