cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Combo

cblack-f3
New Contributor

We are looking for some information on rough memory footprint data on simultaneous BLE/WLAN examples - using the ST+Cypress part (LBEE5PA1LD).  Some things to note:

WLAN in STA or AP mode? (we would need both in the FW, but not simultaneously)
BLE peripheral
Are there some documents out there, or possibly examples we could use for a guestimate?  I did find N1-4945_Type1LD-AppNote_Memory_Usage.pdf appnote, which looks like it is the https_server example, but the footprint data isn't broken down to a level that is meaningful from the question "How much space does the WLAN host stack/driver and BLE (HCI) host stack/driver take up?

0 Likes
3 Replies
GauravS_31
Moderator
Moderator

You can compile the application and check the memory requirement for WLAN. I compiled snip.scan-BCM94343WWCD2 and this is the result:

----------------------------------|---------|---------|
| | Static |
Module | Flash | RAM |
----------------------------------+---------+---------|
App | 474 | 0 |
crc | 1060 | 0 |
Host MCU-family library | 15653 | 2691 |
Interrupt Vectors | 396 | 0 |
libc | 30501 | 3368 |
Networking | 786 | 10427 |
NetX-Duo - Interfaces & Stacks | 0 | 16 |
Other | 11514 | 39 |
Packet Buffers | 0 | 22470 |
platform | 1304 | 256 |
RAM Initialisation | 2644 | 0 |
resources | 429154 | 0 |
Ring_Buffer | 100 | 0 |
SPI_Flash_Library_BCM94343WWCD2 | 510 | 0 |
Startup Stack & Link Script fill | 14 | 4 |
ThreadX | 7640 | 400 |
TLV | 28 | 0 |
WICED | 5061 | 1128 |
Wiced_RO_FS | 566 | 0 |
WWD | 17126 | 3177 |
----------------------------------+---------+---------|
TOTAL (bytes) | 521887 | 43976 |
----------------------------------|---------|---------|

As seen, WWD driver occupies 17126 bytes flash and 3177 bytes RAM. Likewise, for AP mode, I tested snip.udp_transmit which uses AP interface and the WWD requires 17156 bytes flash and 3229 bytes RAM.

0 Likes
cblack-f3
New Contributor

What about BLE?  I was specifically looking for an example that used BLE+WiFi.

I suppose compiling each example individually might give a rough idea...?  Or, do I not see an example that uses both WiFi and BLE

0 Likes
BragadeeshV
Moderator
Moderator

We recommend a similar approach for finding the memory footprint of BLE application as well. Have you checked the ble_wifi_introducer that has both BLE and WIFI in the same application?

Check -> apps\demo\ble_wifi_introducer

Regards,
Bragadeesh
0 Likes