This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPP Multiple Connections - STM32 MCU how to choose MCU Flash, Ram and calculate bandwidth, throughput?

Other Parts Discussed in Thread: CC2564, CC256XSTBTBLESW

Hi,

I am working on a project which need to implement Bluetooth point to multipoint connections based on CC2564 and MCU STM32.

We want to leverage the previous project which used STM32F3 serries and add the CC2564 to implement the multible Connections. So my questions are:

1. How to choose the right STM32 MCU for the such application like this? Is STM32F3 possible since TI has some demos on STM32F407 with 1 Mb of flash and 192 kb of RAM.

2. As I know, for a bluetooth stack , Master side, we need a device manager, bandwidth controller to control the devices, and throughput of each device, how these functions is controled in Bluetopia?

3. How to calculate bandwidth, throughput for 7 devices connect simutaneously to a master? And how to calculate the memory of MCU to have 7 devices connect to 1 master? let say each device has throughput 2~4kbps.

Thank you

Cheers,

Shrek1412

  • Hi,
    Your query has been assigned to the relevant POC that should get back to you.
    BR
    Eyal
  • Shrek,

    1. Please refer to the Memory Analysis report included in the CC256XSTBTBLESW under the documentation folder. This can assist you in deciding how much flash/RAM your application may need in order to select the MCU part.

    2. You can open multiple SPP ports (different RFCOMM channels) on the master for each of the SPP connection. You can maintain a database of every connected device in your application with the corresponding SPP port number/connection ID. Not sure what is the necessity of controlling the throughput of the devices?

    3. Not sure what you mean by calculating the bandwidth.

    Best regards,
    Vihang
  • Hi Vihang,

    Thank you for your prompt reply.

    3. Sorry for the poor explaination. I mean, if 7 devices connected concurrently to a master and with throughput for each device at least 4kbps, how much RAM, Flash i need for the master and slave? Is there any link or document I can check these info. Thanks

    Cheers,
    Shrek
  • Hi Shrek,

    The memory analysis for 7 SPP connections with a specific throughput requirement has not been characterized. Having said that, having 1 SPP connection vs 7 SPP connections will only change the number of TX/RX buffers you have at the application level. From the Bluetooth Stack's perspective, there will not be any major component added that would require significantly more flash or RAM.

    Best regards,
    Vihang
  • Hi Vihang,

    Ok, I got it. Thank you for your answer Vihang

    regards,
    Shrek